This implements a first M2 persistence slice for @logicsrc/agentstack, matching the PRD roadmap item for storage backends without selecting a database prematurely.
AgentStackStorage, a minimal async/sync load-save persistence contract.AgentStack.fromSnapshot(snapshot, now?) to rehydrate the in-memory coordinator.AgentStack.fromStorage(storage, now?) and stack.save(storage).npm --prefix packages/agentstack test
npm --prefix packages/agentstack run build
Both commands passed locally. Test result: 1 file passed, 15 tests passed.
packages/agentstack/src/types.tspackages/agentstack/src/index.tspackages/agentstack/src/index.test.tsGitHub push to profullstack/logicsrc was attempted but rejected with 403 for the current account, so this is delivered as a ready patch rather than a remote PR. The patch file is exported locally as outputs/logicsrc-agentstack-storage-snapshot-20260626.patch.