Backlog closure: live-stream rotation cap, upstream-sync playbook, chronode.5 - #14
Merged
Merged
Conversation
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.
This was referenced Aug 25, 2026
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.
Staged train closing the final backlog items.
Changes
stream%3Amem-live%3Aviewer.bin) grew unbounded (130 MB observed). All publish paths into the viewer group now rotate the persisted file to<path>.prevonce it exceedsAGENTMEMORY_LIVE_STREAM_MAX_BYTES(default 33554432,0opts 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/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 withRUN_HF_SMOKE=1, direct-main PR policy, deploy recipe with the lib/node_modules anchor-package.json pitfall.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).AGENTMEMORY_SECRET=dummy AGENTMEMORY_PROJECT_CAPABILITY_SECRET=dummy RUN_HF_SMOKE=1 node scripts/r13/run.mjs→ R-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.