Skip to content

Backlog closure: live-stream rotation cap, upstream-sync playbook, chronode.5 - #14

Merged
ChronodeAi merged 6 commits into
mainfrom
backlog/rotation-watchdog-playbook
Aug 25, 2026
Merged

Backlog closure: live-stream rotation cap, upstream-sync playbook, chronode.5#14
ChronodeAi merged 6 commits into
mainfrom
backlog/rotation-watchdog-playbook

Conversation

@ChronodeAi

Copy link
Copy Markdown
Owner

Staged train closing the final backlog items.

Changes

  • fix(stream): viewer live stream (stream%3Amem-live%3Aviewer.bin) grew unbounded (130 MB observed). All publish paths into the viewer group now rotate the persisted file to <path>.prev once it exceeds AGENTMEMORY_LIVE_STREAM_MAX_BYTES (default 33554432, 0 opts out). Best-effort: one warn line max, publish never blocked. Engine opens its store by path per append (verified via lsof), so rotation needs no restart.
  • docs(sync): docs/upstream-sync.md — staged-train process proven on this deployment: pinned-refspec refreshes, four-bucket classification of <deployed>..upstream/main, non-negotiable gates (committed hook bundles, r13 manifest recompute algorithm, evidence inventory, skills gen/check, tool-count surfaces), pre-push battery incl. canonical R13 under dummy secrets with RUN_HF_SMOKE=1, direct-main PR policy, deploy recipe with the lib/node_modules anchor-package.json pitfall.
  • scripts/sync/upstream-status.sh: deployed release dir, main vs upstream shas, ahead/behind vs deployed sha, 17 newest upstream subjects.
  • chore(release): version 0.9.30-chronode.5 across package.json, package-lock.json, packages/mcp, plugin manifests, src/version.ts; CHANGELOG section; regenerated bundles (plugin/scripts/standalone.mjs), evidence inventory and skills reference refreshed.

Upstream classification

n/a — no upstream port in this train; fork-only backlog closure.

Verification battery

  • npx vitest run: 1965 passed / 1 skipped, zero new failures. Known base file-level artifacts exempt: test/integration.test.ts (requires real secrets), scripts/evidence/generate-interface-inventory.test.mjs + scripts/r13/run.test.mjs (node:test files).
  • npx tsc --noEmit | grep ^src/ | sort: identical to baseline set (12 lines: transport socket-union family, tools-registry pattern/items TS2353 ×3+1, coding-memory TS6133).
  • Canonical R13: AGENTMEMORY_SECRET=dummy AGENTMEMORY_PROJECT_CAPABILITY_SECRET=dummy RUN_HF_SMOKE=1 node scripts/r13/run.mjsR-13 passed (receipt .r13-receipts/1787695082503-0-5f05b430, manifest 180/180, no missing/extra/skipped).
  • npm run evidence:interfaces:test: pass.
  • npm run skills:check: green (17 skills).

Deploy

Local production deployment of chronode.5 follows merge per docs/upstream-sync.md §5.

The iii-stream file adapter persists the viewer live stream as one
append-only .bin that grew unbounded (130 MB observed). Publish paths
now rotate it to <path>.prev once it exceeds
AGENTMEMORY_LIVE_STREAM_MAX_BYTES (default 33554432, 0 opts out):
best-effort, at most one warn line, publish never blocked. The engine
opens the store by path per append, so no restart is needed.
Captures the process proven on this deployment: pinned-refspec refreshes,
four-bucket classification of <deployed>..upstream/main, the
non-negotiable gates (committed hook bundles, r13 manifest recompute,
evidence inventory, skills gen/check, tool-count surfaces), the pre-push
verification battery, direct-main PR policy, and the local deploy recipe
including the lib/node_modules anchor-package.json pitfall.
scripts/sync/upstream-status.sh prints the current train position.
Backlog closure: viewer live-stream rotation cap, upstream-sync playbook
+ status helper, watchdog v2 deployment notes.
@ChronodeAi
ChronodeAi merged commit 97414b6 into main Aug 25, 2026
15 of 16 checks passed
@ChronodeAi
ChronodeAi deleted the backlog/rotation-watchdog-playbook branch August 25, 2026 22:06
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