Repository navigation
Gap ledger wave 1: route Workflow-child hooks outside project agent frontmatter; correct the TMPDIR and advisor rows - #1146
Merged
seathatflowsinourveins merged 1 commit intoOct 15, 2026
Conversation
This was referenced Oct 15, 2026
…rontmatter; correct the TMPDIR and advisor rows From the practice gap ledger of 2026-10-15 (shards A4 and C1, re-check by the co-op's Codex lane where done): - loops-completion (A4-0079): the notes told a Workflow child to carry its Stop hook in the agent's frontmatter. At 2.1.300 a project .claude/agents file's frontmatter hooks are skipped until that folder itself is trusted; a parent's trust and a -p session do not count (sub-agents.md:757; the rule dates from 2.1.218). The row now routes those hooks through a user-scope ~/.claude/agents definition or --agents. - claude:env:CLAUDE_CODE_TMPDIR: the 2026-10-04 row said "off on both hosts"; the command center applied /var/tmp/claude-tmp on 2604 on 2026-10-10T05:48Z (the /tmp tmpfs filled). The row becomes enabled at host scope; the template is unchanged. - claude:setting:advisorModel: 2604 reads fable since a 2026-10-06T21:28Z to 10-07T00:33Z window with no recorded actor, against the 10-04 rule (fable only when truly needed). The row records the observation and keeps opus; the command center has asked the owner, and the overturn names both outcomes. tests/test_native_practice_ledger_rows_1.py: three tests, each failed before this commit; native-practice modules 103 OK; validate rc 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
seathatflowsinourveins
force-pushed
the
claude/cc-native-practice-ledger-rows-1-20261015
branch
from
October 15, 2026 13:20
b772073 to
e162566
Compare
seathatflowsinourveins
deleted the
claude/cc-native-practice-ledger-rows-1-20261015
branch
October 15, 2026 14:38
5 tasks done
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Scope
CLAUDE_CODE_TMPDIRandadvisorModelrows are corrected.0f4ee075blane:foundation.claude/skills/claude-native-practice/reference/slots.jsonandworkers.md;catalogs/foundation/upstream-surface-dispositions.json(two rows);tests/test_native_practice_ledger_rows_1.py(new);manifests/evidence.json.loops-completion).claude/agentsfile's frontmatter hooks are skipped until that folder itself is trusted. A parent's trust does not count, and neither does a-psession, so a Workflow or-pchild would run without its gate. The row now routes those hooks through a user-scope~/.claude/agentsdefinition or--agents.claude:env:CLAUDE_CODE_TMPDIR/var/tmp/claude-tmpon 2604 on 2026-10-10T05:48Z, after the shared/tmptmpfs filled. The row becomesenabledat host scope; the template is unchanged.claude:setting:advisorModelfablesince a window from 2026-10-06T21:28Z to 10-07T00:33Z, with no recorded actor. That goes against the 10-04 rule of fable only when truly needed. The row records the observation and keepsopus. The command center has asked the owner, and the overturn names both outcomes.SOTA sources
a0c1d6fb…265f, client 2.1.300). It says: "Until you trust the folder, the subagent still runs, but Claude Code skips its frontmatter hooks … trusting a parent folder isn't enough, and a-psession doesn't count as trusted." Line 755 says hooks from~/.claude/agents/definitions and from--agentsrun without this step.a01ddb9f…) and C1 (938f1528…), in the cc-native-practice lane's records, and snapshot27a3ae50….Evidence-class table
-psource_reviewnative_proven(the command center's host change)9453456c…fablesince the 10-06 windownative_provenLocal commands run
Follow-ups
CC FULL at b772073 (PASS; bound to the next practice-rows PR):
slots.json:1296: the background-workflows row still gives Workflow stages a Stop hook in the stage agent's frontmatter, with no routing, in the slot scoped to headless-pruns. The Scope claim holds for loops-completion only.claude-native-slot-manifest.json:57: the list of slots whose notes differ omits loops-completion (its notes now cite 2026-10-15), and background-workflows was already missing. No test reads the list.upstream-surface-dispositions.json:529: the row went stale rather than being wrong. By the timeline, the value was applied 2026-10-10.tests/test_native_practice_ledger_rows_1.py:32-33, :42-43: the fail-first asserts copy the new row strings, and "template unchanged" is not checked against the template.tests.test_native_practice_*is not a shell glob that matches a file. The head has 6 such modules, andtests/test_upstream_surface_watch.pyis not shown run.GPT full1 P3 (
full1-pr1146/GPT-VERDICT-b77207340.md): the inherited documentation status atworkers.md:97is out of date, including theonFailurestatement, which is unchanged from the merge base.GPT full1 P3: the cited page does not establish every Workflow and teammate clause.
GPT full1 P3 (one step wider): project definitions can shadow the proposed user-scope definition.
Checklist
🤖 Generated with Claude Code