Skip to content

docs: encode review corrections and fold the resource-ID RFC into main's design - #815

Draft
behinddwalls wants to merge 1 commit into
mainfrom
preetam/agents-learnings
Draft

behinddwalls wants to merge 1 commit into
mainfrom
preetam/agents-learnings

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Why?

Recent sessions kept getting the same review corrections: speculative packages and adapters, homegrown wrappers, host code in the library, framework layouts, non-Bazel tooling, re-encoded IDs, internal names in a public repo, separate CI workflows, and RFCs that describe discussion rather than main. Autoreview also never ran its architecture or correctness lenses on TypeScript, because .ts/.tsx files classified as other. One such RFC already exists: queue-scoped decimal IDs shipped (#770, #804), but the decision still lived in a standalone "current vs proposed" RFC.

What?

  • AGENTS.md: new Design Defaults section, aligned with the web UI RFC (feat(web): add a read-only SubmitQueue web UI as a mountable module #810); CI credential and workflow rules; naming, RFCs-describe-main, and concise-docs bullets; ask before splitting a large change into a stack; local run steps in the Test Plan.
  • Autoreview review-scope.py: new web kind (.ts, .tsx, .js, .css; *.test.* as tests), and internal-reference and new-workflow smells.
  • Autoreview dispatch: the parent runs a planner, one lens reviewer per assignment in parallel, and a consolidator, because subagents cannot start their own. Committed targets are reviewed in a clean detached worktree so local edits never skip checks, and every readable changed file must appear in some reviewer's Read list or the report marks it unreviewed. Coverage is counted from Read/Partial/Unread buckets rather than judged, and every finding must be re-opened at its cited line before it is admitted, with a recheck log in the report.
  • Autoreview review.md / lenses.md: route web to all code lenses; treat unneeded added surface as should-fix; add checks for each design default and for RFCs that diverge from main; sweep commit messages for internal names; skip data-migration findings for OSS deployments.
  • RFCs: add a Resource IDs section to doc/rfc/submitqueue/workflow.md, delete doc/rfc/scoped-resource-ids.md and its index entry, fix stale ID text in the history and Stovepipe workflow RFCs, delete the superseded SubmitQueue list-api.md proposal (shipped as status-list-api.md), and describe the implemented Stovepipe List API as current rather than proposed.

Test Plan

✅ bazel test //.agents/skills/autoreview/scripts:all
✅ bazel test //tool/docsite:site_test (strict link check)
✅ make fmt leaves the tree unchanged

@behinddwalls
behinddwalls force-pushed the preetam/agents-learnings branch 3 times, most recently from 551fda2 to 69470a5 Compare October 8, 2026 02:57
@behinddwalls behinddwalls changed the title docs(agent): encode recurring review corrections in AGENTS.md and autoreview docs: encode review corrections and fold the resource-ID RFC into main's design Oct 8, 2026
@behinddwalls
behinddwalls force-pushed the preetam/agents-learnings branch 4 times, most recently from 69f6550 to c60ab85 Compare October 8, 2026 03:31
…n's design

## Summary

### Why?

Recent sessions kept getting the same review corrections: speculative packages and adapters, homegrown wrappers, host code in the library, framework layouts, non-Bazel tooling, re-encoded IDs, internal names in a public repo, separate CI workflows, and RFCs that describe discussion rather than main. Autoreview also never ran its architecture or correctness lenses on TypeScript, because `.ts`/`.tsx` files classified as `other`. One such RFC already exists: queue-scoped decimal IDs shipped (#770, #804), but the decision still lived in a standalone "current vs proposed" RFC.

### What?

- `AGENTS.md`: new **Design Defaults** section, aligned with the web UI RFC (#810); CI credential and workflow rules; naming, RFCs-describe-main, and concise-docs bullets; ask before splitting a large change into a stack; local run steps in the Test Plan.
- Autoreview `review-scope.py`: new `web` kind (`.ts`, `.tsx`, `.js`, `.css`; `*.test.*` as tests), and `internal-reference` and `new-workflow` smells.
- Autoreview dispatch: the parent runs a planner, one lens reviewer per assignment in parallel, and a consolidator, because subagents cannot start their own. Committed targets are reviewed in a clean detached worktree so local edits never skip checks, and every readable changed file must appear in some reviewer's Read list or the report marks it unreviewed. Coverage is counted from Read/Partial/Unread buckets rather than judged, and every finding must be re-opened at its cited line before it is admitted, with a recheck log in the report.
- Autoreview `review.md` / `lenses.md`: route `web` to all code lenses; treat unneeded added surface as should-fix; add checks for each design default and for RFCs that diverge from main; sweep commit messages for internal names; skip data-migration findings for OSS deployments.
- RFCs: add a **Resource IDs** section to `doc/rfc/submitqueue/workflow.md`, delete `doc/rfc/scoped-resource-ids.md` and its index entry, fix stale ID text in the history and Stovepipe workflow RFCs, delete the superseded SubmitQueue `list-api.md` proposal (shipped as `status-list-api.md`), and describe the implemented Stovepipe List API as current rather than proposed.

## Test Plan

✅ `bazel test //.agents/skills/autoreview/scripts:all`
✅ `bazel test //tool/docsite:site_test` (strict link check)
✅ `make fmt` leaves the tree unchanged
@behinddwalls
behinddwalls force-pushed the preetam/agents-learnings branch from c60ab85 to cb26534 Compare October 8, 2026 03:43

This branch has not been deployed

No deployments
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.

1 participant