Repository navigation
Slice 033: Project context: AGENTS.md - #42
Merged
Merged
Conversation
… the slice opens ROADMAP row 033 to in_progress. NOTES.md measures this tree's own CLAUDE.md at 2,849 tokens, sets the AGENTS.md cap at 16,384 bytes and raises the context tier's budget from 300 to 5,800 tokens so the cap binds first; the six-line build plan, the empty manual queue, two deviations stated before any code. plan_check: PASS. Signed-off-by: Ayla Croft <aylacroft@proton.me>
… context tier fed every turn sessions.project_root with Sessions.set_project_root/2; the tools' cwd follows it. Trinity.Context.AgentsMd discovers every AGENTS.md from the root to the working directory, outermost first, caps the total at 16,384 bytes keeping the nearest whole and stating every cut, and renders each inside an untrusted block with its digest. The Session reads it every turn into the prompt's context tier, whose budget rises to 5,800 tokens. Fixtures: plain, nested, hostile. Six tests: AC1, AC2 twice, the root setter and the allowlist, live reload, AC3. Signed-off-by: Ayla Croft <aylacroft@proton.me>
… built Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
PROOF.md with every criterion's evidence by test name against run 35551683298 (gate, postgres and fips green). NOTES.md: five findings, three follow-ups. ROADMAP row 033 to done; coverage.tsv row 78.50 %. Signed-off-by: Ayla Croft <aylacroft@proton.me>
Signed-off-by: Ayla Croft <aylacroft@proton.me>
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.
The session's project root as a setting (a column,
Sessions.set_project_root/2, a field in the chat's bar) that the tools' working directory follows.Trinity.Context.AgentsMdreads everyAGENTS.mdfrom the root to the working directory, outermost first, caps the total at 16,384 bytes keeping the nearest file whole and stating every cut, and renders each inside an untrusted block with its digest into the prompt's context tier, read every turn (live reload). The context tier's budget rises from 300 to 5,800 tokens on measurement (this tree's own CLAUDE.md is 2,849). AC3: a file that says approvals are off changes nothing at the gate, proven end to end with a hostile fixture.PROOF.md at
slices/033-project-context-agents-md/PROOF.md.Signed-off-by: Ayla Croft aylacroft@proton.me