brainclaw 1.28.1 → 1.28.2

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/dist/facts.js CHANGED
@@ -1,8 +1,8 @@
1
1
  // Generated by scripts/emit-site-facts.mjs at build time. Do not edit manually.
2
- // Source: brainclaw v1.28.1 on 2026-08-24T17:40:07.204Z
2
+ // Source: brainclaw v1.28.2 on 2026-08-25T18:22:09.950Z
3
3
  export const FACTS = {
4
- "version": "1.28.1",
5
- "generated_at": "2026-08-24T17:40:07.204Z",
4
+ "version": "1.28.2",
5
+ "generated_at": "2026-08-25T18:22:09.950Z",
6
6
  "tools": {
7
7
  "count": 70,
8
8
  "published_count": 68,
@@ -478,7 +478,7 @@ export const FACTS = {
478
478
  },
479
479
  "bench": {
480
480
  "schema": "brainclaw.bench.v1",
481
- "generated_at": "2026-08-24T17:40:05.036Z",
481
+ "generated_at": "2026-08-25T18:22:07.761Z",
482
482
  "node_version": "v24.19.0",
483
483
  "platform": "linux-x64",
484
484
  "repeats": 3,
@@ -487,7 +487,7 @@ export const FACTS = {
487
487
  "name": "cold_onboard",
488
488
  "volume": "empty",
489
489
  "description": "fresh machine → init → first useful context. Baseline for time-to-first-value.",
490
- "duration_ms_median": 85,
490
+ "duration_ms_median": 82,
491
491
  "payload_chars_median": 1640,
492
492
  "payload_tokens_est_median": 410
493
493
  },
@@ -495,7 +495,7 @@ export const FACTS = {
495
495
  "name": "warm_work",
496
496
  "volume": "medium",
497
497
  "description": "bclaw_work consult over a real-shaped store (~200 plans / 500 handoffs / 450 claims).",
498
- "duration_ms_median": 128,
498
+ "duration_ms_median": 132,
499
499
  "payload_chars_median": 2626,
500
500
  "payload_tokens_est_median": 657
501
501
  },
@@ -503,9 +503,9 @@ export const FACTS = {
503
503
  "name": "first_edit",
504
504
  "volume": "medium",
505
505
  "description": "code_find + code_brief on the fresh-agent path (missing index, first touch).",
506
- "duration_ms_median": 11,
507
- "payload_chars_median": 1305,
508
- "payload_tokens_est_median": 326
506
+ "duration_ms_median": 13,
507
+ "payload_chars_median": 1629,
508
+ "payload_tokens_est_median": 407
509
509
  }
510
510
  ]
511
511
  }
package/dist/facts.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.28.1",
3
- "generated_at": "2026-08-24T17:40:07.204Z",
2
+ "version": "1.28.2",
3
+ "generated_at": "2026-08-25T18:22:09.950Z",
4
4
  "tools": {
5
5
  "count": 70,
6
6
  "published_count": 68,
@@ -476,7 +476,7 @@
476
476
  },
477
477
  "bench": {
478
478
  "schema": "brainclaw.bench.v1",
479
- "generated_at": "2026-08-24T17:40:05.036Z",
479
+ "generated_at": "2026-08-25T18:22:07.761Z",
480
480
  "node_version": "v24.19.0",
481
481
  "platform": "linux-x64",
482
482
  "repeats": 3,
@@ -485,7 +485,7 @@
485
485
  "name": "cold_onboard",
486
486
  "volume": "empty",
487
487
  "description": "fresh machine → init → first useful context. Baseline for time-to-first-value.",
488
- "duration_ms_median": 85,
488
+ "duration_ms_median": 82,
489
489
  "payload_chars_median": 1640,
490
490
  "payload_tokens_est_median": 410
491
491
  },
@@ -493,7 +493,7 @@
493
493
  "name": "warm_work",
494
494
  "volume": "medium",
495
495
  "description": "bclaw_work consult over a real-shaped store (~200 plans / 500 handoffs / 450 claims).",
496
- "duration_ms_median": 128,
496
+ "duration_ms_median": 132,
497
497
  "payload_chars_median": 2626,
498
498
  "payload_tokens_est_median": 657
499
499
  },
@@ -501,9 +501,9 @@
501
501
  "name": "first_edit",
502
502
  "volume": "medium",
503
503
  "description": "code_find + code_brief on the fresh-agent path (missing index, first touch).",
504
- "duration_ms_median": 11,
505
- "payload_chars_median": 1305,
506
- "payload_tokens_est_median": 326
504
+ "duration_ms_median": 13,
505
+ "payload_chars_median": 1629,
506
+ "payload_tokens_est_median": 407
507
507
  }
508
508
  ]
509
509
  }
package/docs/code-map.md CHANGED
@@ -47,6 +47,8 @@ brainclaw code-map status
47
47
  ```
48
48
  Code Map status
49
49
  Store: present
50
+ Root: /workspace/apps/api
51
+ Path: /workspace/apps/api/.brainclaw/code
50
52
  Freshness: fresh
51
53
  Files: 142
52
54
  Nodes: 1873
@@ -212,6 +214,14 @@ Code Map to **that child** — the same per-project scoping that powers `bclaw_w
212
214
  juggling. A submodule that is itself an application (under e.g. `apps/`) is indexed
213
215
  like any other directory.
214
216
 
217
+ Both CLI and MCP status responses disclose the exact resolved project root and
218
+ Code Map store path. The MCP response additionally includes `active_source`, the
219
+ resolved project identity, the running server version, and the package version
220
+ visible on disk. In a monorepo, compare these fields before concluding that an
221
+ index is missing: a root store and a child store are intentionally distinct. If
222
+ the versions differ, restart the MCP server; if the roots differ, select the
223
+ intended project/session (or pass `cascade=true` at the workspace root).
224
+
215
225
  ### Cascading a multi-project workspace (`--cascade`)
216
226
 
217
227
  In a `project_mode: multi-project` workspace, one refresh at the root can index
@@ -518,6 +518,11 @@ The Loop engine is a **control plane**; existing primitives remain the **data pl
518
518
 
519
519
  A Loop never copies these objects — it links them. Deleting the linked primitive does not break the loop; the reference just becomes dangling, surfaced in diagnostics.
520
520
 
521
+ Inline `LoopArtifact.body` values are capped at **4096 UTF-8 bytes**, not 4096
522
+ characters. Larger task and result text remains available through its source
523
+ object or a `ref`; any inline projection is byte-truncated with an explicit
524
+ `…[truncated]` marker. This contract is identical for review and ideation.
525
+
521
526
  ## Per-protocol guides
522
527
 
523
528
  Each of the five kinds has its own operator-facing guide with the same
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brainclaw",
3
- "version": "1.28.1",
3
+ "version": "1.28.2",
4
4
  "description": "Shared project memory for humans and coding agents.",
5
5
  "type": "module",
6
6
  "repository": {