Skip to content

Checkup & ledger closure -> 0.9.30-chronode.6 - #17

Merged
ChronodeAi merged 5 commits into
mainfrom
checkup/ledger-closure
Aug 26, 2026
Merged

Checkup & ledger closure -> 0.9.30-chronode.6#17
ChronodeAi merged 5 commits into
mainfrom
checkup/ledger-closure

Conversation

@ChronodeAi

Copy link
Copy Markdown
Owner

Checkup train closing the sync-wave follow-ups. No upstream delta in this train (fork-only hardening + process closure).

Changes

  • fix(stream): live-stream-rotation now unlinks an existing .prev best-effort before the rename when its mtime is older than AGENTMEMORY_LIVE_STREAM_PREV_TTL_DAYS days (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-.prev rotation, stuck-generation warn path.
  • docs(sync): release-dir pruning rule added to the deploy recipe (docs/upstream-sync.md §5 step 8) — keep the 3 newest release dirs plus whatever current references, after soak.
  • chore(release): version stamps → 0.9.30-chronode.6 (package.json, src/version.ts, packages/mcp, plugin manifests, lockfile head) + CHANGELOG section.
  • chore(bundles): regenerated plugin sidecars (dist/ is gitignored here; plugin/ is the committed bundle surface).
  • chore(evidence): interface inventory refresh, skills reference regen, ci/r13-test-manifest.json restamped 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.sh habit; 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

  1. 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).
  2. 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).
  3. Canonical R13 (AGENTMEMORY_SECRET=dummy AGENTMEMORY_PROJECT_CAPABILITY_SECRET=dummy RUN_HF_SMOKE=1 node scripts/r13/run.mjs) — R-13 passed.
  4. npm run evidence:interfaces:test — pass.
  5. npm run skills:check — green.

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.
@ChronodeAi
ChronodeAi merged commit efc232d into main Aug 26, 2026
8 checks passed
@ChronodeAi
ChronodeAi deleted the checkup/ledger-closure branch August 26, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant