-
Notifications
You must be signed in to change notification settings - Fork 1
feat(hooks)!: simplify dream system — capture + directive + background Dream agent #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
2c1b625
feat(hooks): phase 0 pre-work for dream system simplification
dean0x 1c21def
feat(hooks): phase 1 capture layer for dream system simplification
dean0x bf34dab
feat(hooks): phase 2 detached dream worker for dream system simplific…
dean0x 693ae0c
test(hooks): add coverage for the dream system simplification phases 0-2
dean0x 5217b6c
feat(hooks)!: simplify dream system — unified capture + detached drea…
dean0x b3c427b
feat(migrations): sweep legacy dream marker-pipeline state (purge-dre…
dean0x 40e288e
docs: describe the simplified dream system end-state
dean0x 97edf36
refactor(hooks): fix stale cross-phase comment references in dream sy…
dean0x d4a8f00
fix: address self-review issues
dean0x df8d35d
fix(hooks): close AC-F15 test gap, complete settings seed, add worker…
dean0x e6bb492
docs(knowledge): add dream-capture-system feature knowledge base
dean0x 3bb9bbb
feat(decisions): drain dream queue on --disable (mirror memory semant…
dean0x 957b8b7
feat(agents): restore Dream agent as the decisions processor
dean0x 3eb555c
feat(hooks)!: session-start directive replaces detached dream worker
dean0x 64911cb
feat(cli): config-only decisions toggle, unconditional drain, worker-…
dean0x f2afb4c
docs: describe the dream system end-state only
dean0x 1260d4f
feat(flags): add disable-bundled-skills, pin-sonnet-4-6, disable-mous…
dean0x 481a787
feat(hud): restore decisions/pitfalls counts segment
dean0x 34fd95b
feat(hud): inline todos on capacity line, drop section break
dean0x 81f9972
docs: fix stale dream-worker references after simplification
dean0x 466353b
fix(hooks): allowlist DREAM_MODEL before interpolation, fix stale com…
dean0x ffcad46
test(hud): pin decisions-counts mirror of render-decisions.cjs
dean0x 252837c
refactor(decisions): extract dream-cleanup helpers, thin router, fix …
dean0x 343f529
refactor(hooks): hoist shared cwd+field JSON extractor, kill literal …
dean0x 8ec3fe3
refactor(decisions): extract requireGitRoot to dedupe handler setup
dean0x f0eb632
docs(knowledge): update dream-capture-system feature knowledge base
dean0x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| - **feature-knowledge-system** — commands/_partials, src/cli/commands/knowledge, shared/skills/feature-knowledge, shared/skills/apply-feature-knowledge, shared/agents/knowledge.md, scripts/build-mds.ts — Use when adding a new knowledge base entry, modifying how knowledge is loaded into agents, changing the write-through save model, extending the CLI knowledge commands, or understanding the MDS knowledge module. | ||
| - **dream-capture-system** — scripts/hooks, shared/agents/dream.md, src/cli/commands/capture.ts, src/cli/commands/dream.ts, src/cli/commands/memory.ts, src/cli/commands/decisions.ts, src/cli/utils/decisions-config.ts, src/cli/utils/dream-cleanup.ts, src/cli/utils/project-paths.ts, src/cli/hud/components/decisions-counts.ts — Use when modifying capture hooks (capture-prompt/capture-turn/capture-question), the memory or dream pending-turns queues, the background-memory-update detached worker, the Dream agent (shared/agents/dream.md), the session-start-context dream directive, or the dream/decisions config toggles. Keywords: capture-prompt, capture-turn, capture-question, queue-append, pending-turns, memory-worker, background-memory-update, Dream agent, dream directive, DREAM MAINTENANCE, DEVFLOW_BG_UPDATER, dream config, dream-lock, json_extract_cwd_field, dream-cleanup, DREAM_MODEL allowlist. |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CRITICAL (97% confidence): This row was changed to reference 'The detached dream worker' which is exactly what this PR removes. The new architecture uses the in-session Dream agent (shared/agents/dream.md) to render decisions/pitfalls via render-decisions.cjs, not a detached worker.
Please update the Source column to: Dream agent via
assign-anchor(renders viarender-decisions.cjs)This ensures the documentation accurately reflects the new implementation and applies ADR-003 (end-state only, no residue of retired machinery).