docs/plans/2026-06-02-rewrite-performance-docs.md
Objective: TODO: Write the short create_goal objective, under 240 characters. Put the full docs contract in the sections below.
Goal plan: docs/plans/2026-06-02-rewrite-performance-docs.md
Template: docs/plans/templates/docs.md
Primary template: docs/plans/templates/docs.md
Applied packs:
Docs source:
Docs lane:
Completion threshold:
node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-06-02-rewrite-performance-docs.md
passes.Verification surface:
Constraints:
.agents/rules/docs-creator.mdc for docs style and workflow.Boundaries:
Blocked condition:
Docs state:
Current verdict:
Completion rule:
update_goal(status: complete) while any required checklist item
remains unchecked. If an item does not apply, check it and add N/A: <reason>.update_goal(status: complete) until every completion threshold
above is satisfied, final evidence is recorded, and
node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-06-02-rewrite-performance-docs.md
passes.Start Gates:
| Gate | Applies | Evidence |
|---|---|---|
docs-creator loaded | pending | pending |
| Active goal checked or created | pending | pending |
| Docs lane selected | pending | pending |
| Target docs read | pending | pending |
| Nearest sibling docs read | pending | pending |
| Docs style doctrine read | pending | pending |
| Documented source code read | pending | pending |
| Ownership map drafted | pending | pending |
| Plugin-page rules decision | pending | pending |
| Browser/render proof decision | pending | pending |
| PR/tracker expectation decision | pending | pending |
Work Checklist:
docs-creator was read before writing.Completion Gates:
| Gate | Applies | Required action | Evidence |
|---|---|---|---|
| Named verification threshold | pending | Run the source audit, parser/build, link/demo check, or review named in this plan | pending |
| Docs lane shape satisfied | pending | Check the lane-specific structure against docs-creator | pending |
| Source-backed claim audit | pending | Verify every named API/option/transform/component/import/route against source | pending |
| Ownership map verified | pending | Confirm package/layer/kit/app-local ownership claims against source | pending |
| MDX/content parser | pending | Run pnpm --filter www build:contentlayer for MDX/content changes, or record N/A | pending |
| Links/routes/previews verified | pending | Check leaf links, routes, anchors, and <ComponentPreview> names or record N/A | pending |
| Plugin page specifics | pending | If plugin page, apply docs-creator kit/manual/API rules or record N/A | pending |
| Browser/render surface changed | pending | Capture Browser Use proof or record explicit waiver/blocker | pending |
| Package/API behavior changed | pending | Add changeset or record N/A | pending |
| Agent rules or skills changed | pending | Run pnpm install and verify generated skill sync | pending |
| Autoreview for non-trivial docs changes | pending | Load .agents/skills/autoreview/SKILL.md and run the right target, or record N/A for tiny/no-local-patch work | pending |
| Final lint | pending | Run pnpm lint:fix or scoped equivalent | pending |
| Goal plan complete | yes | Run node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-06-02-rewrite-performance-docs.md | pending |
Phase / pass table:
| Phase | Status | Evidence | Next |
|---|---|---|---|
| Intake and source read | in_progress | created plan | writing |
| Writing | pending | verification | |
| Verification | pending | closeout | |
| PR / tracker sync | pending | final response | |
| Closeout | pending | final response |
Findings:
Decisions and tradeoffs:
Implementation notes:
Review fixes:
Error attempts:
| Error / failed attempt | Count | Next different move | Resolution |
|---|---|---|---|
| None yet | 0 |
Verification evidence:
Final handoff contract:
Final handoff / sync:
Timeline:
Reboot status:
| Question | Answer |
|---|---|
| Where am I? | Intake and source read |
| Where am I going? | Writing, verification, closeout |
| What is the goal? | TODO: Fill from Objective |
| What have I learned? | See Findings |
| What have I done? | See Timeline |
Open risks: