Repository navigation
docs(agents): add performance guidance - #5208
Conversation
Free room under the agent-guidance byte budgets. Each removed line is enforced by a tool, or held by an ADR, a user doc, the CLI help, a code comment, or another agent doc. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
State the rules for request cost, caching, count tests, timing comparisons, and deliberate safety checks, and route to them from AGENTS.md. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 10 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
Restore the mutation lane scope and completeness contract and the stale ref and coordinate rule after a pose change. State when file stat validation is acceptable, and use the full cache module path. Shorten the performance doc to stay within the byte budget. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
The PR is ready at 1fec2f1, with no required changes. Not blocking: these can be taken or left: in performance.md:9, add "If no caller reads a fact, do not compute it." and attach the These earlier threads no longer apply and can be resolved: the 10 of 11 checks pass, and the remaining one is still in progress. The change is Markdown only and exercises no runtime route. Not verified here: no tests or gates were run, size budgets were only computed from the committed files, and ASD-STE100 was judged only on sentence length and one-instruction form. After this PR, only 5 bytes remain in the Before merge, the remaining check needs to finish and a maintainer needs to confirm the removed instructions. |
…roc-first Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * origin/main: perf(apple): reuse the process identity for native-build cache locks (#5203) perf(apple): read the native-build toolchain identity with two concurrent probes (#5206) perf(macos): reuse the helper fingerprint between unchanged calls (#5207) docs(agents): add performance guidance (#5208) perf(daemon): classify a device claim owner only for refusals and settlement (#5210)
Summary
Adds
docs/agents/performance.mdand one AGENTS.md routing row. It states the rules for request cost, caching, count tests, timing comparisons, and deliberate safety checks.Scope expansion: the
agent-guidancebyte budgets had 20 bytes free in AGENTS.md and 1 byte free indocs/agents. The first commit removes lines with another owner instead of raising a budget. After review, the mutation lane contract and the stale-ref rule after a pose change are restored.CONTEXT.mdglossary ruleformatgate;agent-guidancetest (headings and repo paths only)testing.md: platform, wait limit, receipt,pnpm checkselectiongates.md: replay seeddevice-foldable.md: panels, pose mechanics, touch overlays--hide-touchesin user docsdevice-verification.md: claim recoverysessions.md; CLI helpweb-backend.md: setup, doctor, hinthelp web; commandcli-flags.md: action option refusalflagsByActiondoc commentselector-capture.md: selector packagetest-authoring.md: regression prooftest-experiments.mdValidation
SHA 1fec2f1.
docs/agents39,983 of 40,000.agent-guidance-contract.test.ts: 5 passed locally.performance.mdexist.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.