Repository navigation
#146 docs: curate COMMANDS.md, SKILLS.md, ENVIRONMENT.md under budget - #147
Merged
Merged
Conversation
Exact counts, budget 10000 per doc: - COMMANDS.md 10378 -> 9505 - SKILLS.md 10059 -> 8959 - ENVIRONMENT.md 10014 -> 9298 Destinations: POLITENESS.md 6943 -> 7944, SOCRATICODE.md 4447 -> 5662, DEPLOYMENT.md 7570 -> 8550. AGENTS.md unchanged (5991). Relocated, verbatim (prove-no-loss --claims: lost 0 on all seven docs): - COMMANDS.md "### Politeness — content.fetch-policy (#19)": the stream reads, the journal greps and the four paragraphs reading them (~1000 tokens) -> POLITENESS.md "### Inspecting the stream", directly above "### Reading the apply log", which already opened by pointing back at them. The heading stays in COMMANDS.md as a pointer; the handler-hold greps (broker#20) stay under it, since they are not politeness. - SKILLS.md "The SocratiCode plugin is installed..." and "The health hook used to lie..." paragraphs, plus "### After an init-socraticode re-run" (~1210 tokens) -> SOCRATICODE.md "## Repo-specific notes", as "### The plugin and its hooks" and the re-run subsection. SKILLS.md keeps a pointer. - ENVIRONMENT.md bullets REPLICATOR_REDIS_FLOOR_TIMEOUT, REPLICATOR_REDIS_FLOOR_WAIT, REPLICATOR_ALLOW_ANY_CHECKOUT (~915 tokens) -> DEPLOYMENT.md "## Environment Variables", beside the guards they set: the same pattern as STORAGE.md, POLITENESS.md and FAILURE-NOTIFICATION.md. ENVIRONMENT.md keeps a pointer bullet and its preamble names the new home. Rewritten (judged in .skills/context-loss-ok / context-claims-ok): - retarget: POLITENESS.md's "Of the journal greps" lead-in, the moved block's "Why:" link, the moved plugin paragraph's "are in SOCRATICODE.md", the ENVIRONMENT.md preamble's list of homes, and tailscale.md's FLOOR_WAIT link. - rename: "### The patching gate's in-flight count (#131)" drops its provenance suffix, as the seams ack asked of the next COMMANDS.md edit; the number moves into a lead-in line. No deletions. Seams 0 (default sweep and --file on each curated doc), counts introduced 0. Manifest descriptions updated for the four docs whose content changed; codebase_update follows the merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…LLS.md 10059 -> 8959, ENVIRONMENT.md 10014 -> 9298) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hold greps a heading Fresh-eyes review of the curation: - DEPLOYMENT.md / ENVIRONMENT.md: "beside the guards they set" was false for the Redis floor check, which DEPLOYMENT.md does not describe. The lead-in now says the variables sit with the unit they gate, points at INFRASTRUCTURE.md for the floor itself, and no longer reads as contradicting "Every variable ... ENVIRONMENT.md" just above it (they stay indexed there by name). - COMMANDS.md: the handler-hold greps sat under the Politeness pointer heading once its body moved; they get "### How long a handler holds its group". - Manifest: the health hook's two past lies were not both "a healthy index reported falsely" (skills#180 reported a healthy one as not ready). - .skills/context-seams-ok: the #140 entry for ENVIRONMENT.md's ALLOW_ANY_CHECKOUT line matched nothing once the line moved into DEPLOYMENT.md, where its link is same-doc; dropped with a note. COMMANDS.md 9505 -> 9516, ENVIRONMENT.md 9298 -> 9299, DEPLOYMENT.md 8550 -> 8628. lost 0, seams 0, counts introduced 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he corrected tree (9505 -> 9516, 9298 -> 9299) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… keeps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…TICODE.md, where its pin now lives Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…9516 -> 9521) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 19, 2026
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.
Closes #146.
All three over-budget reference docs are under the 10,000-token per-doc budget (exact
count_tokens). Sections were moved verbatim to the doc that owns the behaviour they describe, and each old location keeps a pointer. Nothing was deleted.docs/COMMANDS.mddocs/SKILLS.mddocs/ENVIRONMENT.mddocs/POLITENESS.md(destination)docs/SOCRATICODE.md(destination)docs/DEPLOYMENT.md(destination)AGENTS.mdDisposition
### Politeness — content.fetch-policy (#19): rcli reads, journal greps, and the four paragraphs that read them### Inspecting the stream, directly above### Reading the apply log, which already opened by pointing back at these greps. #136 had already put a politeness grep in POLITENESS.md under budget pressure, and this follows the same direction. The heading stays in COMMANDS.md as a pointer.### How long a handler holds its groupheading.## Repo-specific notes→### The plugin and its hooks(below the generated END marker, so a re-run keeps it). SKILLS.md keeps a pointer.### After an init-socraticode re-run## Repo-specific notesat the same###depth.REPLICATOR_REDIS_FLOOR_TIMEOUT,REPLICATOR_REDIS_FLOOR_WAIT,REPLICATOR_ALLOW_ANY_CHECKOUT## Environment Variables, next to the unit they gate. This is the same pattern STORAGE.md, POLITENESS.md and FAILURE-NOTIFICATION.md already follow. ENVIRONMENT.md keeps a pointer bullet that names all three, and its preamble lists the new location.Rewritten lines (judged in
.skills/context-loss-ok/context-claims-ok)docs/reference/tailscale.mdnow linksREPLICATOR_REDIS_FLOOR_WAITto DEPLOYMENT.md instead of ENVIRONMENT.md.### The patching gate's in-flight count (#131)loses its provenance suffix. A seams ack had asked for this with the next COMMANDS.md edit.#131moves into a lead-in line.Gates
--claims, basebeda65d, on all seven touched docs: lost 0, claims dropped 0. Every rewrite is warranted.--fileon each curated doc. New acks are for back-references to content that did not move. One Catch up co-core 0.19.6 → 0.36.0 ahead of the generation release #140 ack stopped matching once its line moved, and was dropped with a note.#two-launch-paths…) is acked asstable.dead,dead_anchors,orphansorunindexed..skills/doc-sectionsroutesSOCRATICODE_SPECto SOCRATICODE.md. Full suite re-run green.CR 1commit..skills/context-metrics.jsonl.Left as is (reviewer's low findings; all verbatim-moved text that is still correct)
ALLOW_ANY_CHECKOUTbullet links its own doc by filename. It resolves.### Reading the apply logjust below it. The repeat is not verbatim, so it has no deletion warrant.After merge
codebase_update. The manifest descriptions for POLITENESS.md, DEPLOYMENT.md, ENVIRONMENT.md and SOCRATICODE.md changed, and nothing re-embeds them otherwise.Near-budget docs (the issue's "then decide")
These are still near-budget:
content-replicate-issuer-contract.md9893,content-fetch-outcome-reference.md9840,CONVENTIONS.md9745,replicator-boundaries.md9726,content-fetch-issuer-contract.md9723,COMMANDS.md9521,ENVIRONMENT.md9299 andSTREAMS.md9285.Recommendation: split each one before its next growing edit, not pre-emptively. The four contract docs have 100–280 tokens of headroom, so any substantive edit will cross the budget. #144 already has to split
replicator-boundaries.md. COMMANDS.md's next candidate is the broker-ACL narrative under "Inspecting the consume path" (~1400 tokens). It has no home with room today: INFRASTRUCTURE.md would land at ~9970.🤖 Generated with Claude Code