-
Notifications
You must be signed in to change notification settings - Fork 1
skill+research+backlog: claude-code-env-mapping skill with carved-sentences + saved env-mapping doc + B-0206 (Aaron 2026-05-05) #1702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
AceHack
merged 49 commits into
main
from
backlog/claude-code-env-mapping-skill-with-carved-sentences-references-ts-files-aaron-2026-05-05
May 6, 2026
Merged
Changes from 11 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
59458ac
skill+research+backlog: claude-code-env-mapping skill with carved-sen…
AceHack ab73198
fix(skill/claude-code-env-mapping): point at actual saved-doc filenam…
AceHack 3ce7a69
plan(session-landing): cold-boot read order without losing the plot +…
AceHack 2bf716f
rules(cascade): seven-rule prior-art-search cascade + Rule 7 bullet-t…
AceHack 015a4a8
rules(cascade): cite canonical lost-files substrate (tools/hygiene/LO…
AceHack 10f8338
research(architecture): burn-down CLAUDE.md/AGENTS.md + start over wi…
AceHack 4827333
tools(hygiene): audit-lost-files.sh -- executable form of LOST-FILES-…
AceHack d85ccc9
tools(hygiene): audit-trajectories.sh + audit-backlog-items.sh + exte…
AceHack 67efa70
research(architecture): Codex/GPT-5.5 + Gemini + Grok scout-roundup o…
AceHack 0b29a1f
rules(rule-0): "no more .sh files except install-graph; TS IS cross-p…
AceHack bc16593
fix(claude.md/rule-0): correct attribution -- "sh is for install grap…
AceHack 069841b
agents(parallel-dispatch-batch): cascade consolidation + role-ref scr…
AceHack 0dcb805
agents(parallel-dispatch-batch-2): TS-port phase 2 (audit-backlog-ite…
AceHack 21a6f05
agents(parallel-dispatch-batch-3): reciprocal composes_with backfill …
AceHack 941ba26
agents(parallel-dispatch): substantive-thread-fix agent staging on .c…
AceHack 43ed248
agents(parallel-dispatch): substantive-thread-fix progress -- B-0206 …
AceHack 3097e90
agents(parallel-dispatch): substantive-thread-fix iteration 3 -- audi…
AceHack c5e16b7
agents(parallel-dispatch): substantive-thread-fix iteration 4 -- audi…
AceHack e8d7a3a
agents(parallel-dispatch): substantive-thread-fix iteration 5 (audit-…
AceHack 9ef0c81
agents(parallel-dispatch): substantive-thread-fix iteration 6 -- docs…
AceHack 7a95928
agents(parallel-dispatch): substantive-thread-fix iteration 7 -- LOST…
AceHack 3c88635
rules(backlog-gate): proof-of-prior-art-search + dependency-restructu…
AceHack 2a5970f
agents(audit-completion): Otto-261 git-native backup audit landed at …
AceHack ec10446
memory(CURRENT-aaron): add §53 -- 2026-05-05 evening failure-cascade …
AceHack 006bea6
memory(CURRENT-vera): welcome Vera to the named-entity registry -- Co…
AceHack 3baefe8
peer-call(codex): auto-bootstrap CURRENT-vera.md on every call (Vera'…
AceHack e51d950
cold-start(named-entity-index): enumerate all 5 named entities (Aaron…
AceHack b7e9e7d
agents(canary-batch-complete): Class-2 PR mirror v1 -- 52 PR archives…
AceHack 1011258
agents(12-thread-fix): audit-lost-files.ts -- Codex review fixes (--s…
AceHack 83b6c1c
backlog(B-0207): bun v1.3.14 segfault on bracketed-paste of large mes…
AceHack a3df09b
memory(CURRENT-vera): §2 role-expansions accepted 2026-05-05 evening …
AceHack 80affc3
hygiene(LOST-FILES-LOCATIONS): add class #16 -- stale background shel…
AceHack 4b98ac6
substrate(promotion-ledger): authored JSONL transition-log + generate…
AceHack cd73be5
agents(pr-1702 narrow + promotion-ledger transition): 5 substantive t…
AceHack 8a593c5
memory(user-aaron): preserve ex-girlfriend Dark Side prism tattoo + L…
AceHack 8e34603
memory(CURRENT-vera): splice new carved sentence per Vera tick N+5 of…
AceHack 82a576e
memory(CURRENT-riven): welcome Riven to the named-entity registry -- …
AceHack 1cf58ee
peer-call(riven): bring Riven to symmetry with Vera/Amara/Ani -- rive…
AceHack 4a6eda5
backlog(broken-edges): fix 2 broken composes_with B-0094 references i…
AceHack 7637d00
memory(user-aaron): preserve Edge-Runner's Blessing (Amara/Aaron 2025…
AceHack 0d85065
peer-call(codex/vera-firewall): wire input-validation gate per Vera's…
AceHack 33b8150
peer-call(codex.ts): TS-port + Vera firewall + capture-pagination fix…
AceHack cd5881a
peer-call(amara/ani/grok/riven .ts): TS-port Phase 2 -- 4 wrappers po…
AceHack 27000a1
fix(poll-pr-gate): manual graphql pagination -- gh --paginate concate…
AceHack 99afbd9
memory(otto-vera-riven-triad-cain): full-record substrate -- outcomes…
AceHack 39eb347
substrate(cain-memory + audit + .sh-to-ts pointer fixes): Phase-3-fol…
AceHack 6754139
revert: Otto's CURRENT-* edits this session were out-of-scope -- enti…
AceHack d2d81d8
orchestrator(cage-bootstrap): otto-state.json + validator + templates…
AceHack d0f8b5b
peer-call(gemini): --output-file flag + tee capture + OUTPUT-FILE mar…
AceHack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| --- | ||
| name: claude-code-env-mapping | ||
| description: Capability skill ("hat") — Claude Code harness-environment knowledge as carved-sentences-in-behavior. Thin pointer to the canonical capability map (docs/research/claude-cli-capability-map.md) + Zeta-specific extensions (.claude/commands/btw.md, .claude/skills/, .claude/agents/, .claude/hooks/). Wear this when needing to know what is available in the Claude Code environment, when invoking a slash command, when authoring or invoking a skill, when configuring hooks, when delegating to peer-call infrastructure, or when prior-art-grep needs to reach for env-knowledge before claiming something does not exist. Encodes the search-first-authority + synthesis-weight + prior-art-grep-first discipline (PR #1701) at the env-knowledge layer. Defers to skill-creator workflow (GOVERNANCE §4) for skill-authoring; to .claude/commands/<name>.md for custom-command-authoring; to docs/research/claude-cli-capability-map.md for canonical CLI capability content (refreshed on cadence per change-rate). | ||
| --- | ||
|
AceHack marked this conversation as resolved.
|
||
|
|
||
| # Claude Code Environment Mapping — Carved Sentences | ||
|
|
||
| Capability skill. No persona lives here. Thin pointer; not a duplicate of the canonical capability map. | ||
|
|
||
|
AceHack marked this conversation as resolved.
Outdated
AceHack marked this conversation as resolved.
Outdated
|
||
| ## The canonical map | ||
|
|
||
| The authoritative env-mapping is `docs/research/claude-cli-capability-map.md`. Refresh-on-cadence applies — Anthropic ships docs at high frequency. Current version-pin and revision date live in that doc's frontmatter. | ||
|
AceHack marked this conversation as resolved.
Outdated
|
||
|
|
||
| Cross-harness peer-call companions in `docs/research/`: | ||
|
|
||
| - `claude-cli-capability-map.md` — Claude Code (canonical for the harness this skill runs in) | ||
| - `codex-cli-first-class-2026-04-23.md` — OpenAI Codex | ||
| - `grok-cli-capability-map.md` — Grok via cursor-agent | ||
| - `gemini-cli-capability-map.md` — Gemini | ||
|
AceHack marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Zeta-specific extensions | ||
|
|
||
| Substrate beyond the upstream-canonical map: | ||
|
|
||
| **`/btw` extension** at `.claude/commands/btw.md`. The built-in `/btw` is single-response-no-tools-no-followups (March 2026 release; consult capability map for current behavior). The Zeta extension adds verbatim-preservation + classification (context-add / framing-queued / etc.) + durability-escalation rules (TodoWrite → .btw-queue.md → BACKLOG.md → memory/*.md). Backlog rows B-0019 + B-0020 cover the git-native durability gap and harness-integration scope. | ||
|
|
||
| **Custom commands** at `.claude/commands/<name>.md`. Existing: `btw.md`, `opsx/{explore,archive,apply,propose}.md`. | ||
|
AceHack marked this conversation as resolved.
Outdated
|
||
|
|
||
| **Custom skills** at `.claude/skills/<name>/SKILL.md`. Authored via skill-creator workflow per GOVERNANCE §4. | ||
|
|
||
| **Persona agents** at `.claude/agents/<name>.md` carry the persona ("who"); skills carry the capability ("how"). | ||
|
|
||
| **Hooks** at `.claude/hooks/`. Existing: `verify-branch-pretooluse.ts` (PreToolUse). DST justifies TS-over-bash; harness hooks suffice; no git hooks per `memory/feedback_dst_justifies_ts_quality_over_bash_and_harness_hooks_suffice_no_git_hooks_aaron_2026_05_03.md`. | ||
|
|
||
| **Settings** at `.claude/settings.json` — defines enabled plugins. | ||
|
|
||
| **Peer-call infrastructure** at `tools/peer-call/` (PR #1677): cross-harness invocation scripts. Default-yes-self-carry vs scout-and-delegate per PR #1701. | ||
|
|
||
| ## The carved-sentence operational rules | ||
|
|
||
| **Search-first-authority** (Otto-364 + PR #1701): before claiming something does not exist in the env, grep `.claude/` + `docs/` + `tools/` + `memory/` first. WebSearch upstream documentation second. Ask the maintainer last. | ||
|
AceHack marked this conversation as resolved.
Outdated
|
||
|
|
||
| **Prior-art-grep-FIRST-before-substrate-landing** (PR #1701): when about to write a memory file or research file or skill, grep `memory/` + `docs/amara-full-conversation/` + `docs/backlog/` + `docs/research/` first. Surface duplications BEFORE landing. The capability map IS prior-art for env-mapping work. | ||
|
|
||
| **Substrate-or-it-didn't-happen at promise-keeping scope** (PR #1701): ephemeral shards cannot keep promises across compactions. Substrate or it did not happen. | ||
|
|
||
| **Scout-and-delegate to right pitcher**: peer-call infrastructure available. Big-context tasks delegate via `tools/peer-call/codex.ts`; the agent preserves own context for plot-keeping. | ||
|
|
||
|
AceHack marked this conversation as resolved.
|
||
| **Verbatim preservation through the maintainer's channel** (memory/feedback_aaron_channel_verbatim_preservation_anything_through_this_channel_2026_04_29.md): anything coming through the maintainer-channel records close to verbatim. Paraphrasing loses signal. | ||
|
AceHack marked this conversation as resolved.
Outdated
|
||
|
|
||
| **Refresh-on-cadence per doc change-rate**: capability maps for time-sensitive upstream tooling refresh on a cadence calibrated to observed change-rate. Different docs warrant different cadences. | ||
|
|
||
| ## Operational triggers | ||
|
|
||
| Wear this skill when: | ||
|
|
||
| - About to claim a Claude Code feature exists or does not exist (search-first per Otto-364) | ||
| - Authoring a custom command or custom skill (use the right path + workflow) | ||
| - Invoking peer-call infrastructure (right pitcher + capability map) | ||
| - Configuring hooks (harness hooks suffice; no git hooks) | ||
| - Cold-boot: read this skill alongside CLAUDE.md and the canonical capability map | ||
|
|
||
| ## Defers to | ||
|
|
||
| - **`docs/research/claude-cli-capability-map.md`** — canonical CLI surface (this skill is a pointer, not a duplicate) | ||
| - **skill-creator workflow** (GOVERNANCE §4) for new skill authoring | ||
| - **`.claude/commands/<name>.md`** authoring pattern for new custom commands | ||
| - **The capability-map cluster** (claude-cli + codex-cli + grok-cli + gemini-cli capability-maps) for cross-harness specifics | ||
| - **`memory/feedback_otto_holds_synthesis_weight_prior_art_grep_first_before_substrate_landing_aaron_made_concise_formulations_at_high_mental_cost_aaron_2026_05_05.md`** (PR #1701) for the synthesis-weight + prior-art-grep + scout-and-delegate discipline this skill encodes at env-layer | ||
| - **`memory/feedback_aaron_channel_verbatim_preservation_anything_through_this_channel_2026_04_29.md`** for verbatim-preservation discipline | ||
| - **B-0019 + B-0020** (P3 backlog) for /btw git-native durability gap and harness-integration scope | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.