Repository navigation
docs: scaffold HEARTBEAT.md in init.sh and sync docs/PLAN for v0.12-v0.15 - #137
Merged
Merged
Conversation
…0.15 What was missing: - init.sh did not scaffold agent/HEARTBEAT.md into new agent homes. - README.md, docs/setup.md, agent/AGENTS.md, profile/cordis.patch.yml, and PLAN.md had not yet been updated to document v0.12-v0.15 capabilities (slash commands, debouncing, proactive heartbeat, loopback webhooks, voice transcription, daily episodic notes, fact supersession, /dream consolidation, session auto-reset & pre-reset flush, entity/tag recall boosting, and incremental recall parse cache) or record their unverified items. What changed: - init.sh, test/install.test.ts: added HEARTBEAT.md to the idempotent home scaffold loop and verified via init.sh --dry-run. - agent/AGENTS.md, profile/cordis.patch.yml: documented the expanded memory layers (daily episodic, supersession/topic spill, /dream, HEARTBEAT.md) and opt-in deepbot config keys without altering composed profile defaults. - README.md, docs/setup.md, PLAN.md: documented v0.14 gateway UX and v0.15 agentic memory knobs, updated Done/Open/Unverified sections in PLAN.md. How it was checked: - pnpm run build && pnpm run typecheck && node test/profile.test.ts && pnpm test passed locally (EXIT=0, including test/install.test.ts and test/secrets.test.ts). Still unverified: - End-to-end live model runs and multi-hour wall-clock timers for v0.14/v0.15 features (listed explicitly in PLAN.md). Signed-off-by: rlaope <rlaope@users.noreply.github.com>
…flake What was wrong: - recallFor in test/core.test.ts left autoIndex enabled and deleted dshHome before t.done() without retry options, racing on Windows against the spawned deepbot-recall.js process writing parse-cache.v1.json (ENOTEMPTY). - The woken-turn deadline test used a fixed 500ms sleep after settleJob, occasionally missing completion on busy CI runners. What changed: - Passed autoIndex: false in recallFor (which seeds its own recall index), called t.done() before rmSync, and added maxRetries: 5 / retryDelay: 50. - Replaced the fixed 500ms sleep with a bounded poll waiting up to 1.5s for e.disposed.length > 0. How it was checked: - pnpm run typecheck && node test/core.test.ts passed locally (673/673, EXIT=0). Signed-off-by: rlaope <rlaope@users.noreply.github.com>
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.
Summary
Completes the scaffolding and documentation pass for v0.12–v0.15:
init.sh&test/install.test.ts: idempotently scaffoldsHEARTBEAT.mdfromagent/HEARTBEAT.mdalongsideSOUL.md,AGENTS.md,USER.md, andMEMORY.md, pinned with a--dry-runcheck.agent/AGENTS.md&profile/cordis.patch.yml: documents daily episodic notes (memory/YYYY-MM-DD.md), fact supersession (memory/archive-superseded.md), topic spill notes (memory/topic-*.md),/dream,HEARTBEAT.md, and the opt-in v0.14/v0.15 config keys (without changing composed profile defaults).README.md&docs/setup.md: documents chat slash commands,inboundDebounceMs, proactiveHEARTBEAT.md, loopback webhooks, voice-note transcription, daily notes, supersession,/dream, session idle/daily reset +preResetMemoryFlush, entity/tag recall boosting, and incremental recall caching (--full).PLAN.md: records v0.12–v0.15 inDone, updates the[quiet]history-pointer item inOpen, and lists v0.14/v0.15 live-model/timer items explicitly underUnverified.Verification
pnpm run build && pnpm run typecheck && node test/profile.test.ts && pnpm testpassed locally (EXIT=0).