brainclaw 1.8.0 → 1.9.1
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/README.md +592 -505
- package/dist/brainclaw-vscode.vsix +0 -0
- package/dist/cli.js +138 -13
- package/dist/commands/add-step.js +1 -1
- package/dist/commands/bootstrap.js +2 -26
- package/dist/commands/check-security-mcp.js +50 -33
- package/dist/commands/check-security.js +86 -43
- package/dist/commands/claim.js +22 -21
- package/dist/commands/confirm.js +26 -0
- package/dist/commands/context-diff.js +1 -1
- package/dist/commands/dispatch-watch.js +142 -0
- package/dist/commands/doctor.js +113 -2
- package/dist/commands/estimation-report.js +115 -16
- package/dist/commands/harvest.js +286 -23
- package/dist/commands/hooks.js +73 -73
- package/dist/commands/init.js +124 -22
- package/dist/commands/install-hooks.js +78 -78
- package/dist/commands/loops-handlers.js +4 -0
- package/dist/commands/mcp-read-handlers.js +253 -41
- package/dist/commands/mcp.js +664 -102
- package/dist/commands/memory.js +21 -17
- package/dist/commands/migrate.js +81 -17
- package/dist/commands/prune.js +78 -4
- package/dist/commands/reflect.js +26 -20
- package/dist/commands/register-agent.js +57 -1
- package/dist/commands/repair.js +20 -0
- package/dist/commands/session-end.js +15 -6
- package/dist/commands/session-start.js +18 -1
- package/dist/commands/setup-security.js +39 -18
- package/dist/commands/setup.js +26 -27
- package/dist/commands/stale.js +16 -2
- package/dist/commands/switch.js +26 -5
- package/dist/commands/uninstall.js +126 -34
- package/dist/commands/update-step.js +6 -0
- package/dist/commands/version.js +1 -1
- package/dist/commands/worktree.js +60 -0
- package/dist/core/actions.js +12 -3
- package/dist/core/agent-capability.js +30 -17
- package/dist/core/agent-files.js +963 -666
- package/dist/core/agent-integrations.js +0 -3
- package/dist/core/agent-inventory.js +67 -0
- package/dist/core/agent-registry.js +163 -29
- package/dist/core/agentrun-reconciler.js +33 -2
- package/dist/core/agentruns.js +7 -1
- package/dist/core/ai-agent-detection.js +31 -44
- package/dist/core/archival.js +15 -9
- package/dist/core/assignment-reconciler.js +56 -0
- package/dist/core/assignment-sweeper.js +127 -4
- package/dist/core/assignments.js +69 -11
- package/dist/core/bootstrap.js +233 -67
- package/dist/core/brainclaw-version.js +22 -0
- package/dist/core/candidates.js +21 -1
- package/dist/core/claims.js +313 -150
- package/dist/core/codev-prompts.js +38 -38
- package/dist/core/config.js +6 -1
- package/dist/core/context-diff.js +148 -20
- package/dist/core/context.js +129 -8
- package/dist/core/coordination.js +22 -3
- package/dist/core/default-profiles/doctor.yaml +11 -11
- package/dist/core/default-profiles/janitor.yaml +11 -11
- package/dist/core/default-profiles/onboarder.yaml +11 -11
- package/dist/core/default-profiles/reviewer.yaml +13 -13
- package/dist/core/dispatch-status.js +79 -5
- package/dist/core/dispatcher.js +65 -12
- package/dist/core/entity-operations.js +74 -27
- package/dist/core/entity-registry.js +31 -5
- package/dist/core/event-log.js +138 -21
- package/dist/core/events/checkpoint.js +258 -0
- package/dist/core/events/genesis.js +220 -0
- package/dist/core/events/journal.js +507 -0
- package/dist/core/events/materialize.js +126 -0
- package/dist/core/events/registry-post-image.js +110 -0
- package/dist/core/events/verify.js +109 -0
- package/dist/core/execution-adapters.js +23 -0
- package/dist/core/execution.js +1 -1
- package/dist/core/facade-schema.js +38 -0
- package/dist/core/gc-semantic.js +130 -5
- package/dist/core/handoff-snapshot.js +68 -0
- package/dist/core/ids.js +19 -8
- package/dist/core/instruction-templates.js +34 -115
- package/dist/core/io.js +39 -3
- package/dist/core/json-store.js +10 -1
- package/dist/core/lock.js +153 -28
- package/dist/core/loops/bootstrap-acquire.js +25 -1
- package/dist/core/loops/facade-schema.js +2 -0
- package/dist/core/loops/hooks/survey-signals-baseline.js +36 -0
- package/dist/core/loops/index.js +1 -0
- package/dist/core/loops/presets/bootstrap.js +7 -0
- package/dist/core/loops/store.js +17 -0
- package/dist/core/loops/verbs.js +24 -2
- package/dist/core/markdown.js +8 -76
- package/dist/core/mcp-command-resolution.js +245 -0
- package/dist/core/memory-compactor.js +5 -3
- package/dist/core/memory-lifecycle.js +282 -0
- package/dist/core/merge-risk.js +150 -0
- package/dist/core/messaging.js +10 -3
- package/dist/core/migration.js +11 -1
- package/dist/core/observer-mode.js +26 -0
- package/dist/core/operations/memory-mutation.js +90 -65
- package/dist/core/operations/plan.js +27 -1
- package/dist/core/protocol-skills.js +210 -0
- package/dist/core/reflection-safety.js +6 -7
- package/dist/core/reputation.js +84 -2
- package/dist/core/runtime-signals.js +72 -10
- package/dist/core/runtime.js +84 -1
- package/dist/core/schema.js +114 -0
- package/dist/core/search.js +19 -2
- package/dist/core/security-detectors.js +125 -0
- package/dist/core/security-extract.js +189 -0
- package/dist/core/security-guard.js +217 -139
- package/dist/core/security-packages.js +121 -0
- package/dist/core/security-scoring.js +76 -9
- package/dist/core/security.js +34 -2
- package/dist/core/sequence.js +11 -2
- package/dist/core/setup-flow.js +141 -13
- package/dist/core/spawn-check.js +16 -2
- package/dist/core/staleness.js +73 -2
- package/dist/core/state.js +250 -54
- package/dist/core/store-resolution.js +45 -12
- package/dist/core/worktree.js +90 -26
- package/dist/facts.js +8 -8
- package/dist/facts.json +7 -7
- package/docs/PROTOCOL.md +223 -0
- package/docs/adapters/openclaw.md +43 -43
- package/docs/architecture/project-refs.md +328 -328
- package/docs/cli.md +2097 -2096
- package/docs/concepts/coordination.md +52 -52
- package/docs/concepts/coordinator-runbook.md +129 -0
- package/docs/concepts/dispatch-lifecycle.md +245 -245
- package/docs/concepts/event-log-store.md +928 -0
- package/docs/concepts/ideation-loop.md +317 -317
- package/docs/concepts/loop-engine.md +520 -511
- package/docs/concepts/mcp-governance.md +268 -268
- package/docs/concepts/memory.md +89 -88
- package/docs/concepts/multi-agent-workflows.md +167 -167
- package/docs/concepts/observer-protocol.md +361 -0
- package/docs/concepts/parallel-merge-protocol.md +71 -0
- package/docs/concepts/plans-and-claims.md +217 -174
- package/docs/concepts/project-md-convention.md +35 -35
- package/docs/concepts/runtime-notes.md +38 -38
- package/docs/concepts/skills.md +78 -0
- package/docs/concepts/troubleshooting.md +254 -254
- package/docs/concepts/workspace-bootstrapping.md +142 -81
- package/docs/context-format-changelog.md +35 -35
- package/docs/context-format.md +48 -48
- package/docs/index.md +65 -65
- package/docs/integrations/agents.md +162 -162
- package/docs/integrations/claude-code.md +23 -23
- package/docs/integrations/cline.md +87 -88
- package/docs/integrations/codex.md +2 -2
- package/docs/integrations/continue.md +60 -60
- package/docs/integrations/copilot.md +82 -80
- package/docs/integrations/cursor.md +23 -23
- package/docs/integrations/kilocode.md +72 -72
- package/docs/integrations/mcp.md +377 -377
- package/docs/integrations/mistral-vibe.md +122 -122
- package/docs/integrations/openclaw.md +99 -98
- package/docs/integrations/opencode.md +84 -84
- package/docs/integrations/overview.md +122 -122
- package/docs/integrations/roo.md +74 -74
- package/docs/integrations/windsurf.md +83 -83
- package/docs/mcp-schema-changelog.md +360 -329
- package/docs/playbooks/integration/index.md +121 -121
- package/docs/playbooks/orchestration.md +37 -0
- package/docs/playbooks/productivity/index.md +99 -99
- package/docs/playbooks/team/index.md +117 -117
- package/docs/product/agent-first-model.md +184 -184
- package/docs/product/entity-model-audit.md +462 -462
- package/docs/product/positioning.md +86 -86
- package/docs/quickstart-existing-project.md +107 -107
- package/docs/quickstart.md +148 -147
- package/docs/release-maintenance.md +79 -79
- package/docs/reputation.md +52 -52
- package/docs/review.md +45 -45
- package/docs/security.md +212 -53
- package/docs/server-operations.md +118 -118
- package/docs/storage.md +110 -108
- package/package.json +86 -69
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
# Positioning
|
|
2
|
-
|
|
3
|
-
brainclaw is a **local-first coordination layer for humans and coding agents**.
|
|
4
|
-
|
|
5
|
-
It is not trying to become another coding agent, another hosted team platform, or another opaque memory service.
|
|
6
|
-
|
|
7
|
-
## The problem
|
|
8
|
-
|
|
9
|
-
Coding agents are good at local generation but weak at shared project state.
|
|
10
|
-
|
|
11
|
-
They often struggle with:
|
|
12
|
-
|
|
13
|
-
- remembering active constraints
|
|
14
|
-
- keeping track of recent decisions
|
|
15
|
-
- avoiding known traps
|
|
16
|
-
- coordinating shared plans
|
|
17
|
-
- handling handoffs cleanly
|
|
18
|
-
- avoiding collisions on files
|
|
19
|
-
- adapting instructions across different workspaces on the same machine
|
|
20
|
-
|
|
21
|
-
Traditional agent instruction files help, but they are relatively static.
|
|
22
|
-
They do not provide a living coordination layer for a workspace.
|
|
23
|
-
|
|
24
|
-
## What brainclaw does differently
|
|
25
|
-
|
|
26
|
-
brainclaw turns the workspace into a shared layer of:
|
|
27
|
-
|
|
28
|
-
- project memory
|
|
29
|
-
- implementation state
|
|
30
|
-
- coordination state
|
|
31
|
-
- prompt-ready context
|
|
32
|
-
|
|
33
|
-
Instead of relying only on fixed instruction files, brainclaw exposes fresh workspace state through files, CLI commands, and MCP tools.
|
|
34
|
-
|
|
35
|
-
It also writes directly to each agent's native instruction format — `CLAUDE.md`, `.cursor/rules/`, `.windsurfrules`, etc. — so the right context is always in the right place.
|
|
36
|
-
|
|
37
|
-
## What brainclaw is not
|
|
38
|
-
|
|
39
|
-
- a replacement for your coding agents
|
|
40
|
-
- a project management SaaS
|
|
41
|
-
- a black-box orchestration platform
|
|
42
|
-
- a cloud memory layer
|
|
43
|
-
- a replacement for Git
|
|
44
|
-
|
|
45
|
-
It sits next to existing tools and helps them collaborate more like a development team.
|
|
46
|
-
|
|
47
|
-
## Core product promise
|
|
48
|
-
|
|
49
|
-
brainclaw helps coding agents and humans work together around a shared workspace by making the important things explicit:
|
|
50
|
-
|
|
51
|
-
- what the project should remember
|
|
52
|
-
- what is currently being worked on
|
|
53
|
-
- who is touching which files
|
|
54
|
-
- what needs to be handed off
|
|
55
|
-
- what context is relevant right now
|
|
56
|
-
|
|
57
|
-
## Why local-first matters
|
|
58
|
-
|
|
59
|
-
Local-first gives teams:
|
|
60
|
-
|
|
61
|
-
- full control over data
|
|
62
|
-
- no network dependency
|
|
63
|
-
- no hidden storage
|
|
64
|
-
- plain text and JSON artifacts
|
|
65
|
-
- Git history for shared project state
|
|
66
|
-
- compatibility with enterprise or offline environments
|
|
67
|
-
|
|
1
|
+
# Positioning
|
|
2
|
+
|
|
3
|
+
brainclaw is a **local-first coordination layer for humans and coding agents**.
|
|
4
|
+
|
|
5
|
+
It is not trying to become another coding agent, another hosted team platform, or another opaque memory service.
|
|
6
|
+
|
|
7
|
+
## The problem
|
|
8
|
+
|
|
9
|
+
Coding agents are good at local generation but weak at shared project state.
|
|
10
|
+
|
|
11
|
+
They often struggle with:
|
|
12
|
+
|
|
13
|
+
- remembering active constraints
|
|
14
|
+
- keeping track of recent decisions
|
|
15
|
+
- avoiding known traps
|
|
16
|
+
- coordinating shared plans
|
|
17
|
+
- handling handoffs cleanly
|
|
18
|
+
- avoiding collisions on files
|
|
19
|
+
- adapting instructions across different workspaces on the same machine
|
|
20
|
+
|
|
21
|
+
Traditional agent instruction files help, but they are relatively static.
|
|
22
|
+
They do not provide a living coordination layer for a workspace.
|
|
23
|
+
|
|
24
|
+
## What brainclaw does differently
|
|
25
|
+
|
|
26
|
+
brainclaw turns the workspace into a shared layer of:
|
|
27
|
+
|
|
28
|
+
- project memory
|
|
29
|
+
- implementation state
|
|
30
|
+
- coordination state
|
|
31
|
+
- prompt-ready context
|
|
32
|
+
|
|
33
|
+
Instead of relying only on fixed instruction files, brainclaw exposes fresh workspace state through files, CLI commands, and MCP tools.
|
|
34
|
+
|
|
35
|
+
It also writes directly to each agent's native instruction format — `CLAUDE.md`, `.cursor/rules/`, `.windsurfrules`, etc. — so the right context is always in the right place.
|
|
36
|
+
|
|
37
|
+
## What brainclaw is not
|
|
38
|
+
|
|
39
|
+
- a replacement for your coding agents
|
|
40
|
+
- a project management SaaS
|
|
41
|
+
- a black-box orchestration platform
|
|
42
|
+
- a cloud memory layer
|
|
43
|
+
- a replacement for Git
|
|
44
|
+
|
|
45
|
+
It sits next to existing tools and helps them collaborate more like a development team.
|
|
46
|
+
|
|
47
|
+
## Core product promise
|
|
48
|
+
|
|
49
|
+
brainclaw helps coding agents and humans work together around a shared workspace by making the important things explicit:
|
|
50
|
+
|
|
51
|
+
- what the project should remember
|
|
52
|
+
- what is currently being worked on
|
|
53
|
+
- who is touching which files
|
|
54
|
+
- what needs to be handed off
|
|
55
|
+
- what context is relevant right now
|
|
56
|
+
|
|
57
|
+
## Why local-first matters
|
|
58
|
+
|
|
59
|
+
Local-first gives teams:
|
|
60
|
+
|
|
61
|
+
- full control over data
|
|
62
|
+
- no network dependency
|
|
63
|
+
- no hidden storage
|
|
64
|
+
- plain text and JSON artifacts
|
|
65
|
+
- Git history for shared project state
|
|
66
|
+
- compatibility with enterprise or offline environments
|
|
67
|
+
|
|
68
68
|
## License
|
|
69
69
|
|
|
70
70
|
brainclaw core is published under the **MIT License**.
|
|
@@ -75,22 +75,22 @@ The product split is:
|
|
|
75
75
|
- remote shared-memory, hosted collaboration, advanced dashboards, and related private add-ons will stay separate commercial products
|
|
76
76
|
|
|
77
77
|
The MIT core covers the local coordination layer:
|
|
78
|
-
|
|
79
|
-
- local project memory
|
|
80
|
-
- local MCP and CLI workflows
|
|
81
|
-
- onboarding and bootstrap
|
|
82
|
-
- plans, claims, handoffs, and runtime notes
|
|
83
|
-
- local agent integrations
|
|
84
|
-
|
|
85
|
-
The commercial side is meant to cover capabilities that go beyond the local-first core:
|
|
86
|
-
|
|
87
|
-
- shared memory through the cloud for agents working across machines
|
|
88
|
-
- hosted sync and collaboration services
|
|
89
|
-
- advanced dashboards
|
|
90
|
-
- private add-ons around those hosted features
|
|
91
|
-
|
|
92
|
-
The goal is not to ship a stripped-down teaser. The goal is to keep the public core complete and useful on its own, while keeping remote and hosted features in a separate product line.
|
|
93
|
-
|
|
94
|
-
## Positioning summary
|
|
95
|
-
|
|
96
|
-
> A local-first coordination layer for humans and coding agents.
|
|
78
|
+
|
|
79
|
+
- local project memory
|
|
80
|
+
- local MCP and CLI workflows
|
|
81
|
+
- onboarding and bootstrap
|
|
82
|
+
- plans, claims, handoffs, and runtime notes
|
|
83
|
+
- local agent integrations
|
|
84
|
+
|
|
85
|
+
The commercial side is meant to cover capabilities that go beyond the local-first core:
|
|
86
|
+
|
|
87
|
+
- shared memory through the cloud for agents working across machines
|
|
88
|
+
- hosted sync and collaboration services
|
|
89
|
+
- advanced dashboards
|
|
90
|
+
- private add-ons around those hosted features
|
|
91
|
+
|
|
92
|
+
The goal is not to ship a stripped-down teaser. The goal is to keep the public core complete and useful on its own, while keeping remote and hosted features in a separate product line.
|
|
93
|
+
|
|
94
|
+
## Positioning summary
|
|
95
|
+
|
|
96
|
+
> A local-first coordination layer for humans and coding agents.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Joining a project that already uses brainclaw
|
|
2
|
-
|
|
3
|
-
You cloned a repo and noticed `.brainclaw/` already exists — someone (or something) has set it up before you. This page walks through the read-then-register path for arriving on a configured project, which is **different** from creating a new one.
|
|
4
|
-
|
|
5
|
-
If the repo is brand new and `.brainclaw/` is absent, see [quickstart.md](quickstart.md) instead.
|
|
6
|
-
|
|
7
|
-
## When to use this page
|
|
8
|
-
|
|
1
|
+
# Joining a project that already uses brainclaw
|
|
2
|
+
|
|
3
|
+
You cloned a repo and noticed `.brainclaw/` already exists — someone (or something) has set it up before you. This page walks through the read-then-register path for arriving on a configured project, which is **different** from creating a new one.
|
|
4
|
+
|
|
5
|
+
If the repo is brand new and `.brainclaw/` is absent, see [quickstart.md](quickstart.md) instead.
|
|
6
|
+
|
|
7
|
+
## When to use this page
|
|
8
|
+
|
|
9
9
|
| Situation | Use |
|
|
10
10
|
|---|---|
|
|
11
11
|
| Repo has no `.brainclaw/` | [quickstart.md](quickstart.md) (`brainclaw init`) |
|
|
@@ -17,23 +17,23 @@ The three commands now target different lifecycle stages:
|
|
|
17
17
|
- `init` creates or refreshes project setup safely
|
|
18
18
|
- `bootstrap` extracts project context into memory
|
|
19
19
|
- `enable-agent` explicitly joins another agent to the same project
|
|
20
|
-
|
|
21
|
-
## Step 0 — verify your install is compatible
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
brainclaw --version
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Compare with what the project expects. If `.brainclaw/config.yaml` has a `version_policy` block, it tells you the minimum version the project requires. If your local version is older, `brainclaw doctor --json` will surface a `version_policy` failure.
|
|
28
|
-
|
|
29
|
-
To upgrade:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npm install -g brainclaw@latest
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
(or pull the team's local-pack tarball from `.releases/` if the project doesn't publish to npm.)
|
|
36
|
-
|
|
20
|
+
|
|
21
|
+
## Step 0 — verify your install is compatible
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
brainclaw --version
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Compare with what the project expects. If `.brainclaw/config.yaml` has a `version_policy` block, it tells you the minimum version the project requires. If your local version is older, `brainclaw doctor --json` will surface a `version_policy` failure.
|
|
28
|
+
|
|
29
|
+
To upgrade:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install -g brainclaw@latest
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
(or pull the team's local-pack tarball from `.releases/` if the project doesn't publish to npm.)
|
|
36
|
+
|
|
37
37
|
## Step 1 — bootstrap this machine if needed
|
|
38
38
|
|
|
39
39
|
```bash
|
|
@@ -67,89 +67,89 @@ These commands:
|
|
|
67
67
|
If you use multiple agents on the same project, run `enable-agent` once per agent.
|
|
68
68
|
|
|
69
69
|
## Step 3 — read what already exists
|
|
70
|
-
|
|
71
|
-
Before touching code, load the project's accumulated knowledge so you don't re-discover what others already learned.
|
|
72
|
-
|
|
73
|
-
### Via the CLI (you, the human)
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
brainclaw context # full project memory as text (constraints, decisions, traps, plans)
|
|
77
|
-
brainclaw agent-board # current state of plans, claims, and open handoffs
|
|
78
|
-
brainclaw stale list # what looks abandoned and might need attention
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Via your agent (recommended day-to-day)
|
|
82
|
-
|
|
83
|
-
Tell the agent to call:
|
|
84
|
-
|
|
85
|
-
```text
|
|
86
|
-
bclaw_work(intent="resume")
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
This single MCP call returns: open plans, recent decisions, active constraints, known traps, latest handoff narrative, plus a context-diff hint. Your agent reads that *before* writing any code.
|
|
90
|
-
|
|
91
|
-
For a narrower view focused on the area you're about to touch:
|
|
92
|
-
|
|
93
|
-
```text
|
|
94
|
-
bclaw_context(kind="memory", path="src/<area>/")
|
|
95
|
-
```
|
|
96
|
-
|
|
70
|
+
|
|
71
|
+
Before touching code, load the project's accumulated knowledge so you don't re-discover what others already learned.
|
|
72
|
+
|
|
73
|
+
### Via the CLI (you, the human)
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
brainclaw context # full project memory as text (constraints, decisions, traps, plans)
|
|
77
|
+
brainclaw agent-board # current state of plans, claims, and open handoffs
|
|
78
|
+
brainclaw stale list # what looks abandoned and might need attention
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Via your agent (recommended day-to-day)
|
|
82
|
+
|
|
83
|
+
Tell the agent to call:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
bclaw_work(intent="resume")
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
This single MCP call returns: open plans, recent decisions, active constraints, known traps, latest handoff narrative, plus a context-diff hint. Your agent reads that *before* writing any code.
|
|
90
|
+
|
|
91
|
+
For a narrower view focused on the area you're about to touch:
|
|
92
|
+
|
|
93
|
+
```text
|
|
94
|
+
bclaw_context(kind="memory", path="src/<area>/")
|
|
95
|
+
```
|
|
96
|
+
|
|
97
97
|
## Step 4 — discover in-flight work
|
|
98
|
-
|
|
99
|
-
Several things may be already underway when you arrive:
|
|
100
|
-
|
|
101
|
-
```bash
|
|
102
|
-
# Plans that other agents/humans started
|
|
103
|
-
brainclaw plan list --status in_progress
|
|
104
|
-
|
|
105
|
-
# Scopes someone else has claimed (don't touch those without coordination)
|
|
106
|
-
brainclaw claim list
|
|
107
|
-
|
|
108
|
-
# Sequences with parallel lanes still active
|
|
109
|
-
brainclaw sequence list --status active
|
|
110
|
-
|
|
111
|
-
# Open handoffs waiting for a reviewer
|
|
112
|
-
brainclaw inbox list
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Or one-shot via MCP:
|
|
116
|
-
|
|
117
|
-
```text
|
|
118
|
-
bclaw_context(kind="board")
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
The board surfaces all four (plans, claims, sequences, handoffs) in one structured response.
|
|
122
|
-
|
|
98
|
+
|
|
99
|
+
Several things may be already underway when you arrive:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
# Plans that other agents/humans started
|
|
103
|
+
brainclaw plan list --status in_progress
|
|
104
|
+
|
|
105
|
+
# Scopes someone else has claimed (don't touch those without coordination)
|
|
106
|
+
brainclaw claim list
|
|
107
|
+
|
|
108
|
+
# Sequences with parallel lanes still active
|
|
109
|
+
brainclaw sequence list --status active
|
|
110
|
+
|
|
111
|
+
# Open handoffs waiting for a reviewer
|
|
112
|
+
brainclaw inbox list
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Or one-shot via MCP:
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
bclaw_context(kind="board")
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The board surfaces all four (plans, claims, sequences, handoffs) in one structured response.
|
|
122
|
+
|
|
123
123
|
## Step 5 — pick what to work on
|
|
124
|
-
|
|
125
|
-
You have a few honest options:
|
|
126
|
-
|
|
127
|
-
1. **Pick up an open handoff** — `brainclaw inbox list` shows handoffs targeted at you (or unassigned). Read the handoff narrative, then claim its scope and start.
|
|
128
|
-
2. **Take a `todo` plan** — `brainclaw plan list --status todo` returns work nobody has started yet.
|
|
129
|
-
3. **Start something new** — create a fresh plan with `bclaw_create(entity="plan", data={…})`, then claim its scope. Make sure you're not duplicating an existing plan first.
|
|
130
|
-
|
|
131
|
-
In all three cases, the workflow is then the same: `bclaw_work(intent="execute", scope=…, planId=…)` opens a session, claims the scope (with an isolated git worktree), and loads the relevant context.
|
|
132
|
-
|
|
124
|
+
|
|
125
|
+
You have a few honest options:
|
|
126
|
+
|
|
127
|
+
1. **Pick up an open handoff** — `brainclaw inbox list` shows handoffs targeted at you (or unassigned). Read the handoff narrative, then claim its scope and start.
|
|
128
|
+
2. **Take a `todo` plan** — `brainclaw plan list --status todo` returns work nobody has started yet.
|
|
129
|
+
3. **Start something new** — create a fresh plan with `bclaw_create(entity="plan", data={…})`, then claim its scope. Make sure you're not duplicating an existing plan first.
|
|
130
|
+
|
|
131
|
+
In all three cases, the workflow is then the same: `bclaw_work(intent="execute", scope=…, planId=…)` opens a session, claims the scope (with an isolated git worktree), and loads the relevant context.
|
|
132
|
+
|
|
133
133
|
## Step 6 — verify your setup is healthy before commiting changes
|
|
134
|
-
|
|
135
|
-
Once you've started working, sanity-check:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
brainclaw doctor
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
This runs a series of checks: state validity, MCP runtime health (post-pln#478), agent-integration declarations, claim hygiene, freshness markers. If anything is amber or red, see [docs/concepts/troubleshooting.md](concepts/troubleshooting.md) for the runbook.
|
|
142
|
-
|
|
143
|
-
## What this page does *not* cover
|
|
144
|
-
|
|
145
|
-
- **Creating a new project** → [quickstart.md](quickstart.md)
|
|
146
|
-
- **Extracting context from an existing repo without `.brainclaw/`** → [bootstrap](concepts/workspace-bootstrapping.md)
|
|
134
|
+
|
|
135
|
+
Once you've started working, sanity-check:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
brainclaw doctor
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
This runs a series of checks: state validity, MCP runtime health (post-pln#478), agent-integration declarations, claim hygiene, freshness markers. If anything is amber or red, see [docs/concepts/troubleshooting.md](concepts/troubleshooting.md) for the runbook.
|
|
142
|
+
|
|
143
|
+
## What this page does *not* cover
|
|
144
|
+
|
|
145
|
+
- **Creating a new project** → [quickstart.md](quickstart.md)
|
|
146
|
+
- **Extracting context from an existing repo without `.brainclaw/`** → [bootstrap](concepts/workspace-bootstrapping.md)
|
|
147
147
|
- **Setting up brainclaw on your machine for the first time** → [docs/integrations/overview.md](integrations/overview.md) (`brainclaw setup-machine` or the broader `brainclaw setup` flow)
|
|
148
|
-
- **Recovering from a degraded state** → [docs/concepts/troubleshooting.md](concepts/troubleshooting.md)
|
|
149
|
-
|
|
150
|
-
## See also
|
|
151
|
-
|
|
152
|
-
- [docs/quickstart.md](quickstart.md) — full first-time setup (greenfield)
|
|
153
|
-
- [docs/concepts/plans-and-claims.md](concepts/plans-and-claims.md) — claim/plan model
|
|
154
|
-
- [docs/concepts/multi-agent-workflows.md](concepts/multi-agent-workflows.md) — coordination patterns once you're settled in
|
|
155
|
-
- [docs/concepts/troubleshooting.md](concepts/troubleshooting.md) — when things go wrong
|
|
148
|
+
- **Recovering from a degraded state** → [docs/concepts/troubleshooting.md](concepts/troubleshooting.md)
|
|
149
|
+
|
|
150
|
+
## See also
|
|
151
|
+
|
|
152
|
+
- [docs/quickstart.md](quickstart.md) — full first-time setup (greenfield)
|
|
153
|
+
- [docs/concepts/plans-and-claims.md](concepts/plans-and-claims.md) — claim/plan model
|
|
154
|
+
- [docs/concepts/multi-agent-workflows.md](concepts/multi-agent-workflows.md) — coordination patterns once you're settled in
|
|
155
|
+
- [docs/concepts/troubleshooting.md](concepts/troubleshooting.md) — when things go wrong
|