@theihtisham/agent-shadow-brain 7.1.0 → 7.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +125 -450
- package/dist/activity-cli.d.ts +3 -0
- package/dist/activity-cli.d.ts.map +1 -0
- package/dist/activity-cli.js +78 -0
- package/dist/activity-cli.js.map +1 -0
- package/dist/adapters/index.d.ts +2 -1
- package/dist/adapters/index.d.ts.map +1 -1
- package/dist/adapters/index.js +3 -2
- package/dist/adapters/index.js.map +1 -1
- package/dist/brain/activity-journal.d.ts +82 -0
- package/dist/brain/activity-journal.d.ts.map +1 -0
- package/dist/brain/activity-journal.js +315 -0
- package/dist/brain/activity-journal.js.map +1 -0
- package/dist/brain/activity-reporting.d.ts +14 -0
- package/dist/brain/activity-reporting.d.ts.map +1 -0
- package/dist/brain/activity-reporting.js +17 -0
- package/dist/brain/activity-reporting.js.map +1 -0
- package/dist/brain/auto-update.js +1 -1
- package/dist/brain/brain-portability.js +1 -1
- package/dist/brain/client-config.d.ts +19 -0
- package/dist/brain/client-config.d.ts.map +1 -0
- package/dist/brain/client-config.js +40 -0
- package/dist/brain/client-config.js.map +1 -0
- package/dist/brain/client-integrations.d.ts +63 -0
- package/dist/brain/client-integrations.d.ts.map +1 -0
- package/dist/brain/client-integrations.js +79 -0
- package/dist/brain/client-integrations.js.map +1 -0
- package/dist/brain/context-assembly.d.ts +84 -0
- package/dist/brain/context-assembly.d.ts.map +1 -0
- package/dist/brain/context-assembly.js +529 -0
- package/dist/brain/context-assembly.js.map +1 -0
- package/dist/brain/context-request.d.ts +4 -0
- package/dist/brain/context-request.d.ts.map +1 -0
- package/dist/brain/context-request.js +22 -0
- package/dist/brain/context-request.js.map +1 -0
- package/dist/brain/context-retrieval.d.ts +88 -0
- package/dist/brain/context-retrieval.d.ts.map +1 -0
- package/dist/brain/context-retrieval.js +300 -0
- package/dist/brain/context-retrieval.js.map +1 -0
- package/dist/brain/feature-settings.d.ts +58 -0
- package/dist/brain/feature-settings.d.ts.map +1 -0
- package/dist/brain/feature-settings.js +242 -0
- package/dist/brain/feature-settings.js.map +1 -0
- package/dist/brain/file-identity.d.ts +4 -0
- package/dist/brain/file-identity.d.ts.map +1 -0
- package/dist/brain/file-identity.js +27 -0
- package/dist/brain/file-identity.js.map +1 -0
- package/dist/brain/global-brain.d.ts +18 -1
- package/dist/brain/global-brain.d.ts.map +1 -1
- package/dist/brain/global-brain.js +77 -10
- package/dist/brain/global-brain.js.map +1 -1
- package/dist/brain/mcp-server.d.ts +30 -1
- package/dist/brain/mcp-server.d.ts.map +1 -1
- package/dist/brain/mcp-server.js +378 -28
- package/dist/brain/mcp-server.js.map +1 -1
- package/dist/brain/mcp-stdio.d.ts +12 -0
- package/dist/brain/mcp-stdio.d.ts.map +1 -0
- package/dist/brain/mcp-stdio.js +140 -0
- package/dist/brain/mcp-stdio.js.map +1 -0
- package/dist/brain/memory-annotations.d.ts +97 -0
- package/dist/brain/memory-annotations.d.ts.map +1 -0
- package/dist/brain/memory-annotations.js +389 -0
- package/dist/brain/memory-annotations.js.map +1 -0
- package/dist/brain/memory-graph.d.ts.map +1 -1
- package/dist/brain/memory-graph.js +12 -23
- package/dist/brain/memory-graph.js.map +1 -1
- package/dist/brain/memory-inspection.d.ts +72 -0
- package/dist/brain/memory-inspection.d.ts.map +1 -0
- package/dist/brain/memory-inspection.js +131 -0
- package/dist/brain/memory-inspection.js.map +1 -0
- package/dist/brain/memory-mcp-content.d.ts +44 -0
- package/dist/brain/memory-mcp-content.d.ts.map +1 -0
- package/dist/brain/memory-mcp-content.js +91 -0
- package/dist/brain/memory-mcp-content.js.map +1 -0
- package/dist/brain/memory-sources.d.ts +8 -0
- package/dist/brain/memory-sources.d.ts.map +1 -0
- package/dist/brain/memory-sources.js +27 -0
- package/dist/brain/memory-sources.js.map +1 -0
- package/dist/brain/orchestrator.js +1 -1
- package/dist/brain/project-feedback.d.ts +63 -0
- package/dist/brain/project-feedback.d.ts.map +1 -0
- package/dist/brain/project-feedback.js +289 -0
- package/dist/brain/project-feedback.js.map +1 -0
- package/dist/brain/project-hub-contract.d.ts +326 -0
- package/dist/brain/project-hub-contract.d.ts.map +1 -0
- package/dist/brain/project-hub-contract.js +56 -0
- package/dist/brain/project-hub-contract.js.map +1 -0
- package/dist/brain/project-hub-mcp.d.ts +168 -0
- package/dist/brain/project-hub-mcp.d.ts.map +1 -0
- package/dist/brain/project-hub-mcp.js +41 -0
- package/dist/brain/project-hub-mcp.js.map +1 -0
- package/dist/brain/project-hub-pdf-worker.d.ts +13 -0
- package/dist/brain/project-hub-pdf-worker.d.ts.map +1 -0
- package/dist/brain/project-hub-pdf-worker.js +84 -0
- package/dist/brain/project-hub-pdf-worker.js.map +1 -0
- package/dist/brain/project-hub-store.d.ts +38 -0
- package/dist/brain/project-hub-store.d.ts.map +1 -0
- package/dist/brain/project-hub-store.js +189 -0
- package/dist/brain/project-hub-store.js.map +1 -0
- package/dist/brain/project-hub.d.ts +127 -0
- package/dist/brain/project-hub.d.ts.map +1 -0
- package/dist/brain/project-hub.js +381 -0
- package/dist/brain/project-hub.js.map +1 -0
- package/dist/brain/project-kit-inspection.d.ts +28 -0
- package/dist/brain/project-kit-inspection.d.ts.map +1 -0
- package/dist/brain/project-kit-inspection.js +200 -0
- package/dist/brain/project-kit-inspection.js.map +1 -0
- package/dist/brain/project-kit-paths.d.ts +13 -0
- package/dist/brain/project-kit-paths.d.ts.map +1 -0
- package/dist/brain/project-kit-paths.js +141 -0
- package/dist/brain/project-kit-paths.js.map +1 -0
- package/dist/brain/project-kit.d.ts +41 -0
- package/dist/brain/project-kit.d.ts.map +1 -0
- package/dist/brain/project-kit.js +255 -0
- package/dist/brain/project-kit.js.map +1 -0
- package/dist/brain/project-memory.d.ts +38 -0
- package/dist/brain/project-memory.d.ts.map +1 -0
- package/dist/brain/project-memory.js +76 -0
- package/dist/brain/project-memory.js.map +1 -0
- package/dist/brain/subconscious.d.ts +21 -24
- package/dist/brain/subconscious.d.ts.map +1 -1
- package/dist/brain/subconscious.js +82 -218
- package/dist/brain/subconscious.js.map +1 -1
- package/dist/brain/workflow-skills.d.ts +5 -5
- package/dist/brain/workflow-skills.d.ts.map +1 -1
- package/dist/brain/workflow-skills.js +3 -2
- package/dist/brain/workflow-skills.js.map +1 -1
- package/dist/cli.js +40 -4
- package/dist/cli.js.map +1 -1
- package/dist/context-cli.d.ts +3 -0
- package/dist/context-cli.d.ts.map +1 -0
- package/dist/context-cli.js +90 -0
- package/dist/context-cli.js.map +1 -0
- package/dist/curation-cli.d.ts +4 -0
- package/dist/curation-cli.d.ts.map +1 -0
- package/dist/curation-cli.js +118 -0
- package/dist/curation-cli.js.map +1 -0
- package/dist/dashboard/brain-hub-actions.d.ts +2 -0
- package/dist/dashboard/brain-hub-actions.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-actions.js +137 -0
- package/dist/dashboard/brain-hub-actions.js.map +1 -0
- package/dist/dashboard/brain-hub-client.d.ts +2 -0
- package/dist/dashboard/brain-hub-client.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-client.js +335 -0
- package/dist/dashboard/brain-hub-client.js.map +1 -0
- package/dist/dashboard/brain-hub-graph.d.ts +2 -0
- package/dist/dashboard/brain-hub-graph.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-graph.js +176 -0
- package/dist/dashboard/brain-hub-graph.js.map +1 -0
- package/dist/dashboard/brain-hub-html.d.ts +2 -0
- package/dist/dashboard/brain-hub-html.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-html.js +30 -0
- package/dist/dashboard/brain-hub-html.js.map +1 -0
- package/dist/dashboard/brain-hub-project-views.d.ts +2 -0
- package/dist/dashboard/brain-hub-project-views.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-project-views.js +79 -0
- package/dist/dashboard/brain-hub-project-views.js.map +1 -0
- package/dist/dashboard/brain-hub-views.d.ts +2 -0
- package/dist/dashboard/brain-hub-views.d.ts.map +1 -0
- package/dist/dashboard/brain-hub-views.js +150 -0
- package/dist/dashboard/brain-hub-views.js.map +1 -0
- package/dist/dashboard/demo-workspace.d.ts +11 -0
- package/dist/dashboard/demo-workspace.d.ts.map +1 -0
- package/dist/dashboard/demo-workspace.js +178 -0
- package/dist/dashboard/demo-workspace.js.map +1 -0
- package/dist/dashboard/live-workspace-html.d.ts +2 -0
- package/dist/dashboard/live-workspace-html.d.ts.map +1 -0
- package/dist/dashboard/live-workspace-html.js +1042 -0
- package/dist/dashboard/live-workspace-html.js.map +1 -0
- package/dist/dashboard/project-feedback-html.d.ts +5 -0
- package/dist/dashboard/project-feedback-html.d.ts.map +1 -0
- package/dist/dashboard/project-feedback-html.js +216 -0
- package/dist/dashboard/project-feedback-html.js.map +1 -0
- package/dist/dashboard/project-hub-api.d.ts +5 -0
- package/dist/dashboard/project-hub-api.d.ts.map +1 -0
- package/dist/dashboard/project-hub-api.js +121 -0
- package/dist/dashboard/project-hub-api.js.map +1 -0
- package/dist/dashboard/project-kit-html.d.ts +4 -0
- package/dist/dashboard/project-kit-html.d.ts.map +1 -0
- package/dist/dashboard/project-kit-html.js +359 -0
- package/dist/dashboard/project-kit-html.js.map +1 -0
- package/dist/dashboard/project-workspace.d.ts +16 -0
- package/dist/dashboard/project-workspace.d.ts.map +1 -0
- package/dist/dashboard/project-workspace.js +106 -0
- package/dist/dashboard/project-workspace.js.map +1 -0
- package/dist/dashboard/server.d.ts +2 -0
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +65 -19
- package/dist/dashboard/server.js.map +1 -1
- package/dist/dashboard/v6-dashboard-html.d.ts +1 -1
- package/dist/dashboard/v6-dashboard-html.d.ts.map +1 -1
- package/dist/dashboard/v6-dashboard-html.js +34 -56
- package/dist/dashboard/v6-dashboard-html.js.map +1 -1
- package/dist/dashboard/workspace-api.d.ts +22 -0
- package/dist/dashboard/workspace-api.d.ts.map +1 -0
- package/dist/dashboard/workspace-api.js +429 -0
- package/dist/dashboard/workspace-api.js.map +1 -0
- package/dist/dashboard/workspace-html.d.ts +2 -0
- package/dist/dashboard/workspace-html.d.ts.map +1 -0
- package/dist/dashboard/workspace-html.js +2538 -0
- package/dist/dashboard/workspace-html.js.map +1 -0
- package/dist/dashboard/workspace-status.d.ts +50 -0
- package/dist/dashboard/workspace-status.d.ts.map +1 -0
- package/dist/dashboard/workspace-status.js +22 -0
- package/dist/dashboard/workspace-status.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/integration-cli.d.ts +3 -0
- package/dist/integration-cli.d.ts.map +1 -0
- package/dist/integration-cli.js +16 -0
- package/dist/integration-cli.js.map +1 -0
- package/dist/project-cli.d.ts +3 -0
- package/dist/project-cli.d.ts.map +1 -0
- package/dist/project-cli.js +100 -0
- package/dist/project-cli.js.map +1 -0
- package/dist/types.d.ts +12 -3
- package/dist/types.d.ts.map +1 -1
- package/docs/COMPARISON.md +22 -0
- package/docs/COMPONENTS.md +66 -0
- package/docs/CONTEXT_LAB.md +79 -0
- package/docs/FEATURES_AND_LIMITS.md +24 -0
- package/docs/INTEGRATIONS.md +68 -0
- package/docs/LEARNING.md +46 -0
- package/docs/PROJECT_KIT.md +93 -0
- package/docs/QUICKSTART.md +44 -0
- package/docs/README.md +33 -0
- package/docs/ROADMAP-v7.md +147 -0
- package/docs/SHARING.md +13 -0
- package/docs/SHOWCASE.md +87 -0
- package/docs/STATS.md +21 -0
- package/docs/TROUBLESHOOTING.md +42 -0
- package/docs/UPGRADE_PLAN_v7.0.0.md +203 -0
- package/docs/VIRAL-PLAYBOOK.md +259 -0
- package/docs/VISUAL_GUIDE_v7.1.4.md +70 -0
- package/docs/WORKFLOW_INTEGRATION.md +19 -1
- package/docs/WORKSPACE.md +37 -0
- package/docs/assets/7.1.4-collaboration-design-preview.png +0 -0
- package/docs/assets/7.1.4-comparison.png +0 -0
- package/docs/assets/7.1.4-context-lab.png +0 -0
- package/docs/assets/7.1.4-control-room-dense-preview.png +0 -0
- package/docs/assets/7.1.4-control-room-focus-preview.png +0 -0
- package/docs/assets/7.1.4-features.png +0 -0
- package/docs/assets/7.1.4-graph.png +0 -0
- package/docs/assets/7.1.4-hub-control-room.png +0 -0
- package/docs/assets/7.1.4-hub-empty.png +0 -0
- package/docs/assets/7.1.4-hub-knowledge.png +0 -0
- package/docs/assets/7.1.4-hub-learning.png +0 -0
- package/docs/assets/7.1.4-hub-mobile.png +0 -0
- package/docs/assets/7.1.4-hub-public-docs-source.png +0 -0
- package/docs/assets/7.1.4-hub-public-docs.gif +0 -0
- package/docs/assets/7.1.4-hub-public-docs.png +0 -0
- package/docs/assets/7.1.4-hub-setup.png +0 -0
- package/docs/assets/7.1.4-hub-walkthrough.gif +0 -0
- package/docs/assets/7.1.4-integrations.png +0 -0
- package/docs/assets/7.1.4-knowledge-design-preview.png +0 -0
- package/docs/assets/7.1.4-learning-design-preview.png +0 -0
- package/docs/assets/7.1.4-learning.png +0 -0
- package/docs/assets/7.1.4-live.png +0 -0
- package/docs/assets/7.1.4-memory-review.png +0 -0
- package/docs/assets/7.1.4-mobile.png +0 -0
- package/docs/assets/7.1.4-models-design-preview.png +0 -0
- package/docs/assets/7.1.4-outcome-ranking.png +0 -0
- package/docs/assets/7.1.4-overview.png +0 -0
- package/docs/assets/7.1.4-project-kit.png +0 -0
- package/docs/assets/7.1.4-project-skill-preview.png +0 -0
- package/docs/assets/7.1.4-replay.png +0 -0
- package/docs/assets/7.1.4-setup-design-preview.png +0 -0
- package/docs/assets/7.1.4-usage-design-preview.png +0 -0
- package/docs/assets/context-flow-v7.2.png +0 -0
- package/docs/assets/context-v7.1.3.png +0 -0
- package/docs/assets/features-v7.1.3.png +0 -0
- package/docs/assets/graph-v7.1.3.png +0 -0
- package/docs/assets/integrations-v7.1.3.png +0 -0
- package/docs/assets/live-v7.1.3.png +0 -0
- package/docs/assets/live-v7.1.4.gif +0 -0
- package/docs/assets/memory-detail-v7.1.3.png +0 -0
- package/docs/assets/overview-v7.1.3.png +0 -0
- package/docs/assets/workspace-graph-v7.2.png +0 -0
- package/docs/assets/workspace-overview-v7.2.png +0 -0
- package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.json +1818 -0
- package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.md +36 -0
- package/docs/launch/COMPONENT_MAP_v7.1.4.md +307 -0
- package/docs/launch/PROJECT_KIT_PLAN_v7.1.4.md +110 -0
- package/docs/launch/PROJECT_LEARNING_PLAN_v7.1.4.md +63 -0
- package/docs/launch/RELEASE_NOTES_v7.1.3.md +40 -0
- package/docs/launch/RELEASE_NOTES_v7.1.4.md +30 -0
- package/docs/launch/RELEASE_NOTES_v7.2.0.md +24 -0
- package/docs/launch/RESEARCH_AND_PLAN_v7.1.4.md +255 -0
- package/package.json +43 -126
- package/skills/shadow-research/SKILL.md +2 -0
- package/skills/shadow-workflow/SKILL.md +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.1.4] - 2026-11-13 - Brain Hub, shared work, and reviewed learning
|
|
4
|
+
|
|
5
|
+
- Made the dense Brain Hub the default portal, with an interactive memory graph, recorded-event animation, context comparison, knowledge intake, collaboration rooms, learning controls, and setup. The memory workspace and advanced interfaces remain available.
|
|
6
|
+
- Added bounded PDF text extraction with page citations, explicit approval into local memory, and a needs-OCR state for scanned pages.
|
|
7
|
+
- Added transactional project rooms with scoped MCP participation, task leases, typed messages, versioned artifact handoffs, acknowledgement, and recorded outcomes.
|
|
8
|
+
- Added evidence-linked lesson candidates with operator-reported evaluation, explicit promotion, idempotent memory commits and rollback. These controls do not train model weights or autonomously execute agents.
|
|
9
|
+
- Added independent server health and storage diagnostics, same-port reconnect, and stale-project mutation protection. Fixed local search/graph scope and Windows canonical-path and file-identity compatibility.
|
|
10
|
+
- Raised the Node 22 minimum to 22.13 for PDF.js and built-in SQLite. Node 24.x and 26+ remain supported.
|
|
11
|
+
|
|
12
|
+
- Added a provider-free project portal with persistent local knowledge, bounded project inspection, and task-specific skill previews. Generated skills remain inside the selected project and preserve edited or unowned files.
|
|
13
|
+
- Added a revisioned project feedback store and local learning controls. User and agent reports remain distinguishable; small task-relevant adjustments affect existing adaptive matches only and can be removed or disabled.
|
|
14
|
+
- Added optional adaptive retrieval with technical identifier/path matching, query-centered excerpts, duplicate grouping before the candidate cap, and bounded recorded-link expansion. Legacy remains the SDK/CLI/MCP default.
|
|
15
|
+
- Added Context Lab pipeline and candidate explanations, profile comparison, source/review attention queues, directional graph inspection, and live journal replay with transport filters and reduced motion.
|
|
16
|
+
- Added memory inspection/health tools, MCP resources and prompt templates, native client recipes, and five additional project-local tools. Local MCP launches enforce project scope across reads, prompts, resources and activity.
|
|
17
|
+
- Fixed automatic briefing invalidation after external writes and staged local changes, scoped inventory selection before its cap, and the isolated demo's explicit port parsing.
|
|
18
|
+
- Added an isolated synthetic demo, ten core workspace screenshots plus Project Kit and learning views, a GIF/MP4 walkthrough, a component catalog, and source-backed research/comparison documentation.
|
|
19
|
+
- Added paired retrieval diagnostics, local persistence/feedback/scope regressions and fresh-package checks. Diagnostic results describe author-generated cases, not superiority over competing tools or model answer quality.
|
|
20
|
+
|
|
21
|
+
Install `@7.1.4` explicitly when upgrading from the earlier publication named 7.2.0. Existing global memory workflows and advanced modules remain available; Project Kit does not migrate or merge them.
|
|
22
|
+
|
|
23
|
+
## [7.1.3] - 2026-11-11 - Live activity and curated memory
|
|
24
|
+
|
|
25
|
+
This release follows 7.2.0 using the version number requested by the maintainer. Install `@7.1.3` explicitly when upgrading from 7.2.0.
|
|
26
|
+
|
|
27
|
+
- Added a live portal with an event-driven session network, measured tool charts, host-reported phases, timeline, pause, and reduced motion.
|
|
28
|
+
- Added a bounded cross-process activity journal, cursor and reset detection, metadata-only MCP instrumentation, host reporting, and separate recording and visibility controls.
|
|
29
|
+
- Added memory review, typed relations, audit history, and project-scoped curation through the workspace and CLI.
|
|
30
|
+
- Excluded archived, contested, and superseded memories before context ranking; briefings refresh when reviews change.
|
|
31
|
+
- Added standard MCP stdio, client capability checks, project skill diagnostics, and generated launch configuration.
|
|
32
|
+
- Improved workspace navigation, source coverage, graph filtering, context explanations, dark mode, and mobile layouts.
|
|
33
|
+
- Fixed empty-project graph scope, preservation of pending writes during read refresh, and per-client attach/detach targeting.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [7.2.0] - 2026-11-11 - Context Packs and Workspace
|
|
37
|
+
|
|
38
|
+
- Make the local workspace the default dashboard with overview, searchable memories, graph, context, and feature controls. Keep the previous dashboard at `/advanced`.
|
|
39
|
+
- Build size-bounded, project-scoped context packs with ranked memory selection, duplicate handling, recorded source provenance, and selection explanations.
|
|
40
|
+
- Use context packs for session briefings. Key cached results to the task and current settings, and check enablement before reading or returning a briefing.
|
|
41
|
+
- Persist four validated feature settings for context assembly, explicit cross-project context, automatic briefings, and dashboard activity delivery.
|
|
42
|
+
- Add `context-pack` and `features list|set` commands, read-only `context_pack` and `feature_flags` MCP tools, and public context and settings APIs.
|
|
43
|
+
- Refresh the README and workspace guide with a concept illustration and dashboard screenshots.
|
|
44
|
+
|
|
3
45
|
## [7.1.0] - 2026-11-11 - Focused Workflows and Portable Skills
|
|
4
46
|
|
|
5
47
|
- Bundle six reusable skills for proportionate planning, implementation, diagnosis, review, research, and release work.
|
package/README.md
CHANGED
|
@@ -1,450 +1,125 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
shadow-brain --
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
shadow-brain live-brain status .
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
Only attach after you review what will be changed:
|
|
130
|
-
|
|
131
|
-
```bash
|
|
132
|
-
shadow-brain attach-all .
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Detach later if needed:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
shadow-brain detach-all .
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
## v6.0.3: Live Brain
|
|
142
|
-
|
|
143
|
-
The 6.0.3 release focuses on practical long-memory improvement for agents.
|
|
144
|
-
|
|
145
|
-
### Live Brain Status
|
|
146
|
-
|
|
147
|
-
```bash
|
|
148
|
-
shadow-brain live-brain status .
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Shows:
|
|
152
|
-
|
|
153
|
-
- memory count
|
|
154
|
-
- average memory quality
|
|
155
|
-
- source coverage
|
|
156
|
-
- stale memories
|
|
157
|
-
- duplicate clusters
|
|
158
|
-
- recall eval score
|
|
159
|
-
- recommended cleanup actions
|
|
160
|
-
|
|
161
|
-
JSON output:
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
shadow-brain live-brain status . --json
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### Agent Briefing
|
|
168
|
-
|
|
169
|
-
Generate a markdown briefing for a fresh agent session:
|
|
170
|
-
|
|
171
|
-
```bash
|
|
172
|
-
shadow-brain live-brain brief . -o SHADOW_BRAIN_AGENT_BRIEF.md
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
The briefing includes:
|
|
176
|
-
|
|
177
|
-
- rules for agents
|
|
178
|
-
- top source-backed memories
|
|
179
|
-
- memory warnings
|
|
180
|
-
- recall health
|
|
181
|
-
- commands agents should run next
|
|
182
|
-
|
|
183
|
-
### Recall Eval
|
|
184
|
-
|
|
185
|
-
Check whether the brain can retrieve useful memories for common agent tasks:
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
shadow-brain live-brain eval .
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
Custom eval queries use pipe separators:
|
|
192
|
-
|
|
193
|
-
```bash
|
|
194
|
-
shadow-brain live-brain eval . --queries "current blocker|do not repeat|verified command"
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
### Memory Hygiene
|
|
198
|
-
|
|
199
|
-
List concrete cleanup and learning actions:
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
shadow-brain live-brain hygiene .
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
This highlights missing sources, stale memories, duplicates, weak recall, and missing project-scoped memories.
|
|
206
|
-
|
|
207
|
-
### Training/Eval Export
|
|
208
|
-
|
|
209
|
-
Export source-backed memories as JSONL:
|
|
210
|
-
|
|
211
|
-
```bash
|
|
212
|
-
shadow-brain live-brain train-pack . --out shadow-brain-training.jsonl
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
This is useful for:
|
|
216
|
-
|
|
217
|
-
- retrieval evals
|
|
218
|
-
- local distillation experiments
|
|
219
|
-
- supervised fine-tuning datasets
|
|
220
|
-
- memory regression tests
|
|
221
|
-
|
|
222
|
-
The export is only data preparation. You choose the downstream training/eval tool.
|
|
223
|
-
|
|
224
|
-
## Core Memory Commands
|
|
225
|
-
|
|
226
|
-
Recall from the global brain:
|
|
227
|
-
|
|
228
|
-
```bash
|
|
229
|
-
shadow-brain global recall --query "current blocker next step" --json --limit 8
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
Show global stats:
|
|
233
|
-
|
|
234
|
-
```bash
|
|
235
|
-
shadow-brain global stats
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
Create a source-backed resume seed:
|
|
239
|
-
|
|
240
|
-
```bash
|
|
241
|
-
shadow-brain resume-seed . -o SHADOW_BRAIN_RESUME_SEED.md
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
Show what a project has learned:
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
shadow-brain timeline . --limit 30
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
Create a cross-agent handoff packet:
|
|
251
|
-
|
|
252
|
-
```bash
|
|
253
|
-
shadow-brain handoff codex claude-code . --task "continue release verification"
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Record a durable memory from a script:
|
|
257
|
-
|
|
258
|
-
```bash
|
|
259
|
-
node tools/record-global-memory.mjs ^
|
|
260
|
-
--project-dir "." ^
|
|
261
|
-
--project-name "my-project" ^
|
|
262
|
-
--agent codex ^
|
|
263
|
-
--category "project.lesson" ^
|
|
264
|
-
--importance 0.8 ^
|
|
265
|
-
--tags "memory,release" ^
|
|
266
|
-
--sources "README.md,CHANGELOG.md" ^
|
|
267
|
-
--content "Keep release notes source-backed and verify npm metadata before publish."
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
## Dashboard
|
|
271
|
-
|
|
272
|
-
Start the local dashboard:
|
|
273
|
-
|
|
274
|
-
```bash
|
|
275
|
-
shadow-brain dash . --no-open --port 7341
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
For a fast UI/API-only launch on a large repo:
|
|
279
|
-
|
|
280
|
-
```bash
|
|
281
|
-
shadow-brain dash . --no-open --no-analysis --host 127.0.0.1 --port 7341
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
Open:
|
|
285
|
-
|
|
286
|
-
```text
|
|
287
|
-
http://127.0.0.1:7341
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
The v6 dashboard includes a **Live Brain** tab for memory health, source coverage, recall evals, hygiene actions, top memories, and the generated agent briefing.
|
|
291
|
-
|
|
292
|
-
It also includes:
|
|
293
|
-
|
|
294
|
-
- **Memory Browser intelligence cards** for total memories, source coverage, fresh learning, seed queue, top categories, agent coverage, and top tags.
|
|
295
|
-
- **Memory Seeder** for controlled research-to-memory workflows. Drafts stay out of the global brain until approval is complete.
|
|
296
|
-
- **Token Economy accuracy split**: current runtime agent is shown separately from historical model spend, so old Claude/Cursor spend records do not imply the dashboard is running that agent.
|
|
297
|
-
|
|
298
|
-
### Realtime Activity (new in 6.1.0)
|
|
299
|
-
|
|
300
|
-
The dashboard now streams brain activity live over its WebSocket instead of polling. Memory writes, dreams, seed drafts/commits, collisions, sub-agent spawns, and consolidation cycles appear the instant they happen.
|
|
301
|
-
|
|
302
|
-
- **Live Pulse** card on the Overview with a streaming mini-feed and an events/min rate.
|
|
303
|
-
- **Activity Log** tab with filter chips, a pulsing LIVE badge, pause/resume, clear, search, and an events/min sparkline.
|
|
304
|
-
- **Connection indicator** in the header — green when the realtime socket is live, amber while reconnecting.
|
|
305
|
-
- **Cross-process aware**: a memory written by an agent in a *different* terminal is picked up by watching `~/.shadow-brain/global.json`, so the feed reflects the whole machine, not just this process.
|
|
306
|
-
|
|
307
|
-
Polling remains as a 15-second reconciliation fallback; live events arrive in well under a second.
|
|
308
|
-
|
|
309
|
-
### Intelligence Hub — Memory Constellation (new in 6.2.0)
|
|
310
|
-
|
|
311
|
-
A new **Intelligence** tab turns the brain into an interactive graph. Every memory, project, agent, and tag is a node in a force-directed **Memory Constellation**, sized by importance (PageRank blended with each memory's own score) and linked by project, author, tags, and shared-tag relatedness.
|
|
312
|
-
|
|
313
|
-
- **Interactive**: scroll to zoom, drag to pan, click a node to focus its neighborhood and open a detail drawer; hover for a tooltip.
|
|
314
|
-
- **Filters + search** by node type (memory / project / agent / tag).
|
|
315
|
-
- **Live**: new memories pulse into the graph over the realtime stream.
|
|
316
|
-
- **Analytics strip**: source-coverage gauge, agent-contribution and category charts, tag cloud, and a recent-memory feed.
|
|
317
|
-
- Works instantly on your existing `~/.shadow-brain/global.json` — no project analysis or setup step.
|
|
318
|
-
|
|
319
|
-
Several previously sparse tabs were also rebuilt with real visualizations: **Pre-Mortem** (risk matrix + failure cards), **Attention** (weighted heat bars), **Calibration** (Brier/trust chart), **Reputation** (trust rings), **Causal Chains** (node-link DAG), and **Branch Brains** (stat cards).
|
|
320
|
-
|
|
321
|
-
Constellation API:
|
|
322
|
-
|
|
323
|
-
```text
|
|
324
|
-
GET /api/v6/memory-graph
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
Memory seeding API:
|
|
329
|
-
|
|
330
|
-
```text
|
|
331
|
-
GET /api/v6/seed-drafts
|
|
332
|
-
POST /api/v6/seed-draft
|
|
333
|
-
POST /api/v6/seed-approve
|
|
334
|
-
POST /api/v6/seed-reject
|
|
335
|
-
POST /api/v6/seed-commit
|
|
336
|
-
GET /api/v6/memory-intelligence
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
Useful API endpoints:
|
|
340
|
-
|
|
341
|
-
```text
|
|
342
|
-
GET/POST /api/v6/live-brain
|
|
343
|
-
GET/POST /api/v6/resume-pack
|
|
344
|
-
GET/POST /api/v6/ww2br-recall
|
|
345
|
-
GET/POST /api/v6/memory-browser
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
Example:
|
|
349
|
-
|
|
350
|
-
```bash
|
|
351
|
-
curl "http://127.0.0.1:7341/api/v6/live-brain?projectDir=C:/path/to/project"
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
## MCP Tools
|
|
355
|
-
|
|
356
|
-
The MCP server exposes memory and agent-control tools for compatible clients.
|
|
357
|
-
|
|
358
|
-
New in 6.3.0:
|
|
359
|
-
|
|
360
|
-
- `global_recall_scored` — recall with a per-memory confidence score (recency, author importance, cross-agent corroboration, prior usage, keyword relevance). Results are ranked by confidence so agents can weight memories instead of trusting every hit equally. Supports `minConfidence` to drop low-trust hits.
|
|
361
|
-
|
|
362
|
-
New in 6.0.3:
|
|
363
|
-
|
|
364
|
-
- `live_brain_status`
|
|
365
|
-
- `live_brain_brief`
|
|
366
|
-
- `live_brain_train_pack`
|
|
367
|
-
|
|
368
|
-
Existing useful tools include:
|
|
369
|
-
|
|
370
|
-
- `global_recall`
|
|
371
|
-
- `global_recall_scored`
|
|
372
|
-
- `global_stats`
|
|
373
|
-
- `global_timeline`
|
|
374
|
-
- `subconscious_inject`
|
|
375
|
-
- `agent_handoff`
|
|
376
|
-
- `firewall_check`
|
|
377
|
-
|
|
378
|
-
Start MCP from the dashboard API or existing CLI/server integration, depending on your setup.
|
|
379
|
-
|
|
380
|
-
## How Agents Should Use It
|
|
381
|
-
|
|
382
|
-
Recommended workflow for complex work:
|
|
383
|
-
|
|
384
|
-
1. Run `shadow-brain live-brain status <project>`.
|
|
385
|
-
2. Generate or read a live briefing.
|
|
386
|
-
3. Verify current project docs and source files.
|
|
387
|
-
4. Work normally.
|
|
388
|
-
5. Record only durable, source-backed lessons after proof.
|
|
389
|
-
6. Run recall evals when memory quality starts to drift.
|
|
390
|
-
|
|
391
|
-
Good memories are short, action-oriented, and source-backed:
|
|
392
|
-
|
|
393
|
-
```text
|
|
394
|
-
[lesson:release-readme-v1] Before publishing, verify package.json version, package-lock root version, README install commands, build output, and npm pack contents.
|
|
395
|
-
Sources: package.json; package-lock.json; README.md
|
|
396
|
-
Tags: release,npm,verification
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
Bad memories are vague:
|
|
400
|
-
|
|
401
|
-
```text
|
|
402
|
-
Make project better.
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
## Local Data
|
|
406
|
-
|
|
407
|
-
Default global brain:
|
|
408
|
-
|
|
409
|
-
```text
|
|
410
|
-
~/.shadow-brain/global.json
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
Project-local generated files may include:
|
|
414
|
-
|
|
415
|
-
```text
|
|
416
|
-
SHADOW_BRAIN_AGENT_BRIEF.md
|
|
417
|
-
SHADOW_BRAIN_RESUME_SEED.md
|
|
418
|
-
shadow-brain-training.jsonl
|
|
419
|
-
```
|
|
420
|
-
|
|
421
|
-
Do not store secrets, API keys, passwords, private keys, or raw credentials in memory content, metadata, tags, prompts, reports, or exported training data.
|
|
422
|
-
|
|
423
|
-
## Development
|
|
424
|
-
|
|
425
|
-
```bash
|
|
426
|
-
npm ci --ignore-scripts
|
|
427
|
-
npm run verify
|
|
428
|
-
npm run test:package
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
Focused tests:
|
|
432
|
-
|
|
433
|
-
```bash
|
|
434
|
-
npx vitest run tests/brain/live-brain.test.ts tests/brain/context-continuity.test.ts
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
On Windows PowerShell, if execution policy blocks `npm.ps1`, use:
|
|
438
|
-
|
|
439
|
-
```powershell
|
|
440
|
-
npm.cmd run build
|
|
441
|
-
npx.cmd vitest run tests\brain\live-brain.test.ts
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
## Release Checklist
|
|
445
|
-
|
|
446
|
-
Run `npm run verify`, `npm audit --audit-level=high`, and `npm run test:package`. Inspect the package allowlist, then publish the verified tarball. Confirm the npm version, integrity, and GitHub tag before announcing a release. See [the complete release checklist](docs/launch/RELEASE_CHECKLIST_v7.0.0.md).
|
|
447
|
-
|
|
448
|
-
## License
|
|
449
|
-
|
|
450
|
-
MIT
|
|
1
|
+
<h1 align="center">Agent Shadow Brain</h1>
|
|
2
|
+
|
|
3
|
+
[](https://github.com/theihtishaam)
|
|
4
|
+
<p align="center"><strong>A shared brain for the tools you build with.</strong></p>
|
|
5
|
+
<p align="center">Keep project knowledge, understand context, and follow the work between your AI tools.</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/@theihtisham/agent-shadow-brain"><img alt="npm latest version" src="https://img.shields.io/npm/v/@theihtisham/agent-shadow-brain/latest?label=npm&color=0f766e"></a>
|
|
9
|
+
<a href="https://www.npmjs.com/package/@theihtisham/agent-shadow-brain"><img alt="npm downloads per month" src="https://img.shields.io/npm/dm/@theihtisham/agent-shadow-brain?label=downloads%20%2F%20month&color=0f766e"></a>
|
|
10
|
+
<a href="docs/STATS.md"><img alt="Cumulative npm downloads" src="https://raw.githubusercontent.com/theihtishaam/agents-brain/main/docs/assets/npm-total-downloads.svg"></a>
|
|
11
|
+
<a href="https://github.com/theihtishaam/agents-brain/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/theihtishaam/agents-brain/actions/workflows/ci.yml/badge.svg?branch=main"></a>
|
|
12
|
+
<a href="LICENSE"><img alt="MIT license" src="https://img.shields.io/github/license/theihtishaam/agents-brain?color=475569"></a>
|
|
13
|
+
<a href="https://github.com/theihtishaam/agents-brain/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/theihtishaam/agents-brain?style=flat&logo=github&color=475569"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p align="center"><a href="#try-it">Try it</a> · <a href="#inside-the-brain-hub">Visual tour</a> · <a href="#connect-your-agent">Connect your agent</a> · <a href="docs/README.md">Documentation</a></p>
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
[What works and its limits](docs/FEATURES_AND_LIMITS.md)
|
|
21
|
+
|
|
22
|
+
The Brain Hub brings project memory, cited PDF pages, shared work, and recorded tool activity into one local workspace. The animation shows 74 excerpts from 18 public Agent Brain documents loaded into an isolated store. The activity journal records three actual local MCP calls from a scripted client. [Public documentation snapshot](https://github.com/theihtishaam/agents-brain/tree/2e26e7b349db4dd75bf0277b28caff8044190d16) · [Visual guide](docs/VISUAL_GUIDE_v7.1.4.md)
|
|
23
|
+
|
|
24
|
+
## Try it
|
|
25
|
+
|
|
26
|
+
Use **Node.js 22.13+ in the 22.x line, 24.x, or 26+**. This guide describes the 7.1.4 build. Check the installed version before using the Hub steps.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g @theihtisham/agent-shadow-brain@latest
|
|
30
|
+
shadow-brain --version
|
|
31
|
+
cd your-project
|
|
32
|
+
shadow-brain project workspace . --port 62595
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Keep the launcher running and open [the project Brain Hub](http://127.0.0.1:62595/hub). Use the same project directory and port when restarting. Port `0` lets the OS assign a free port, so open the URL printed by that launch. The classic workspace remains at `/workspace`; detailed activity diagnostics remain at `/live`.
|
|
36
|
+
|
|
37
|
+
To build from this checkout while preparing a release, use `npm ci`, `npm run build`, then `node dist/cli.js project workspace . --port 62595`. The command’s directory argument selects which project store to open. [Quickstart](docs/QUICKSTART.md) · [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
38
|
+
|
|
39
|
+
## Inside the Brain Hub
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
| View | What you can do |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| **Brain overview** | Follow stored memory relationships, open a node or its keyboard-accessible list entry, and seek through recorded activity. An empty store has zero graph nodes and edges. |
|
|
46
|
+
| **Knowledge** | Upload a PDF, review extracted text page by page, approve a cited page into project memory, or save supplied knowledge. Preview and apply a host-specific project skill. |
|
|
47
|
+
| **Collaboration** | Open a project room, post a proposal or critique, claim a task, attach a project file, accept evidence, and record the outcome. |
|
|
48
|
+
| **Context** | Assemble a scoped pack, inspect selected passages and sources, compare retrieval profiles, and copy the rendered Markdown. |
|
|
49
|
+
| **Models and Usage** | Inspect host file presence, retained tool activity, and estimated pack tokens. Missing model identities, token receipts, and costs display as unavailable. |
|
|
50
|
+
| **Learning** | Create a lesson from a recorded outcome. Record a paired evaluation, promote an eligible lesson, or roll back its retrieval influence. |
|
|
51
|
+
| **Setup** | Copy client configuration recipes and manage persisted runtime controls. |
|
|
52
|
+
|
|
53
|
+
### Follow evidence from a PDF to a context pack
|
|
54
|
+
|
|
55
|
+

|
|
56
|
+
|
|
57
|
+
```mermaid
|
|
58
|
+
flowchart LR
|
|
59
|
+
PDF[Local PDF] --> Parse[Extract page text]
|
|
60
|
+
Parse --> Review[Review cited page]
|
|
61
|
+
Review -->|Approve| Memory[Project memory]
|
|
62
|
+
Memory --> Pack[Scoped context pack]
|
|
63
|
+
Pack --> Host[Copy or retrieve through MCP]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The project store records the document fingerprint and the approved page citation. An image-only page shows that OCR is needed. Context budget figures estimate rendered pack tokens, and profile comparisons use the same scoped request. Provider billing and model-token receipts remain unavailable. [Context guide](docs/CONTEXT_LAB.md)
|
|
67
|
+
|
|
68
|
+
### Coordinate work and record a lesson
|
|
69
|
+
|
|
70
|
+
```mermaid
|
|
71
|
+
flowchart LR
|
|
72
|
+
Goal[Project room] --> Msg[Proposal or critique]
|
|
73
|
+
Msg --> Claim[Task claim and lease]
|
|
74
|
+
Claim --> Artifact[Versioned file and digest]
|
|
75
|
+
Artifact --> Outcome[Recorded outcome]
|
|
76
|
+
Outcome --> Candidate[Lesson candidate]
|
|
77
|
+
Candidate --> Evaluate[Operator records evaluation]
|
|
78
|
+
Evaluate --> Promote[Explicit promotion]
|
|
79
|
+
Promote --> Rollback[Rollback archives retrieval influence]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Browser and compatible project-local MCP clients share the same room records. Task claims carry revisions and expire. A recipient acknowledgement references the specific message or artifact. Learning changes project memory and retrieval. The workspace does not run models, train them, or assign work to hosts by itself. [Workspace guide](docs/WORKSPACE.md) · [Workflow integration](docs/WORKFLOW_INTEGRATION.md)
|
|
83
|
+
|
|
84
|
+

|
|
85
|
+
|
|
86
|
+
### Browse the original evidence tools
|
|
87
|
+
|
|
88
|
+
The classic workspace offers memory curation, typed relationships, retrieval feedback, and the full Context Lab. The detailed activity view adds filters and playback controls for the loaded journal.
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+

|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
## Connect your agent
|
|
97
|
+
|
|
98
|
+
Generate a recipe from the same directory used to start the project workspace. The recipe identifies the project store and launches the local stdio service.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
shadow-brain project config . --target codex
|
|
102
|
+
shadow-brain skills install . --target codex
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Preview the skill installation before adding `--apply`. Merge the printed recipe in the selected host, reconnect, and confirm it can list and call a tool such as `project_inspect` or `context_pack`. A recorded exchange will appear when activity recording and display are enabled. [Integration guide](docs/INTEGRATIONS.md)
|
|
106
|
+
|
|
107
|
+
| Target | Recipe |
|
|
108
|
+
| --- | --- |
|
|
109
|
+
| Codex | `shadow-brain project config . --target codex` |
|
|
110
|
+
| Claude Code | `shadow-brain project config . --target claude-code` |
|
|
111
|
+
| OpenCode | `shadow-brain project config . --target opencode` |
|
|
112
|
+
| DeepSeek Harness | `shadow-brain project config . --target deepseek-harness` |
|
|
113
|
+
| Other compatible host | `shadow-brain project config . --target portable` |
|
|
114
|
+
|
|
115
|
+
The Setup page distinguishes installed skill files and generated configuration from recorded activity. The public documentation capture used a scripted MCP client. Native host connectivity, model identity, and provider usage remain unavailable in that capture.
|
|
116
|
+
|
|
117
|
+

|
|
118
|
+
|
|
119
|
+
## Documentation
|
|
120
|
+
|
|
121
|
+
- [Quickstart](docs/QUICKSTART.md) · [Workspace guide](docs/WORKSPACE.md) · [Visual guide](docs/VISUAL_GUIDE_v7.1.4.md) · [Features and limits](docs/FEATURES_AND_LIMITS.md)
|
|
122
|
+
- [Project Kit](docs/PROJECT_KIT.md) · [Context Lab](docs/CONTEXT_LAB.md) · [Workflow skills](docs/WORKFLOW_INTEGRATION.md)
|
|
123
|
+
- [Integrations](docs/INTEGRATIONS.md) · [Troubleshooting](docs/TROUBLESHOOTING.md) · [Release notes](docs/launch/RELEASE_NOTES_v7.1.4.md)
|
|
124
|
+
|
|
125
|
+
MIT license. [Changelog](CHANGELOG.md)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity-cli.d.ts","sourceRoot":"","sources":["../src/activity-cli.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyDpC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA2C/D"}
|