Skip to content

docs: converge repo context for AI agents (audit-driven tidy) - #358

Merged
trefeon merged 2 commits into
mainfrom
docs/repo-tidy-convergence
Sep 5, 2026
Merged

docs: converge repo context for AI agents (audit-driven tidy)#358
trefeon merged 2 commits into
mainfrom
docs/repo-tidy-convergence

Conversation

@trefeon

@trefeon trefeon commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Audit-driven convergence of the repo's documentation systems (4 parallel scouts reviewed every file against live code ground truth). No behavior changes; 37 deleted lines are duplications with content preserved at the canonical home.

Merged parallel WIP (reviewed, factual errors fixed): docs/decisions (ADR-0001..0015), docs/architecture (5), docs/{api,development,maintenance,operations,security,testing,upstream}, archtest gate, 21 package CONTRACT.md, 2 additive test files.

Fixes applied: modelcat fallback id; cli egress dep; registry test-only edge; telemetry/ratelimit API sections; ADR-0004 bridge-store demoted to #348 future work; ADR-0010 protected-trunk flow; ADR-0006/0011 symbols + snapshot count; BOUNDARIES matrix deduped; INVARIANTS precedence + PROTO-006/UP-005/TOKEN-006; AGENTS.md trim + current ground truth; Taskfile verify gates.

Verification: task verify green locally; secret scan clean; backend suite green on this tree.

- Merge parallel-session docs WIP after quality review: docs/decisions
  (ADR-0001..0015 incl. 3 new: TTFB-only timeout, atomic RPM admit,
  plural tool_calls dialect), docs/architecture (5), docs/{api,
  development,maintenance,operations,security,testing,upstream},
  backend/internal/archtest (dependency-matrix gate), 21 package
  CONTRACT.md, 2 additive test files.
- Fix review findings: modelcat fallback id, cli egress dep, registry
  test-only edge, telemetry/ratelimit API sections; ADR-0004 bridge
  store demoted to future work (#348); ADR-0010 PR-flow; ADR-0006/0011
  symbol names + snapshot count; BOUNDARIES matrix deduped to
  DEPENDENCIES; INVARIANTS gains precedence + 3 IDs (PROTO-006,
  UP-005, TOKEN-006).
- AGENTS.md: entrypoint trim (convert/server maps to one-liners),
  protected-trunk workflow, canonical task verify, current ground
  truth (turn_spend terminal, failover knob, TTFB-only, atomic RPM,
  plural dialect, loopback-only open dashboard).
- Taskfile.yml: canonical task verify / verify:full gates (proven
  green locally).
- Secret scan: no known token patterns in tracked files.
Copilot AI balanced review requested due to automatic review settings September 5, 2026 21:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

The coverage test targets the parallel session's unmerged toolmap.go
mappings (Kimi-CLI/Crush rows fail against main's toolmap). It stays
untracked in the tree for its owning session to merge together with the
implementation; CI on a clean tree is the truth.
@trefeon
trefeon merged commit cfe5b29 into main Sep 5, 2026
6 checks passed
@trefeon
trefeon deleted the docs/repo-tidy-convergence branch September 5, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants