Commit Graph

2 Commits

Author SHA1 Message Date
41af641c54 docs(audit): refresh platform handoff state
Update the platform audit handoff and resume prompt to match the live gates: install, typecheck, test, and lint now pass with 0 lint errors when GITEA_NPM_TOKEN is exported after sourcing ~/.zshrc.

Refs: docs/AUDIT_PLATFORM.md section P.
2026-05-04 15:09:42 -07:00
1f5dc1a812 docs: add CODEX_RESUME_PROMPT.md for platform-side agent hand-off
Mirror of the trading repo's resume prompt but anchored on the
platform-side audit work. Any agent (Codex, Claude, Gemini, etc.)
running on this machine can paste in the short prompt at the bottom of
this file and self-bootstrap from the full brief above.

Brief covers:
  - Required reads (HANDOVER.md + AUDIT_PLATFORM.md, optionally the
    trading repo's HANDOVER for cross-repo context)
  - Environment (source ~/.zshrc for GITEA_NPM_TOKEN — without it pnpm
    install -r fails on the private @bytelyst/* mobile dep)
  - Verification gates with explicit "error count must go down, never
    up" rule
  - Working-tree state: 3 nomgap WIP files + 1 regenerated lockfile
    that the agent must NOT touch
  - The P-sweep: 85 pre-existing lint errors, broken down by rule, with
    a per-package workflow (one package = one commit) and a suggested
    walking order
  - Commit conventions matching the prior session
    (chore(P-sweep): pnpm --filter <pkg> lint:fix)
  - Seven explicit "do not" rules — the most important being do-not-
    modify the audit's load-bearing eslint config block (`**/*.cjs` +
    `**/scripts/**`) which prevents 45 errors from regressing
  - When-to-stop-and-ask criteria so the agent doesn't blindly delete
    "unused" exports that downstream repos (trading vendor) consume

Refs: docs/HANDOVER.md, docs/AUDIT_PLATFORM.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 14:50:07 -07:00