@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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent Shadow Brain 7.1.4 context evaluation
|
|
2
|
+
|
|
3
|
+
Paired runs used the same author-generated corpus and options for each case. Each profile assembled context from the compiled package after its isolated JSON store had loaded.
|
|
4
|
+
|
|
5
|
+
| Profile | Cases passed | Context recall@5 | Context MRR@5 | Scope leaks | Budget violations | Median assembly |
|
|
6
|
+
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
|
|
7
|
+
| legacy | 6 / 14 | 0.679 | 0.731 | 0 / 1 | 0 | 0.225 ms |
|
|
8
|
+
| adaptive | 14 / 14 | 1.000 | 1.000 | 0 / 1 | 0 | 0.756 ms |
|
|
9
|
+
|
|
10
|
+
| Fixture | Records | Legacy checks | Adaptive checks |
|
|
11
|
+
| --- | ---: | --- | --- |
|
|
12
|
+
| Exact lexical control | 2 | Pass | Pass |
|
|
13
|
+
| No lexical evidence | 1 | Pass | Pass |
|
|
14
|
+
| Exact Java match and metadata boundary | 3 | excludes forbidden IDs, ranks expected record first | Pass |
|
|
15
|
+
| Late identifier remains visible in the excerpt | 1 | shows expected passage in the excerpt | Pass |
|
|
16
|
+
| Exact duplicates leave room for a distinct checksum lesson | 205 | includes relevant IDs, preserves reference and original memory ID | Pass |
|
|
17
|
+
| Whole camelCase query matches snake_case | 2 | includes relevant IDs, ranks expected record first | Pass |
|
|
18
|
+
| Whole snake_case query matches PascalCase | 2 | includes relevant IDs, ranks expected record first | Pass |
|
|
19
|
+
| Relative query matches a recorded Windows source reference | 2 | excludes forbidden IDs | Pass |
|
|
20
|
+
| Unicode text and code punctuation | 2 | Pass | Pass |
|
|
21
|
+
| Cross-project setting alone preserves project scope | 2 | Pass | Pass |
|
|
22
|
+
| Both cross-project gates permit labeled origins | 2 | Pass | Pass |
|
|
23
|
+
| Archived, contested, and superseded states remain excluded | 4 | Pass | Pass |
|
|
24
|
+
| Recorded links stop at one hop and preserve contradiction caution | 6 | includes relevant IDs | Pass |
|
|
25
|
+
| Tight Unicode and code budget still shows the matched identifier | 1 | includes relevant IDs, shows expected passage in the excerpt | Pass |
|
|
26
|
+
|
|
27
|
+
Runtime used v24.15.0 on win32/x64. Each case has one warm-store assembly measurement per profile. The first profile alternates by case.
|
|
28
|
+
|
|
29
|
+
Recall and reciprocal rank use the first 5 selected context entries and explicit relevant IDs. The no-evidence case is evaluated as abstention. Candidate explanations and the new estimate method are checked only where the adaptive profile provides them.
|
|
30
|
+
|
|
31
|
+
- The author-generated fixtures target named behaviors and do not measure model answer quality or competitor performance.
|
|
32
|
+
- Token counts are profile-specific estimates and may differ from a receiving model’s tokenizer.
|
|
33
|
+
- Timing covers context assembly after loading each store and excludes initialization, packaging, UI, and model calls.
|
|
34
|
+
- Lexical variants and recorded links do not provide general semantic paraphrase retrieval or factual verification.
|
|
35
|
+
|
|
36
|
+
Run npm run build followed by node tools/evaluate-context.mjs to reproduce the paired JSON results.
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
# Component map for 7.1.4
|
|
2
|
+
|
|
3
|
+
Prepared 2026-11-12 from the repository's source. This map explains the selected release architecture and inventories retained code. **A source file's presence is not a claim that its feature is enabled, integrated into the default workflow, or independently verified.** Final verification belongs in the release evidence report.
|
|
4
|
+
|
|
5
|
+
## The everyday workflow
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
flowchart LR
|
|
9
|
+
A[Agent or user] --> B[MCP, CLI, or local workspace]
|
|
10
|
+
B --> C[Explicit project and task]
|
|
11
|
+
C --> D[Memory snapshot]
|
|
12
|
+
E[Reviews and recorded relations] --> F[Eligible memories]
|
|
13
|
+
D --> F
|
|
14
|
+
F --> G[Legacy or adaptive retrieval]
|
|
15
|
+
G --> H[Bounded context and reasons]
|
|
16
|
+
H --> I[Inspect and compare]
|
|
17
|
+
I --> J[Copy context or selected handoff prompt]
|
|
18
|
+
J --> A
|
|
19
|
+
I --> K[Explicit revision-checked review]
|
|
20
|
+
K --> E
|
|
21
|
+
B --> L[Measured calls or reported phases]
|
|
22
|
+
L --> M[Bounded activity journal]
|
|
23
|
+
M --> N[Live view and recorded replay]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The arrows describe data flow. They do not imply that every agent is connected, every tool call is captured, or copied context has been consumed by a model.
|
|
27
|
+
|
|
28
|
+
## Main components and responsibilities
|
|
29
|
+
|
|
30
|
+
| Component | Purpose | Boundary |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| Global memory store | Persist memory records, project/agent identities, storage health, and recorded use | Schema version 1; atomic writes and bounded store policies |
|
|
33
|
+
| Annotation store | Persist reviews, recorded relation types, revisions, and audit history | Explicit review operations; does not verify truth |
|
|
34
|
+
| Feature settings | Persist five actual runtime controls | Validated fields and revisions; separate from provider configuration |
|
|
35
|
+
| Legacy recall | Keep established substring/ranking behavior available | Ranking is heuristic; legacy compatibility is intentional |
|
|
36
|
+
| Adaptive retrieval | Improve technical matching, duplicate handling, excerpts, and bounded recorded-link expansion | Explicit profile; no embeddings or provider call required |
|
|
37
|
+
| Context assembler | Apply scope, curation, selection, exclusions, rendering, and output bounds | Stored text is reference material; sources are not opened |
|
|
38
|
+
| Memory health | Present scoped counts and actionable review signals | Missing sources, age, and unreviewed status are not truth judgments |
|
|
39
|
+
| Subconscious briefing | Supply existing session-start context behavior | Automatic-briefing control applies; profile differences must be documented |
|
|
40
|
+
| Workspace API | Validate requests and expose shared results to the local UI | Same scope/review semantics as CLI and MCP; inspections remain read-only |
|
|
41
|
+
| Workspace UI | Inspect memory, graph relations, attention queue, context, and integrations | Shows recorded evidence and actual results; does not infer connections |
|
|
42
|
+
| MCP stdio | Expose memory/context/workflow tools, resources, and selected prompts | Client capability determines which surfaces are available |
|
|
43
|
+
| CLI | Run context, curation, activity, workflow, skill, and diagnostic operations | Explicit flags select new behavior; old commands remain |
|
|
44
|
+
| Workflow skills | Give clients focused procedures for selecting, implementing, debugging, reviewing, researching, and releasing work | Installing files does not prove host discovery or execution |
|
|
45
|
+
| Client recipes/diagnostics | Produce configuration snippets and inspect managed project skill-file presence | No personal profiles, credentials, or session data are read |
|
|
46
|
+
| Activity reporting | Record measured MCP calls and explicitly reported phases/spans | Records bounded metadata, not model thoughts or a complete host trace |
|
|
47
|
+
| Durable activity journal | Persist the latest bounded events with sequence and journal identity | Readers can detect gaps and restarts |
|
|
48
|
+
| Live portal | Show sessions, events, networks, timing, and recorded playback | A replay is historical; measured and reported events remain distinct |
|
|
49
|
+
| Isolated workspace demo | Serve the real UI with synthetic records and scripted local calls through `demo workspace` | Separate temporary store; no client discovery or personal provider configuration |
|
|
50
|
+
| Project Kit (added scope) | Inspect a chosen project's stack evidence, save explicit local knowledge, and preview/apply a requirement-specific skill | Persistent project store and project skill roots; no automatic source ingestion, global installation, or overwrite of user edits; implementation acceptance pending |
|
|
51
|
+
| Project feedback (added scope) | Persist attributed task outcomes and make bounded, reversible adjustments to relevant adaptive candidates | Project-only sidecar; reported evidence, no model training, truth verification, automatic curation, or global influence; implementation acceptance pending |
|
|
52
|
+
| Package/library exports | Supply CLI binaries and public TypeScript/JavaScript entry points | Verify the packed artifact in a fresh consumer |
|
|
53
|
+
|
|
54
|
+
## Persistent project workflow
|
|
55
|
+
|
|
56
|
+
`project workspace` creates an independent memory service pinned to the selected directory. `project-memory.ts` supplies canonical store paths and explicit knowledge writes. `project-kit-inspection.ts` extracts bounded observed markers; `project-kit-paths.ts` checks roots, links, and bounded reads; `project-kit.ts` produces requirement-specific previews and protects applied files with ownership receipts. `project-feedback.ts` owns local outcome persistence and relevance adjustments. The portal, CLI, and MCP use these shared services.
|
|
57
|
+
|
|
58
|
+
Knowledge and outcomes persist under `.shadow-brain` in the selected project. Generated skill files use the selected client's project skill directory. The local portal must not consume another store's process-wide activity feed. Its MCP recipe includes the exact database and project identity. This persistent workflow is separate from the disposable `demo workspace` tour.
|
|
59
|
+
|
|
60
|
+
The project learning flag is a local feedback-store control, separate from the five global feature controls below. Its meaning is whether reported outcomes influence adaptive retrieval; switching it off retains the reports. See the [Project Kit plan](PROJECT_KIT_PLAN_v7.1.4.md) and [learning plan](PROJECT_LEARNING_PLAN_v7.1.4.md) for acceptance gates.
|
|
61
|
+
|
|
62
|
+
## Controls and their effects
|
|
63
|
+
|
|
64
|
+
| Control | Default | Effect |
|
|
65
|
+
| --- | --- | --- |
|
|
66
|
+
| Context assembly | On | Allows the shared context pack path; disabled requests return before recall |
|
|
67
|
+
| Cross-project context | Off | Permits broader scope only together with an explicit request |
|
|
68
|
+
| Automatic briefing | On | Allows the existing session-start briefing path |
|
|
69
|
+
| Live dashboard activity | On | Allows activity to be shown/refreshed in the dashboard |
|
|
70
|
+
| Record agent activity | On | Allows new bounded activity-journal records |
|
|
71
|
+
|
|
72
|
+
Visibility and recording are different. Disabling visibility does not erase recorded events. Per-request retrieval profile and relation expansion are request options, not extra persisted global switches.
|
|
73
|
+
|
|
74
|
+
## What a connection proves
|
|
75
|
+
|
|
76
|
+
| Observation | What it establishes |
|
|
77
|
+
| --- | --- |
|
|
78
|
+
| Client appears in capability list | A documented recipe or supported layout exists |
|
|
79
|
+
| Skill file is present | The managed project file exists at the inspected path |
|
|
80
|
+
| MCP handshake and tool list succeed | That process can speak the advertised protocol |
|
|
81
|
+
| Host reports a phase | The host explicitly submitted that metadata |
|
|
82
|
+
| Server measures a tool call | The local server observed that call and its timing |
|
|
83
|
+
| User sees a completed host interaction | That particular client workflow operated end to end |
|
|
84
|
+
|
|
85
|
+
Do not collapse these observations into an unqualified green “connected” badge. Prompts, resources, and tools have different support across clients.
|
|
86
|
+
|
|
87
|
+
## Retained advanced code
|
|
88
|
+
|
|
89
|
+
The repository also exports or retains analyzers, memory experiments, team/swarm concepts, graph algorithms, portability, dashboards, speech/visual experiments, and legacy continuity paths. These remain available according to their existing entry points and configuration. Their names are not evidence of general intelligence, autonomous learning, formal correctness, or complete integration with adaptive context.
|
|
90
|
+
|
|
91
|
+
The `src/index.ts` export surface and CLI/server entry points are the authoritative starting points for checking accessibility. The source inventory below makes every module discoverable without expanding the README into a feature catalogue. Refer to focused tests and release evidence before making a stronger capability claim.
|
|
92
|
+
|
|
93
|
+
## Source inventory
|
|
94
|
+
|
|
95
|
+
This inventory is generated from source filenames. It classifies location, not verification status. New 7.1.4 files should be included again when the final package is prepared.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### src
|
|
99
|
+
|
|
100
|
+
- [project-cli.ts](../../src/project-cli.ts)
|
|
101
|
+
|
|
102
|
+
- [activity-cli.ts](../../src/activity-cli.ts)
|
|
103
|
+
- [cli.ts](../../src/cli.ts)
|
|
104
|
+
- [context-cli.ts](../../src/context-cli.ts)
|
|
105
|
+
- [curation-cli.ts](../../src/curation-cli.ts)
|
|
106
|
+
- [index.ts](../../src/index.ts)
|
|
107
|
+
- [integration-cli.ts](../../src/integration-cli.ts)
|
|
108
|
+
- [types.ts](../../src/types.ts)
|
|
109
|
+
- [workflow-cli.ts](../../src/workflow-cli.ts)
|
|
110
|
+
|
|
111
|
+
### src/brain
|
|
112
|
+
|
|
113
|
+
- [project-feedback.ts](../../src/brain/project-feedback.ts)
|
|
114
|
+
- [project-kit.ts](../../src/brain/project-kit.ts)
|
|
115
|
+
- [project-kit-inspection.ts](../../src/brain/project-kit-inspection.ts)
|
|
116
|
+
- [project-kit-paths.ts](../../src/brain/project-kit-paths.ts)
|
|
117
|
+
- [project-memory.ts](../../src/brain/project-memory.ts)
|
|
118
|
+
|
|
119
|
+
- [accessibility-checker.ts](../../src/brain/accessibility-checker.ts)
|
|
120
|
+
- [activity-journal.ts](../../src/brain/activity-journal.ts)
|
|
121
|
+
- [activity-reporting.ts](../../src/brain/activity-reporting.ts)
|
|
122
|
+
- [adr-engine.ts](../../src/brain/adr-engine.ts)
|
|
123
|
+
- [adversarial-defense.ts](../../src/brain/adversarial-defense.ts)
|
|
124
|
+
- [agent-firewall.ts](../../src/brain/agent-firewall.ts)
|
|
125
|
+
- [agent-handoff.ts](../../src/brain/agent-handoff.ts)
|
|
126
|
+
- [air-gap.ts](../../src/brain/air-gap.ts)
|
|
127
|
+
- [analyzer.ts](../../src/brain/analyzer.ts)
|
|
128
|
+
- [api-contract-analyzer.ts](../../src/brain/api-contract-analyzer.ts)
|
|
129
|
+
- [ast-analyzer.ts](../../src/brain/ast-analyzer.ts)
|
|
130
|
+
- [attention-heatmap.ts](../../src/brain/attention-heatmap.ts)
|
|
131
|
+
- [auto-setup.ts](../../src/brain/auto-setup.ts)
|
|
132
|
+
- [auto-update.ts](../../src/brain/auto-update.ts)
|
|
133
|
+
- [brain-3d.ts](../../src/brain/brain-3d.ts)
|
|
134
|
+
- [brain-active-learner.ts](../../src/brain/brain-active-learner.ts)
|
|
135
|
+
- [brain-ascii.ts](../../src/brain/brain-ascii.ts)
|
|
136
|
+
- [brain-bus.ts](../../src/brain/brain-bus.ts)
|
|
137
|
+
- [brain-chat.ts](../../src/brain/brain-chat.ts)
|
|
138
|
+
- [brain-cinema.ts](../../src/brain/brain-cinema.ts)
|
|
139
|
+
- [brain-coach.ts](../../src/brain/brain-coach.ts)
|
|
140
|
+
- [brain-consolidator.ts](../../src/brain/brain-consolidator.ts)
|
|
141
|
+
- [brain-contradictions.ts](../../src/brain/brain-contradictions.ts)
|
|
142
|
+
- [brain-diff.ts](../../src/brain/brain-diff.ts)
|
|
143
|
+
- [brain-dna.ts](../../src/brain/brain-dna.ts)
|
|
144
|
+
- [brain-doppelganger.ts](../../src/brain/brain-doppelganger.ts)
|
|
145
|
+
- [brain-encryption.ts](../../src/brain/brain-encryption.ts)
|
|
146
|
+
- [brain-exchange.ts](../../src/brain/brain-exchange.ts)
|
|
147
|
+
- [brain-garden.ts](../../src/brain/brain-garden.ts)
|
|
148
|
+
- [brain-graph-walker.ts](../../src/brain/brain-graph-walker.ts)
|
|
149
|
+
- [brain-holiday-card.ts](../../src/brain/brain-holiday-card.ts)
|
|
150
|
+
- [brain-memes.ts](../../src/brain/brain-memes.ts)
|
|
151
|
+
- [brain-memory-tiers.ts](../../src/brain/brain-memory-tiers.ts)
|
|
152
|
+
- [brain-notebook.ts](../../src/brain/brain-notebook.ts)
|
|
153
|
+
- [brain-portability.ts](../../src/brain/brain-portability.ts)
|
|
154
|
+
- [brain-quantize.ts](../../src/brain/brain-quantize.ts)
|
|
155
|
+
- [brain-query-expander.ts](../../src/brain/brain-query-expander.ts)
|
|
156
|
+
- [brain-quest.ts](../../src/brain/brain-quest.ts)
|
|
157
|
+
- [brain-recall-cache.ts](../../src/brain/brain-recall-cache.ts)
|
|
158
|
+
- [brain-reflex.ts](../../src/brain/brain-reflex.ts)
|
|
159
|
+
- [brain-replay.ts](../../src/brain/brain-replay.ts)
|
|
160
|
+
- [brain-rerank.ts](../../src/brain/brain-rerank.ts)
|
|
161
|
+
- [brain-roast.ts](../../src/brain/brain-roast.ts)
|
|
162
|
+
- [brain-sonification.ts](../../src/brain/brain-sonification.ts)
|
|
163
|
+
- [brain-tarot.ts](../../src/brain/brain-tarot.ts)
|
|
164
|
+
- [brain-time-capsule.ts](../../src/brain/brain-time-capsule.ts)
|
|
165
|
+
- [brain-trophies.ts](../../src/brain/brain-trophies.ts)
|
|
166
|
+
- [brain-working-memory.ts](../../src/brain/brain-working-memory.ts)
|
|
167
|
+
- [branch-brain.ts](../../src/brain/branch-brain.ts)
|
|
168
|
+
- [calibration-monitor.ts](../../src/brain/calibration-monitor.ts)
|
|
169
|
+
- [causal-chains.ts](../../src/brain/causal-chains.ts)
|
|
170
|
+
- [client-config.ts](../../src/brain/client-config.ts)
|
|
171
|
+
- [client-integrations.ts](../../src/brain/client-integrations.ts)
|
|
172
|
+
- [code-age-analyzer.ts](../../src/brain/code-age-analyzer.ts)
|
|
173
|
+
- [code-dna.ts](../../src/brain/code-dna.ts)
|
|
174
|
+
- [code-metrics.ts](../../src/brain/code-metrics.ts)
|
|
175
|
+
- [code-similarity.ts](../../src/brain/code-similarity.ts)
|
|
176
|
+
- [cognitive-load.ts](../../src/brain/cognitive-load.ts)
|
|
177
|
+
- [collective-learning.ts](../../src/brain/collective-learning.ts)
|
|
178
|
+
- [collision-detective.ts](../../src/brain/collision-detective.ts)
|
|
179
|
+
- [confidence-gate.ts](../../src/brain/confidence-gate.ts)
|
|
180
|
+
- [config-drift-detector.ts](../../src/brain/config-drift-detector.ts)
|
|
181
|
+
- [consensus-engine.ts](../../src/brain/consensus-engine.ts)
|
|
182
|
+
- [constitution.ts](../../src/brain/constitution.ts)
|
|
183
|
+
- [context-assembly.ts](../../src/brain/context-assembly.ts)
|
|
184
|
+
- [context-completion.ts](../../src/brain/context-completion.ts)
|
|
185
|
+
- [context-continuity.ts](../../src/brain/context-continuity.ts)
|
|
186
|
+
- [context-recall.ts](../../src/brain/context-recall.ts)
|
|
187
|
+
- [context-request.ts](../../src/brain/context-request.ts)
|
|
188
|
+
- [context-retrieval.ts](../../src/brain/context-retrieval.ts)
|
|
189
|
+
- [cost-aware-spawner.ts](../../src/brain/cost-aware-spawner.ts)
|
|
190
|
+
- [cross-agent-protocol.ts](../../src/brain/cross-agent-protocol.ts)
|
|
191
|
+
- [custom-rules.ts](../../src/brain/custom-rules.ts)
|
|
192
|
+
- [dead-code-eliminator.ts](../../src/brain/dead-code-eliminator.ts)
|
|
193
|
+
- [dependency-graph.ts](../../src/brain/dependency-graph.ts)
|
|
194
|
+
- [dream-engine.ts](../../src/brain/dream-engine.ts)
|
|
195
|
+
- [embeddings-v2.ts](../../src/brain/embeddings-v2.ts)
|
|
196
|
+
- [embeddings.ts](../../src/brain/embeddings.ts)
|
|
197
|
+
- [env-analyzer.ts](../../src/brain/env-analyzer.ts)
|
|
198
|
+
- [feature-settings.ts](../../src/brain/feature-settings.ts)
|
|
199
|
+
- [fine-tuning-engine.ts](../../src/brain/fine-tuning-engine.ts)
|
|
200
|
+
- [forgetting-curve.ts](../../src/brain/forgetting-curve.ts)
|
|
201
|
+
- [formal-verification-bridge.ts](../../src/brain/formal-verification-bridge.ts)
|
|
202
|
+
- [framework-presets.ts](../../src/brain/framework-presets.ts)
|
|
203
|
+
- [global-brain.ts](../../src/brain/global-brain.ts)
|
|
204
|
+
- [hallucination-quarantine.ts](../../src/brain/hallucination-quarantine.ts)
|
|
205
|
+
- [health-score.ts](../../src/brain/health-score.ts)
|
|
206
|
+
- [hierarchical-memory.ts](../../src/brain/hierarchical-memory.ts)
|
|
207
|
+
- [hive-accelerator.ts](../../src/brain/hive-accelerator.ts)
|
|
208
|
+
- [hive-voice.ts](../../src/brain/hive-voice.ts)
|
|
209
|
+
- [i18n-detector.ts](../../src/brain/i18n-detector.ts)
|
|
210
|
+
- [influence-map.ts](../../src/brain/influence-map.ts)
|
|
211
|
+
- [intent-engine.ts](../../src/brain/intent-engine.ts)
|
|
212
|
+
- [json-output.ts](../../src/brain/json-output.ts)
|
|
213
|
+
- [knowledge-graph.ts](../../src/brain/knowledge-graph.ts)
|
|
214
|
+
- [l0-cache.ts](../../src/brain/l0-cache.ts)
|
|
215
|
+
- [learning-engine.ts](../../src/brain/learning-engine.ts)
|
|
216
|
+
- [license-compliance.ts](../../src/brain/license-compliance.ts)
|
|
217
|
+
- [live-brain.ts](../../src/brain/live-brain.ts)
|
|
218
|
+
- [llm-client.ts](../../src/brain/llm-client.ts)
|
|
219
|
+
- [local-llm.ts](../../src/brain/local-llm.ts)
|
|
220
|
+
- [lsp-server.ts](../../src/brain/lsp-server.ts)
|
|
221
|
+
- [markdown-export.ts](../../src/brain/markdown-export.ts)
|
|
222
|
+
- [mcp-server.ts](../../src/brain/mcp-server.ts)
|
|
223
|
+
- [mcp-stdio.ts](../../src/brain/mcp-stdio.ts)
|
|
224
|
+
- [memory-annotations.ts](../../src/brain/memory-annotations.ts)
|
|
225
|
+
- [memory-graph.ts](../../src/brain/memory-graph.ts)
|
|
226
|
+
- [memory-inspection.ts](../../src/brain/memory-inspection.ts)
|
|
227
|
+
- [memory-mcp-content.ts](../../src/brain/memory-mcp-content.ts)
|
|
228
|
+
- [memory-seeder.ts](../../src/brain/memory-seeder.ts)
|
|
229
|
+
- [memory-sources.ts](../../src/brain/memory-sources.ts)
|
|
230
|
+
- [model-registry.ts](../../src/brain/model-registry.ts)
|
|
231
|
+
- [multi-project.ts](../../src/brain/multi-project.ts)
|
|
232
|
+
- [multimodal-vision.ts](../../src/brain/multimodal-vision.ts)
|
|
233
|
+
- [mutation-advisor.ts](../../src/brain/mutation-advisor.ts)
|
|
234
|
+
- [neural-mesh.ts](../../src/brain/neural-mesh.ts)
|
|
235
|
+
- [notifier.ts](../../src/brain/notifier.ts)
|
|
236
|
+
- [orchestrator.ts](../../src/brain/orchestrator.ts)
|
|
237
|
+
- [otel-lite.ts](../../src/brain/otel-lite.ts)
|
|
238
|
+
- [pattern-memory.ts](../../src/brain/pattern-memory.ts)
|
|
239
|
+
- [perf-profiler.ts](../../src/brain/perf-profiler.ts)
|
|
240
|
+
- [plugin-system.ts](../../src/brain/plugin-system.ts)
|
|
241
|
+
- [pr-auto-review.ts](../../src/brain/pr-auto-review.ts)
|
|
242
|
+
- [pr-generator.ts](../../src/brain/pr-generator.ts)
|
|
243
|
+
- [pre-mortem.ts](../../src/brain/pre-mortem.ts)
|
|
244
|
+
- [predictive-engine.ts](../../src/brain/predictive-engine.ts)
|
|
245
|
+
- [project-config.ts](../../src/brain/project-config.ts)
|
|
246
|
+
- [project-context.ts](../../src/brain/project-context.ts)
|
|
247
|
+
- [prompt-cache.ts](../../src/brain/prompt-cache.ts)
|
|
248
|
+
- [report-generator.ts](../../src/brain/report-generator.ts)
|
|
249
|
+
- [reputation-ledger.ts](../../src/brain/reputation-ledger.ts)
|
|
250
|
+
- [security-audit.ts](../../src/brain/security-audit.ts)
|
|
251
|
+
- [self-evolution.ts](../../src/brain/self-evolution.ts)
|
|
252
|
+
- [semantic-analyzer.ts](../../src/brain/semantic-analyzer.ts)
|
|
253
|
+
- [session-hooks.ts](../../src/brain/session-hooks.ts)
|
|
254
|
+
- [smart-cache.ts](../../src/brain/smart-cache.ts)
|
|
255
|
+
- [smart-fix.ts](../../src/brain/smart-fix.ts)
|
|
256
|
+
- [sssp-router.ts](../../src/brain/sssp-router.ts)
|
|
257
|
+
- [subagent-bridge.ts](../../src/brain/subagent-bridge.ts)
|
|
258
|
+
- [subconscious.ts](../../src/brain/subconscious.ts)
|
|
259
|
+
- [swarm-debate.ts](../../src/brain/swarm-debate.ts)
|
|
260
|
+
- [swarm-intelligence.ts](../../src/brain/swarm-intelligence.ts)
|
|
261
|
+
- [task-workflow.ts](../../src/brain/task-workflow.ts)
|
|
262
|
+
- [team-brain-sync.ts](../../src/brain/team-brain-sync.ts)
|
|
263
|
+
- [team-mode.ts](../../src/brain/team-mode.ts)
|
|
264
|
+
- [temporal-intelligence.ts](../../src/brain/temporal-intelligence.ts)
|
|
265
|
+
- [token-economy.ts](../../src/brain/token-economy.ts)
|
|
266
|
+
- [turbo-memory.ts](../../src/brain/turbo-memory.ts)
|
|
267
|
+
- [type-safety.ts](../../src/brain/type-safety.ts)
|
|
268
|
+
- [voice-mode.ts](../../src/brain/voice-mode.ts)
|
|
269
|
+
- [vuln-scanner.ts](../../src/brain/vuln-scanner.ts)
|
|
270
|
+
- [workflow-skills.ts](../../src/brain/workflow-skills.ts)
|
|
271
|
+
|
|
272
|
+
### src/dashboard
|
|
273
|
+
|
|
274
|
+
- [project-feedback-html.ts](../../src/dashboard/project-feedback-html.ts)
|
|
275
|
+
- [project-kit-html.ts](../../src/dashboard/project-kit-html.ts)
|
|
276
|
+
- [project-workspace.ts](../../src/dashboard/project-workspace.ts)
|
|
277
|
+
|
|
278
|
+
- [demo-workspace.ts](../../src/dashboard/demo-workspace.ts)
|
|
279
|
+
- [live-workspace-html.ts](../../src/dashboard/live-workspace-html.ts)
|
|
280
|
+
- [server.ts](../../src/dashboard/server.ts)
|
|
281
|
+
- [v6-dashboard-html.ts](../../src/dashboard/v6-dashboard-html.ts)
|
|
282
|
+
- [workspace-api.ts](../../src/dashboard/workspace-api.ts)
|
|
283
|
+
- [workspace-html.ts](../../src/dashboard/workspace-html.ts)
|
|
284
|
+
|
|
285
|
+
### src/adapters
|
|
286
|
+
|
|
287
|
+
- [aider.ts](../../src/adapters/aider.ts)
|
|
288
|
+
- [base-adapter.ts](../../src/adapters/base-adapter.ts)
|
|
289
|
+
- [claude-code.ts](../../src/adapters/claude-code.ts)
|
|
290
|
+
- [cline.ts](../../src/adapters/cline.ts)
|
|
291
|
+
- [codex.ts](../../src/adapters/codex.ts)
|
|
292
|
+
- [copilot.ts](../../src/adapters/copilot.ts)
|
|
293
|
+
- [cursor.ts](../../src/adapters/cursor.ts)
|
|
294
|
+
- [index.ts](../../src/adapters/index.ts)
|
|
295
|
+
- [kilo-code.ts](../../src/adapters/kilo-code.ts)
|
|
296
|
+
- [opencode.ts](../../src/adapters/opencode.ts)
|
|
297
|
+
- [roo-code.ts](../../src/adapters/roo-code.ts)
|
|
298
|
+
- [windsurf.ts](../../src/adapters/windsurf.ts)
|
|
299
|
+
|
|
300
|
+
### src/watchers
|
|
301
|
+
|
|
302
|
+
- [file-watcher.ts](../../src/watchers/file-watcher.ts)
|
|
303
|
+
- [git-watcher.ts](../../src/watchers/git-watcher.ts)
|
|
304
|
+
|
|
305
|
+
### src/ui
|
|
306
|
+
|
|
307
|
+
- [dashboard.tsx](../../src/ui/dashboard.tsx)
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Project Kit: local knowledge and requirement-specific skills
|
|
2
|
+
|
|
3
|
+
Added to the 7.1.4 scope on 2026-11-12 following the user's request. Status: implementation in progress. This extends the [research and acceptance plan](RESEARCH_AND_PLAN_v7.1.4.md); it does not change the earlier compatibility requirements.
|
|
4
|
+
|
|
5
|
+
## Intended behavior
|
|
6
|
+
|
|
7
|
+
A user opens a chosen project, sees what Shadow Brain can observe about its stack, records knowledge they want an agent to remember, and creates a focused skill for that project's requirement. The knowledge, skill, and settings stay inside that project. The same local memory becomes available in Context Lab and through the project's generated MCP launch recipe.
|
|
8
|
+
|
|
9
|
+
The workflow is **select project → inspect observed stack → record explicit knowledge → describe requirement → preview skill → apply locally → use local context**. Workspace detection and skill drafting are deterministic and do not require a model provider. “Observed stack” means bounded manifest and directory evidence; it does not mean the program has semantically understood all source code or validated the user's requirement.
|
|
10
|
+
|
|
11
|
+
## Storage and entry point
|
|
12
|
+
|
|
13
|
+
Use an additive project-workspace entry point, proposed as `shadow-brain project workspace <directory>`. It serves the existing workspace UI with explicit dependencies pointing at `<project>/.shadow-brain/project-memory.json`. Annotations, settings, activity, and the generated-skill receipt remain in that project's `.shadow-brain` directory. The final CLI spelling must be verified and reflected in the quickstart.
|
|
14
|
+
|
|
15
|
+
The existing global-backed `dash` and context defaults remain compatible. Do not silently merge or migrate global memories into a project store. An independent explicit `GlobalBrain` instance may be used for the project service; the existing singleton behavior stays intact. A project workspace shuts down its server and flushes its own writes, but **does not delete the persistent project directory or knowledge**. Temporary demo cleanup is a separate code path.
|
|
16
|
+
|
|
17
|
+
Project recipes must pass the actual local database path with `--db`; setting the MCP process's working directory alone does not select a local store. A new MCP process launched from the recipe must recall a newly saved project note. Generic process-wide BrainBus activity must not leak events from another store into a project-local workspace; use its local journal or an explicit store-specific activity dependency.
|
|
18
|
+
|
|
19
|
+
## Project inspection
|
|
20
|
+
|
|
21
|
+
The scanner accepts one existing, explicit project root. It rejects drive roots, home/global agent configuration roots, linked ancestors, and invalid paths. All reads stay beneath that root. Inspection is read-only and returns structured evidence and limitations.
|
|
22
|
+
|
|
23
|
+
Initial bounds:
|
|
24
|
+
|
|
25
|
+
- A deterministic relative directory view with a fixed entry count and depth, initially 500 entries and depth 3.
|
|
26
|
+
- A fixed manifest allowlist with regular single-link files, initially at most 64 KiB per inspected manifest.
|
|
27
|
+
- Exclude dependency caches, version-control internals, generated outputs, environment files, authentication/configuration stores, and linked paths before recursion or content reads.
|
|
28
|
+
- Extract known dependency names, known script names, manifest types, and package-manager evidence. Do not expose dependency URL/version values, script bodies, arbitrary metadata, or source-file contents.
|
|
29
|
+
- Read no browser data, provider settings, credential stores, or model configuration. Fetch no remote source and execute no discovered script.
|
|
30
|
+
|
|
31
|
+
A package manifest can support an observation such as “React dependency declared.” It does not establish that every page uses React or that a command succeeds. Ambiguous package managers, missing manifests, unsupported formats, and scan truncation remain visible. A generic project can still receive a requirement-specific skill, with unknown stack details left explicit.
|
|
32
|
+
|
|
33
|
+
Suggested profile shape:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
interface ProjectProfile {
|
|
37
|
+
schemaVersion: 1;
|
|
38
|
+
projectId: string;
|
|
39
|
+
projectName: string;
|
|
40
|
+
root: string;
|
|
41
|
+
observedAt: string;
|
|
42
|
+
stack: string[];
|
|
43
|
+
packageManagers: string[];
|
|
44
|
+
evidence: Array<{ path: string; kind: string; signals: string[] }>;
|
|
45
|
+
checks: Array<{ label: string; command: string; source: string }>;
|
|
46
|
+
coverage: { entries: number; limit: number; truncated: boolean };
|
|
47
|
+
warnings: string[];
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The worker may refine field names before callers are committed. All interfaces should consume one shared implementation rather than duplicate stack inference.
|
|
52
|
+
|
|
53
|
+
## Explicit knowledge
|
|
54
|
+
|
|
55
|
+
Accept bounded user text, a title, an optional category, and an optional recorded reference. A useful initial content bound is 8,000 characters and a source-reference bound is 500. Save the title and supplied content with the canonical project identity in the project's memory store; acknowledge success only after persistence succeeds.
|
|
56
|
+
|
|
57
|
+
Record metadata such as `origin: project-kit-user` and `inputKind: explicit-knowledge`. Only populate source references when the user supplies an actual reference. Do not manufacture a citation that inflates source-coverage counts. The user-provided knowledge is not independently verified, and source targets are not fetched.
|
|
58
|
+
|
|
59
|
+
New knowledge must be immediately inspectable in Memories, eligible for scoped Context Lab retrieval, persistent after restart, and visible to the project's MCP recipe. Do not add knowledge automatically from environment files, personal profiles, conversation history, or unrelated projects.
|
|
60
|
+
|
|
61
|
+
## Generated skills
|
|
62
|
+
|
|
63
|
+
The service takes an explicit requirement, the observed profile, the chosen client target, an optional name, and optional explicit knowledge. It generates one concise, self-contained `SKILL.md` unless a concrete need justifies additional resources. The required `name` and `description` frontmatter is valid and safely encoded. The description names a narrow task and project context so unrelated tasks do not select it.
|
|
64
|
+
|
|
65
|
+
The body includes the actual requirement, relevant user knowledge, observed stack evidence, local implementation considerations, and available validation guidance. It must not fabricate commands or evidence, install dependencies, run code, claim tests passed, grant extra permissions, or override the user's current project instructions. Generated guidance should be proportionate to the task rather than turning every request into an elaborate process.
|
|
66
|
+
|
|
67
|
+
Reuse existing client targets and project skill locations:
|
|
68
|
+
|
|
69
|
+
| Target | Project-local destination |
|
|
70
|
+
| --- | --- |
|
|
71
|
+
| `codex` | `.agents/skills/<name>/SKILL.md` |
|
|
72
|
+
| `claude-code` | `.claude/skills/<name>/SKILL.md` |
|
|
73
|
+
| `opencode` | `.opencode/skills/<name>/SKILL.md` |
|
|
74
|
+
| `deepseek-harness` | `.dsh/skills/<name>/SKILL.md` |
|
|
75
|
+
| `portable` | `.agents/skills/<name>/SKILL.md` |
|
|
76
|
+
|
|
77
|
+
Names contain lowercase letters, numbers, and hyphens and stay under 64 characters. A generated default name should be stable for the project and requirement. No generated skill is installed in a home/global skills directory. Do not silently edit `AGENTS.md`, client profiles, provider settings, or authentication files. Skill-file presence is not proof that a host loaded it.
|
|
78
|
+
|
|
79
|
+
## Preview, apply, and ownership
|
|
80
|
+
|
|
81
|
+
Preview returns the exact output path and content, observed evidence, conflicts, and a stable plan hash. It creates no directories or files. The UI makes these inspectable before the user applies the local skill.
|
|
82
|
+
|
|
83
|
+
The hash binds the selected root, target, requirement, explicit knowledge, generated bytes, relevant observed profile, and existing-file state. Exclude observation timestamps and other volatile display fields. Recompute the plan before apply; do not trust a client-supplied arbitrary file path or content object.
|
|
84
|
+
|
|
85
|
+
Use a dedicated project-local ownership receipt, separate from the bundled workflow installer. Apply verifies root/destination ancestors, rejects links and unexpected file types, and writes only planned generated paths. An unowned existing skill conflicts. An owned skill changed by the user conflicts. An unchanged owned skill can be updated or reported unchanged. Stale plans fail without overwriting recent work. Use bounded locking and atomic replacement; report any partial-write failure accurately.
|
|
86
|
+
|
|
87
|
+
Suggested public service operations:
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
inspectProject(root)
|
|
91
|
+
planProjectSkill(root, { requirement, target, name?, knowledge? })
|
|
92
|
+
applyProjectSkill(root, request, expectedPlanHash)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
HTTP routes operate on the server's pinned root; they do not accept arbitrary filesystem roots from the browser. Knowledge input and skill apply are explicit write actions, separately labeled from inspection and preview. The coordinating agent owns the final route and CLI names.
|
|
96
|
+
|
|
97
|
+
## Acceptance gates
|
|
98
|
+
|
|
99
|
+
1. Inspect JavaScript/TypeScript, PHP or another supported stack, ambiguous manifests, and an unknown project without inventing missing facts. Verify deterministic output apart from observation time.
|
|
100
|
+
2. Prove directory/manifest bounds, excluded paths, symlink/hardlink rejection, and refusal of home/global roots using synthetic fixtures. Secret-like values in disallowed fields must never appear in returned profiles or generated skills.
|
|
101
|
+
3. Verify requirement and explicit knowledge materially change the generated skill. Verify valid frontmatter, bounded text, focused description, correct client root, and no unrelated file changes.
|
|
102
|
+
4. Preview produces no filesystem writes. Repeated apply is idempotent. Edited/unowned files and stale plan hashes conflict. Apply never writes outside the selected root.
|
|
103
|
+
5. Save explicit knowledge, retrieve it through Context Lab, restart the project workspace, and retrieve it again. Launch a fresh MCP process using the generated local-store recipe and verify the same committed memory.
|
|
104
|
+
6. Place a foreign sentinel in another synthetic store and process-wide activity source. Verify the project workspace's memories, context, health, activity, and skill generation do not expose it.
|
|
105
|
+
7. Complete the visible inspect→knowledge→skill preview→apply→context workflow on desktop and mobile. Verify error, conflict, empty, and unknown-stack states.
|
|
106
|
+
8. Run inherited regression tests and exact packed-artifact CLI/server tests. Preserve the older global dashboard, bundled skill installer, demo action, and memory schema.
|
|
107
|
+
|
|
108
|
+
The final README needs a project-local onboarding example and an actual screenshot of this workflow. It must distinguish persistent project knowledge from the disposable synthetic demo and explicitly describe the limits of deterministic workspace detection.
|
|
109
|
+
|
|
110
|
+
The later [project learning addendum](PROJECT_LEARNING_PLAN_v7.1.4.md) adds attributed memory outcomes and reversible task-relevant retrieval influence to this same local workspace. Its acceptance gates are additional; a successful skill installation alone does not verify the learning loop.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Project learning from reported outcomes
|
|
2
|
+
|
|
3
|
+
Architecture decision, 2026-11-12. Added after the user's request that Shadow Brain learn from its work and improve relevant memory. Implementation and acceptance are in progress. This extends the [release plan](RESEARCH_AND_PLAN_v7.1.4.md) and [Project Kit](PROJECT_KIT_PLAN_v7.1.4.md).
|
|
4
|
+
|
|
5
|
+
## What learning means here
|
|
6
|
+
|
|
7
|
+
The project keeps useful knowledge, records how a saved memory helped or failed on a concrete task, and makes a small, inspectable adjustment when that memory already matches a similar future task. A user can remove a report or disable its ranking influence. The loop is **retrieve → do work → observe outcome → report evidence → adjust relevant future retrieval → inspect or reverse**.
|
|
8
|
+
|
|
9
|
+
This is persistent retrieval feedback. It does not train model weights, verify the truth of a memory, autonomously improve source code, or prove a model became more capable. A successful tool invocation, a copied context pack, retrieval rank, and an agent's confidence do not establish a successful task. The interface must call feedback a **reported outcome** and retain whether the user or an agent supplied it.
|
|
10
|
+
|
|
11
|
+
Automatic background consolidation is already an established design elsewhere: Letta documents background agents that review conversations and update its Git-backed memory. Shadow Brain's chosen release scope is a provider-free local feedback mechanism with explicit attribution and bounded ranking influence; no superiority claim follows from that difference. [Letta memory and dreaming, accessed 2026-11-12](https://docs.letta.com/configuration/memory/).
|
|
12
|
+
|
|
13
|
+
The distinction between retrieval improvement and downstream answer quality matters. LongMemEval separates indexing, retrieval, and reading and tests multiple long-term memory abilities. The acceptance tests below establish deterministic feedback behavior and isolation; they are not a LongMemEval result or evidence of improved general task accuracy. [LongMemEval, revised 2025-03-04, accessed 2026-11-12](https://arxiv.org/abs/2410.10813).
|
|
14
|
+
|
|
15
|
+
## Local state and explicit operations
|
|
16
|
+
|
|
17
|
+
Store feedback in `<project>/.shadow-brain/memory-feedback.json`, alongside that project's memory. The file is optional. It has its own revision and enabled flag; it does not add a sixth global feature toggle or modify the base memory schema. The project-local controls remain separate from the existing global workflow.
|
|
18
|
+
|
|
19
|
+
The shared service is `ProjectFeedbackStore(root, brain)`, with `get()` and `update(command, expectedRevision, reporter)`. All callers use that service. Writes are revision-checked and atomic under a local lock. Corrupt or unsafe files must fail visibly without being overwritten. The store must belong to the canonical project root and database.
|
|
20
|
+
|
|
21
|
+
Each record includes a stable ID, canonical project and memory IDs, task text, rating, reason, evidence references, reporter, and created/updated timestamps. Ratings are `useful`, `not-useful`, or `incorrect`. The rating is a report, not an authoritative review state.
|
|
22
|
+
|
|
23
|
+
Bounds: at most 500 records and 2 MiB serialized data; task at most 1,000 characters; mandatory reason at most 600; at most three evidence references of 180 characters each. References are labels and are never fetched. Inputs reject unsupported fields and unsafe control characters.
|
|
24
|
+
|
|
25
|
+
An upsert replaces the existing report for the same memory, normalized task, and reporter. Repeating the same praise does not create additional votes. At 500 records, a new distinct report is rejected; existing reports can still be updated, and a user can remove records to make room. Removing one record is explicit. Disabling influence preserves the records and removes their effect. No silent age expiry is introduced in this release; report timestamps stay visible for review.
|
|
26
|
+
|
|
27
|
+
The server assigns attribution: portal and CLI writes are user reports; MCP writes are agent reports. A client cannot elevate an agent report by submitting a `reporter` field. Each mutation resolves the memory and enforces the project before saving.
|
|
28
|
+
|
|
29
|
+
| Interface | Operation |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| Project portal HTTP | GET `project-feedback`; POST record/remove/enable with the current revision |
|
|
32
|
+
| Project CLI | `project feedback list`, `record`, `remove`, and `set` |
|
|
33
|
+
| Project-local MCP | `project_feedback` with `kind: list` or `record`; agent attribution assigned by the server |
|
|
34
|
+
| Global/default MCP | Project feedback tool unavailable |
|
|
35
|
+
|
|
36
|
+
The MCP write description instructs the host to report only observed work and evidence, never success inferred from memory retrieval or tool completion. Users retain removal and enable/disable controls in the portal and CLI. Generated local skills may describe this optional feedback step, while respecting current user and project instructions.
|
|
37
|
+
|
|
38
|
+
## Retrieval contract
|
|
39
|
+
|
|
40
|
+
Only an adaptive context request with an explicit project-local feedback snapshot may use the feedback. Legacy ranking and the default global path remain unchanged.
|
|
41
|
+
|
|
42
|
+
Apply influence after scope and review eligibility and only to candidates with a direct lexical match. Feedback cannot introduce a zero-hit record, revive archived/contested/superseded records, expand the project boundary, turn a graph-only neighbor into a direct match, create a source citation, or remove a caution. Empty-query browsing receives no effect.
|
|
43
|
+
|
|
44
|
+
Compare normalized substantive query and reported-task terms. Remove generic task verbs; require at least one shared term and Jaccard similarity of at least 0.34. For the same normalized task, prefer the user's report when both user and agent reports exist; an agent report cannot silently displace a human correction. Consider up to three newest distinct relevant-task reports for the candidate after resolving that attribution preference. This deliberately conservative lexical gate does not provide semantic task equivalence.
|
|
45
|
+
|
|
46
|
+
For each selected report, multiply its rating value by task similarity and attribution weight. Rating values are +0.08 for useful, −0.04 for not-useful, and −0.12 for incorrect; attribution weights are 1 for user and 0.5 for agent. Average the contributions and clamp the result to [−0.12, +0.08]. Add that adjustment to the base ranking score with a lower bound of zero. These constants are design limits, not empirically optimized accuracy estimates.
|
|
47
|
+
|
|
48
|
+
The mean and ceiling limit repeated reporting influence; attribution reduces, but does not eliminate, the risk of mistaken agent self-assessment. This is not a tamper-resistant trust system. Distinct fabricated reports still cannot be treated as independent verification.
|
|
49
|
+
|
|
50
|
+
Show the signed `Project task feedback` contribution in candidate explanations, including negative values. Where the response exposes report IDs and reporter kinds, retain only bounded relevant records. Do not hide a negative adjustment because the existing diagnostics previously expected only positive signals. An incorrect report is a prompt for a human to inspect or curate the memory, not an automatic deletion or change of review state.
|
|
51
|
+
|
|
52
|
+
## Acceptance gates
|
|
53
|
+
|
|
54
|
+
1. Record, read, update, remove, disable, and re-enable feedback across restart. Preserve other sidecars and base memory bytes for feedback-only mutations.
|
|
55
|
+
2. Reject stale revisions, malformed fields, wrong-project or missing memory IDs, unsafe paths, and serialized bounds without partial changes.
|
|
56
|
+
3. Repeating the same memory/task/reporter upserts rather than accumulates. A 501st distinct record fails without dropping an older record; an existing upsert still succeeds at the cap. User/agent attribution cannot be spoofed through HTTP or MCP, and a newer agent report cannot replace the same task's human signal.
|
|
57
|
+
4. Useful feedback changes only an already matching adaptive candidate by the bounded amount. A negative report produces a visible signed adjustment. Unrelated tasks and empty queries have no effect.
|
|
58
|
+
5. Archived, contested, superseded, zero-hit, graph-only, and foreign-project records remain ineligible for feedback promotion. Legacy output remains unchanged.
|
|
59
|
+
6. Disable and remove restore the baseline score/selection with otherwise identical input. Sources, caution flags, and recorded relationship paths remain intact.
|
|
60
|
+
7. Demonstrate feedback recorded through the local portal, influence in Context Lab and a fresh project-local MCP process, and the same outcome after restart. Verify MCP writes are agent reports, not user reports.
|
|
61
|
+
8. Show the control, outcome attribution, reason, references, timestamps, conflict state, removal, and negative diagnostics in the actual desktop/mobile UI. Keep the terminology consistent in screenshots and documentation.
|
|
62
|
+
|
|
63
|
+
The release evidence report must record actual outcomes of these gates. No fixed improvement percentage, universal accuracy claim, or automatic truth score is authorized by this plan.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Agent Shadow Brain 7.1.3
|
|
2
|
+
|
|
3
|
+
Version 7.1.3 connects memory review, the workspace graph, and the context handed to an agent. The new live operations portal shows recorded agent activity and tool timing.
|
|
4
|
+
|
|
5
|
+
## Live operations
|
|
6
|
+
|
|
7
|
+
Open `/live` on the dashboard address for the session list, activity network, charts, and event timeline. Measured activity comes from the local MCP service. Hosts can explicitly report task phases and tool spans. The portal labels the two sources and uses matched, measured calls for timing metrics.
|
|
8
|
+
|
|
9
|
+
The shared local journal keeps the latest 500 metadata events. It tracks sequence and journal identity so readers can continue from a cursor and detect gaps or a restarted journal. `activityRecording` controls new records and `liveActivity` controls visibility. Both are enabled by default and can be changed with the other three runtime controls. Use `activity report` to send a host report and `activity tail` to inspect the journal.
|
|
10
|
+
|
|
11
|
+
## Memory review and relations
|
|
12
|
+
|
|
13
|
+
Open a memory in the workspace to see its content, recorded references, current review, and history. Set its state to active, archived, or contested. Record a same-project link of type related, supports, contradicts, or supersedes. Supersession links point from the replacement to the older memory.
|
|
14
|
+
|
|
15
|
+
Context assembly filters inactive memories before ranking, preserves relevant relation and source provenance when collapsing duplicates, and labels recorded contradictions. If a replacement disappears, its older memory stays superseded until you remove the relation. Manual reviews and links record decisions to inspect against the underlying evidence.
|
|
16
|
+
|
|
17
|
+
The `curate show`, `curate review`, `curate link`, and `curate unlink` commands use the same annotation store as the workspace. The store validates project identities, revisions, duplicate relations, and supersession cycles. It keeps an audit trail alongside the existing memory store.
|
|
18
|
+
|
|
19
|
+
## Connect a client
|
|
20
|
+
|
|
21
|
+
The workspace's Integrations view shows project skill-file presence, supported client capabilities, and local runtime and storage checks. Codex, Claude Code, OpenCode, and DeepSeek Harness can use their documented project skill layouts. Host-side discovery depends on client configuration.
|
|
22
|
+
|
|
23
|
+
The standalone MCP service now runs over standard input and output.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
shadow-brain mcp --stdio
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Configure this command as the executable and arguments in a compatible client. The service exposes nine read-only memory, context, and workflow tools plus the explicit `activity_report` write tool. Activity recording uses a separate journal from the memory store. DeepSeek Harness needs its MCP client and filesystem skill plugins enabled. See the [workspace guide](../WORKSPACE.md) and [skill integration guide](../WORKFLOW_INTEGRATION.md).
|
|
30
|
+
|
|
31
|
+
## Upgrade
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install -g @theihtisham/agent-shadow-brain@7.1.3
|
|
35
|
+
shadow-brain dash . --no-analysis
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Existing memories retain schema version 1. Keep `global.json` and the separate `memory-annotations.json` when backing up your memory and review state. Follow the [7.0 migration notes](RELEASE_NOTES_v7.0.0.md) if you are upgrading from 6.x.
|
|
39
|
+
|
|
40
|
+
This upgrade uses the maintainer-requested version **7.1.3**, published after 7.2.0. It is assigned the npm `latest` tag, but semver update tools may still prefer 7.2.0. Use the exact install command above.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Agent Shadow Brain 7.1.4
|
|
2
|
+
|
|
3
|
+
The local Brain Hub brings actual saved memory, project documents, collaboration, and the activity journal into one control room. Node.js 22.13+ in the 22.x line, 24.x, or 26+ is required.
|
|
4
|
+
|
|
5
|
+
## Install and open
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @theihtisham/agent-shadow-brain@latest
|
|
9
|
+
shadow-brain --version
|
|
10
|
+
shadow-brain project workspace . --port 62595
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Check for `7.1.4`, then open [the project Brain Hub](http://127.0.0.1:62595/hub). Keep the local process running. Reuse the project directory and port after a restart. The classic workspace is still at `/workspace`; detailed activity is at `/live`. [Quickstart](../QUICKSTART.md)
|
|
14
|
+
|
|
15
|
+
## What changed
|
|
16
|
+
|
|
17
|
+
- **Control room.** The graph loads actual project, agent, and memory relationships, with a keyboard-accessible node list and record inspector. The local process reports its own health. The page retries when it loses the server, and it reopens the scope when the process instance changes.
|
|
18
|
+
- **PDF intake.** Project PDFs have bounded extraction, stored fingerprints, and page-level review. Approved pages become cited project memory. Image-only pages surface the need for OCR.
|
|
19
|
+
- **Collaboration.** Project rooms contain proposals, replies, leased task claims, artifacts with recorded digests, acknowledgements, and outcomes. The browser and configured project-local MCP clients share these records.
|
|
20
|
+
- **Context and skills.** Build and compare scoped packs, copy the rendered Markdown, save project knowledge, and preview and apply host-specific project skills. The classic Context Lab retains detailed retrieval explanations and memory curation.
|
|
21
|
+
- **Learning.** A recorded outcome can become a candidate. The operator records evaluation and explicitly promotes an eligible lesson. Rollback archives the promoted memory’s retrieval influence.
|
|
22
|
+
- **Setup and usage.** Persist feature changes and copy native client recipes. The Hub separates measured tool activity from explicit reports. Provider usage receipts, model identity, and cost are unavailable without host evidence. Context pack tokens are estimates.
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
## Verification scope
|
|
27
|
+
|
|
28
|
+
Browser checks used isolated fixture data with actual local stores and MCP calls. They exercised graph selection, context copy, PDF review, feature changes, shared work, durable retry, learning rollback, and same-port reconnect. Host file detection and local tool exchange are separate from native host confirmation. The release does not include autonomous model execution or model training.
|
|
29
|
+
|
|
30
|
+
[Visual guide](../VISUAL_GUIDE_v7.1.4.md) · [Workflow integration](../WORKFLOW_INTEGRATION.md) · [Changelog](../../CHANGELOG.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Agent Shadow Brain 7.2.0
|
|
2
|
+
|
|
3
|
+
Version 7.2 makes it easier to see what agents have saved and choose what to hand to a new session. The default local workspace has five views for overview, memory search, the project and agent graph, context assembly, and feature controls. The previous dashboard remains available at `/advanced`.
|
|
4
|
+
|
|
5
|
+
## What changed
|
|
6
|
+
|
|
7
|
+
- Context packs rank memories for the selected project and task, collapse exact duplicates, retain recorded source provenance, and explain what fits the rendered budget. Cross-project context requires both a setting and explicit opt-in.
|
|
8
|
+
- Session briefings use the same assembler. Cached briefings follow the current task and feature settings. Disabling automatic briefings suppresses both new and cached output.
|
|
9
|
+
- Four persistent switches control context packs, cross-project access within context packs, automatic briefings, and dashboard activity. The settings store validates updates, detects revision conflicts, and replaces saved settings atomically.
|
|
10
|
+
- The CLI adds `context-pack` and `features list|set`. MCP clients can call `context_pack` and `feature_flags`. Library consumers can import the assembler and settings store directly.
|
|
11
|
+
- The README includes a conceptual memory-flow illustration and screenshots from the running workspace with synthetic data.
|
|
12
|
+
|
|
13
|
+
## Start the workspace
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @theihtisham/agent-shadow-brain@7.2.0
|
|
17
|
+
shadow-brain dash . --no-analysis
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
From a second terminal, run `shadow-brain context-pack "import retry behavior" --project . --token-budget 1200` to inspect what an agent would receive for that task.
|
|
21
|
+
|
|
22
|
+
Memory storage keeps schema version 1. The six bundled skills and the existing skill install workflow remain available. If you are coming from 6.x, follow the [7.0 migration notes](RELEASE_NOTES_v7.0.0.md).
|
|
23
|
+
|
|
24
|
+
[Workspace guide](../WORKSPACE.md) · [Skill integration guide](../WORKFLOW_INTEGRATION.md)
|