Checkup & ledger closure -> 0.9.30-chronode.6 - #17
Merged
Conversation
An existing .prev older than AGENTMEMORY_LIVE_STREAM_PREV_TTL_DAYS days (default 30, parseInt fallback, 0 opts out) is unlinked best-effort before the rename so its bytes are reclaimed while the oversized current file still exists; fresh generations stay reserved for the atomic swap.
Keep the 3 newest release dirs plus the one 'current' references; delete the rest after the fresh release soaks.
Ledger closure train: .prev TTL reclamation, watchdog RSS sampling, auth-log pass results, release-dir pruning policy.
Manifest restamped for the live-stream-rotation test additions (180 tracked test files); interface inventory regenerated at chronode.6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checkup train closing the sync-wave follow-ups. No upstream delta in this train (fork-only hardening + process closure).
Changes
live-stream-rotationnow unlinks an existing.prevbest-effort before the rename when its mtime is older thanAGENTMEMORY_LIVE_STREAM_PREV_TTL_DAYSdays (default 30, parseInt fallback, 0 opts out; one warn on failure). Fresh generations stay reserved for the atomic swap. Tests: expired-removed, fresh-preserved, no-.prevrotation, stuck-generation warn path.docs/upstream-sync.md§5 step 8) — keep the 3 newest release dirs plus whatevercurrentreferences, after soak.0.9.30-chronode.6(package.json, src/version.ts, packages/mcp, plugin manifests, lockfile head) + CHANGELOG section.dist/is gitignored here;plugin/is the committed bundle surface).ci/r13-test-manifest.jsonrestamped for the test additions (180 test files).Ledger (tier-1
decisions, project chronodeai/agentmemory)Six rows: embedding-dim premise closed resolved; .prev retention superseded by TTL fix; release-pruning policy; /lesson gap visibility-only; weekly
upstream-status.shhabit; auth-failure log pass.Auth-failure log pass (read-only)
legacy_authentication_disabled/401/project_binding_mismatch: 0 occurrences across~/Library/Logs/Agentmemory/*.log+/tmp/am-worker-9032348.log; pre-sync (<2026-08-24T21:02:26Z chronode.1 activation) and post-sync buckets both zero; retained-logs caveat recorded.Verification battery
npx vitest run— 1975 passed / 1 skipped; only the known base artifacts fail (integration.test.ts secrets gate, two node:test scripts/*.test.mjs suites).npx tsc --noEmit | grep ^src/ | sort— identical to frozen baseline (transport.ts socket-union family, tools-registry pattern×3+items×1 TS2353, coding-memory.ts TS6133).AGENTMEMORY_SECRET=dummy AGENTMEMORY_PROJECT_CAPABILITY_SECRET=dummy RUN_HF_SMOKE=1 node scripts/r13/run.mjs) — R-13 passed.npm run evidence:interfaces:test— pass.npm run skills:check— green.