fix(status): reduce deep status manifest scans#78789
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. Source inspection of current main shows the session hydration and memory discovery hot paths, and the PR body provides Crabbox IO counts for the affected commands. Real behavior proof Next step before merge Security Review detailsBest possible solution: Rebase onto current main, preserve the default-discovery snapshot compatibility guard, settle the scan-cap config contract, rerun the targeted tests plus build and changed gate, then merge if maintainer review stays clean. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection of current main shows the session hydration and memory discovery hot paths, and the PR body provides Crabbox IO counts for the affected commands. Is this the best way to solve the issue? Yes, pending maintainer review. Reusing the current metadata snapshot, carrying bundled manifests forward, and limiting pre-display hydration are narrow fixes, but the branch needs a clean rebase and config approval before it is the best mergeable form. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 8a66694c5efa. Re-review progress:
|
Summary
Verification
pnpm test:serial src/plugins/current-plugin-metadata-snapshot.test.ts src/plugins/channel-catalog-registry.test.tspnpm test:serial extensions/memory-core/src/memory/index.test.tspnpm buildtbx_01kr0a6wr3s6qdrgyphqsx6z1m, Actions run25475688574status --deep: exit 0, ~5.2s, ~40.8k fs opsmemory status --deep: exit 0, ~2.5stbx_01kr0at0bvxkqap6r93e29200d, Actions run25475964101,pnpm check:changedexit 0