feat(harness): migrate shared project state [Agent Map 09/15] - #828
Conversation
Review — PR #828 (Agent Map 09/15)No confidentiality problems: the changeset, README edit, JSDoc and allowlist reasons are 1. Breaking public type change shipped as a
|
c3d3ded to
a5724be
Compare
d6e8c91 to
c28d189
Compare
Follow-up review — PR #828 (Agent Map 09/15)Delta since the reviewed commit, on this PR's own files, is exactly three commits: Fixed
Not fixed
New (nit)
Verdict: Approve with a nit — the three blocking findings are resolved; the untested, |
a5724be to
d5c26ae
Compare
c28d189 to
7d947b1
Compare
Primary change type
Problem and motivation
Existing E1/E2 map state and its writers must move together to one durable aggregate without exposing a migrated schema to an incompatible consumer.
Summary and scope
Atomically switch migration, locked storage, current pointers, map mutation/replay, strict neutral actor parsing, and attribution consumers while preserving the existing map HTTP projection.
Bound operation history before writes and classify exhausted quotas, corrupt aggregates, and unsupported storage schemas as terminal manual-intervention errors. Preserve the source schema version in migration telemetry.
How this increment fits
Storage migration, map writers, neutral actor decoding, and attribution consumers change atomically. Plan-authoring tools begin in part 10.
Stack and review boundary
7d947b1d8c0c75cdae8d23f38a2a5273355c0fdd; 2,838 changed lines across 29 files, counting additions and deletions including tests.fix/studio-onboarding-followups.Related work
Agent Map checkpoint SAP-3147; relevant work SAP-3149. This packaging follows the maintainer-approved 15-PR split.
Validation
Root checks ran against
c28d18989e02e13b69541ec41e3a35a2458bdce1. The final head changes only README terminology or commit ancestry; a complete tracked-file comparison confirms identical executable source and build inputs. The terminology gate was rerun on7d947b1d8c0c75cdae8d23f38a2a5273355c0fdd.Tests and documentation
Regression coverage: E1/E2 migration, locked atomic writes, exact replay, current pointers, neutral attribution, graph projection, operation limits, corrupt data, and unsupported schemas.
See part 15 for integrated browser, native CLI, and Mac journey validation. The checks above were run independently on this PR’s own commit.
Linux tests run with ordinary user filesystem permissions; the sandbox's extra ambient capabilities are dropped. Hosted CI and automated review are separate from these recorded local results.
Compatibility and release impact
.changeset/atomic-project-state-migration.mdSecurity
AI assistance
Checklist