@apralabs/apra-fleet 0.3.4 → 0.3.5
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 +8 -1
- package/dist/agents/_shared/GRAPH-SEMANTICS.md +47 -0
- package/dist/agents/ci-watcher.md +43 -0
- package/dist/agents/deployer.md +51 -28
- package/dist/agents/doer.md +160 -31
- package/dist/agents/harvester.md +81 -6
- package/dist/agents/integ-test-runner.md +147 -17
- package/dist/agents/plan-reviewer.md +76 -9
- package/dist/agents/planner.md +80 -15
- package/dist/agents/reviewer.md +90 -13
- package/dist/agents/schemas/ci-watcher-input.json +26 -0
- package/dist/agents/schemas/ci-watcher-output.json +18 -0
- package/dist/agents/schemas/deployer-input.json +19 -0
- package/dist/agents/schemas/deployer-output.json +17 -0
- package/dist/agents/schemas/doer-input.json +25 -0
- package/dist/agents/schemas/doer-output.json +22 -0
- package/dist/agents/schemas/harvester-input.json +31 -0
- package/dist/agents/schemas/harvester-output.json +18 -0
- package/dist/agents/schemas/integ-test-runner-input.json +20 -0
- package/dist/agents/schemas/integ-test-runner-output.json +27 -0
- package/dist/agents/schemas/plan-reviewer-input.json +15 -0
- package/dist/agents/schemas/plan-reviewer-output.json +30 -0
- package/dist/agents/schemas/reviewer-input.json +25 -0
- package/dist/agents/schemas/reviewer-output.json +34 -0
- package/dist/cli/config.d.ts +6 -0
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +11 -0
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/install.d.ts +10 -0
- package/dist/cli/install.d.ts.map +1 -1
- package/dist/cli/install.js +74 -23
- package/dist/cli/install.js.map +1 -1
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +19 -0
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/cli/watch.d.ts +8 -0
- package/dist/cli/watch.d.ts.map +1 -0
- package/dist/cli/watch.js +536 -0
- package/dist/cli/watch.js.map +1 -0
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/os/linux.d.ts +1 -0
- package/dist/os/linux.d.ts.map +1 -1
- package/dist/os/linux.js +4 -0
- package/dist/os/linux.js.map +1 -1
- package/dist/os/macos.d.ts +1 -0
- package/dist/os/macos.d.ts.map +1 -1
- package/dist/os/macos.js +5 -0
- package/dist/os/macos.js.map +1 -1
- package/dist/os/os-commands.d.ts +2 -0
- package/dist/os/os-commands.d.ts.map +1 -1
- package/dist/os/windows.d.ts +1 -0
- package/dist/os/windows.d.ts.map +1 -1
- package/dist/os/windows.js +7 -0
- package/dist/os/windows.js.map +1 -1
- package/dist/services/agent-provisioner.d.ts +39 -0
- package/dist/services/agent-provisioner.d.ts.map +1 -0
- package/dist/services/agent-provisioner.js +130 -0
- package/dist/services/agent-provisioner.js.map +1 -0
- package/dist/services/sftp.d.ts +15 -0
- package/dist/services/sftp.d.ts.map +1 -1
- package/dist/services/sftp.js +34 -0
- package/dist/services/sftp.js.map +1 -1
- package/dist/services/ssh.d.ts +13 -0
- package/dist/services/ssh.d.ts.map +1 -1
- package/dist/services/ssh.js +46 -0
- package/dist/services/ssh.js.map +1 -1
- package/dist/services/stall/log-path-resolver.d.ts +8 -0
- package/dist/services/stall/log-path-resolver.d.ts.map +1 -1
- package/dist/services/stall/log-path-resolver.js +12 -4
- package/dist/services/stall/log-path-resolver.js.map +1 -1
- package/dist/services/statusline.d.ts.map +1 -1
- package/dist/services/statusline.js +16 -4
- package/dist/services/statusline.js.map +1 -1
- package/dist/services/user-config.d.ts +14 -0
- package/dist/services/user-config.d.ts.map +1 -1
- package/dist/services/user-config.js +22 -0
- package/dist/services/user-config.js.map +1 -1
- package/dist/services/watch/fleet-log.d.ts +34 -0
- package/dist/services/watch/fleet-log.d.ts.map +1 -0
- package/dist/services/watch/fleet-log.js +168 -0
- package/dist/services/watch/fleet-log.js.map +1 -0
- package/dist/services/watch/project-resolver.d.ts +51 -0
- package/dist/services/watch/project-resolver.d.ts.map +1 -0
- package/dist/services/watch/project-resolver.js +104 -0
- package/dist/services/watch/project-resolver.js.map +1 -0
- package/dist/services/watch/transcript-formatter.d.ts +26 -0
- package/dist/services/watch/transcript-formatter.d.ts.map +1 -0
- package/dist/services/watch/transcript-formatter.js +210 -0
- package/dist/services/watch/transcript-formatter.js.map +1 -0
- package/dist/skills/auto-sprint-args/SKILL.md +88 -0
- package/dist/skills/pm/SKILL.md +101 -42
- package/dist/skills/pm/beads.md +27 -22
- package/dist/skills/pm/cost.md +6 -4
- package/dist/skills/pm/doer-reviewer-loop.md +62 -62
- package/dist/skills/pm/fleet-addendum.md +11 -5
- package/dist/skills/pm/simple-sprint.md +6 -5
- package/dist/skills/pm/sprint.md +53 -37
- package/dist/tools/check-status.d.ts.map +1 -1
- package/dist/tools/check-status.js +47 -29
- package/dist/tools/check-status.js.map +1 -1
- package/dist/tools/cloud-control.d.ts +2 -2
- package/dist/tools/compose-permissions.d.ts +6 -3
- package/dist/tools/compose-permissions.d.ts.map +1 -1
- package/dist/tools/compose-permissions.js +63 -5
- package/dist/tools/compose-permissions.js.map +1 -1
- package/dist/tools/execute-command.d.ts.map +1 -1
- package/dist/tools/execute-command.js +18 -2
- package/dist/tools/execute-command.js.map +1 -1
- package/dist/tools/execute-prompt.d.ts +1 -0
- package/dist/tools/execute-prompt.d.ts.map +1 -1
- package/dist/tools/execute-prompt.js +38 -1
- package/dist/tools/execute-prompt.js.map +1 -1
- package/dist/tools/list-members.d.ts +3 -0
- package/dist/tools/list-members.d.ts.map +1 -1
- package/dist/tools/list-members.js +30 -15
- package/dist/tools/list-members.js.map +1 -1
- package/dist/tools/register-member.d.ts +6 -0
- package/dist/tools/register-member.d.ts.map +1 -1
- package/dist/tools/register-member.js +35 -0
- package/dist/tools/register-member.js.map +1 -1
- package/dist/tools/update-member.d.ts +6 -0
- package/dist/tools/update-member.d.ts.map +1 -1
- package/dist/tools/update-member.js +40 -0
- package/dist/tools/update-member.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/agent-helpers.d.ts +8 -0
- package/dist/utils/agent-helpers.d.ts.map +1 -1
- package/dist/utils/agent-helpers.js +21 -0
- package/dist/utils/agent-helpers.js.map +1 -1
- package/dist/utils/skill-matrix.d.ts +19 -0
- package/dist/utils/skill-matrix.d.ts.map +1 -0
- package/dist/utils/skill-matrix.js +47 -0
- package/dist/utils/skill-matrix.js.map +1 -0
- package/dist/workflows/auto-sprint.js +1207 -204
- package/package.json +3 -2
- package/skills/fleet/permissions.md +60 -5
- package/skills/fleet/profiles/tag-devops.json +4 -0
- package/skills/fleet/profiles/tag-gpu.json +4 -0
- package/skills/fleet/skill-matrix.md +15 -8
- package/version.json +1 -1
- package/dist/services/stall/log-path-resolver.test.d.ts +0 -2
- package/dist/services/stall/log-path-resolver.test.d.ts.map +0 -1
- package/dist/services/stall/log-path-resolver.test.js +0 -76
- package/dist/services/stall/log-path-resolver.test.js.map +0 -1
- package/dist/skills/pm/tpl-progress.json +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apralabs/apra-fleet",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "MCP server for orchestrating multiple agentic AI instances (Claude, Gemini, Codex, Copilot, AGY) across machines via SSH",
|
|
5
5
|
"author": "Apra Labs",
|
|
6
6
|
"homepage": "https://github.com/Apra-Labs/apra-fleet",
|
|
@@ -36,9 +36,10 @@
|
|
|
36
36
|
"build:sea": "node scripts/build-sea.mjs",
|
|
37
37
|
"build:sea-config": "node scripts/gen-sea-config.mjs",
|
|
38
38
|
"build:sea-package": "node scripts/package-sea.mjs",
|
|
39
|
-
"build:binary": "npm run build:sea && npm run build:sea-config && npm run build:sea-package",
|
|
39
|
+
"build:binary": "npm run build && npm run build:sea && npm run build:sea-config && npm run build:sea-package",
|
|
40
40
|
"start": "node dist/index.js",
|
|
41
41
|
"dev": "tsc --watch",
|
|
42
|
+
"pretest": "git submodule update --init --recursive",
|
|
42
43
|
"test": "vitest run",
|
|
43
44
|
"test:watch": "vitest",
|
|
44
45
|
"smoke": "tsc && node dist/smoke-test.js",
|
|
@@ -2,9 +2,64 @@
|
|
|
2
2
|
|
|
3
3
|
## Before dispatching work
|
|
4
4
|
|
|
5
|
-
Call `compose_permissions` with the member and
|
|
5
|
+
Call `compose_permissions` with the member and specify a **primary mode** (how to set this is described in [Primary Mode](#primary-mode)). The tool detects the project stack (Node.js, Python, Go, etc.) from the member's `work_folder`, loads the corresponding permission profiles, merges optional ledger grants, and delivers the right provider-native config to the member. Same call works across all agentic providers.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Primary Mode
|
|
8
|
+
|
|
9
|
+
Specify the primary mode via either `role` (legacy, Phase 1) or `tags` (Phase 2+). When both are supplied, `tags` wins.
|
|
10
|
+
|
|
11
|
+
#### Via role (legacy)
|
|
12
|
+
```
|
|
13
|
+
"Compose permissions for java-dev1 as doer, project folder ./my-project"
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- `role` must be `doer` or `reviewer`
|
|
17
|
+
- Maps to the base-dev or base-reviewer profile
|
|
18
|
+
- **Deprecated**: use `tags` for new members; `role` remains supported for backward compatibility
|
|
19
|
+
|
|
20
|
+
#### Via tags (Phase 2+)
|
|
21
|
+
```
|
|
22
|
+
"Compose permissions for gpu-builder with tags: gpu, devops, doer, project folder ./my-project"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Tags determine the primary mode and grant additional tool scopes:
|
|
26
|
+
|
|
27
|
+
- **Reserved tags** control primary mode:
|
|
28
|
+
- `doer` -> loads base-dev profile (broad build/test permissions)
|
|
29
|
+
- `reviewer` -> loads base-reviewer profile (read + feedback + test permissions)
|
|
30
|
+
- Default: `doer` if neither tag is present
|
|
31
|
+
- When both are present, one is silently discarded; prefer exactly one
|
|
32
|
+
|
|
33
|
+
- **Custom tags** (e.g., `gpu`, `devops`, `database`) each load a tag-specific profile (tag-<name>.json) and merge permissions additively
|
|
34
|
+
- Unknown tags (no matching tag-<name>.json file) are silently ignored
|
|
35
|
+
- Custom tags grant permission additively - all matching profiles contribute to the final allow list
|
|
36
|
+
|
|
37
|
+
### Profile Composition
|
|
38
|
+
|
|
39
|
+
1. Load **base profile**: base-dev or base-reviewer depending on primary mode
|
|
40
|
+
2. Load **stack profiles**: detect package.json, requirements.txt, go.mod, etc.; merge matching profiles keyed by the primary mode
|
|
41
|
+
3. Load **custom tag profiles**: for each non-mode tag, load tag-<name>.json and merge its permissions for the primary mode
|
|
42
|
+
4. Load **ledger grants**: merge any permissions previously granted in project_folder/permissions.json
|
|
43
|
+
|
|
44
|
+
All merges are additive (Set-based) - order is independent, duplicates discarded. The final allow list is delivered to the member's provider (Claude, Gemini, etc.) in the provider's native config format.
|
|
45
|
+
|
|
46
|
+
### Example
|
|
47
|
+
|
|
48
|
+
Member tags: `["gpu", "devops", "doer"]`
|
|
49
|
+
|
|
50
|
+
Detected stack: `node`
|
|
51
|
+
|
|
52
|
+
Ledger grants: `["Bash(grpcurl:*)"]`
|
|
53
|
+
|
|
54
|
+
Profile composition:
|
|
55
|
+
|
|
56
|
+
1. base-dev.json (primary mode = doer)
|
|
57
|
+
2. node.json[dev] (stack-specific)
|
|
58
|
+
3. tag-gpu.json[dev] (custom tag)
|
|
59
|
+
4. tag-devops.json[dev] (custom tag)
|
|
60
|
+
5. ledger: Bash(grpcurl:*)
|
|
61
|
+
|
|
62
|
+
Final allow list: union of all above.
|
|
8
63
|
|
|
9
64
|
## Permission denial during execution
|
|
10
65
|
|
|
@@ -12,12 +67,12 @@ When `execute_prompt` output contains a permission denial, call `compose_permiss
|
|
|
12
67
|
|
|
13
68
|
> "Grant Bash(docker:*) to build-server, reason: integration tests, project folder ./my-project"
|
|
14
69
|
|
|
15
|
-
The tool validates (blocks dangerous tools like sudo/env), expands co-occurrences (docker
|
|
70
|
+
The tool validates (blocks dangerous tools like sudo/env), expands co-occurrences (docker -> docker-compose), delivers the updated config, and appends to the project ledger for future use.
|
|
16
71
|
|
|
17
72
|
## Role switch
|
|
18
73
|
|
|
19
|
-
When a member's
|
|
74
|
+
When a member's primary mode changes (e.g., from doer to reviewer), re-run `compose_permissions` with the updated `role` or `tags`.
|
|
20
75
|
|
|
21
76
|
## Never auto-granted
|
|
22
77
|
|
|
23
|
-
`sudo`, `su`, `env`, `printenv`, `nc`, `nmap`
|
|
78
|
+
`sudo`, `su`, `env`, `printenv`, `nc`, `nmap` - the tool rejects these. Escalate to user.
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# Skill Matrix
|
|
2
2
|
|
|
3
|
-
Maps project +
|
|
3
|
+
Maps project + tag to required skills. Used during onboarding (Step 6).
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Tags are real member tag names (set via `update_member tags=[...]`). They drive
|
|
6
|
+
both skill selection (which activate_skill calls to make during onboarding) and
|
|
7
|
+
permission composition (which tag-<name>.json profiles are merged in
|
|
8
|
+
compose_permissions). The values in the Tag column below are the exact strings
|
|
9
|
+
stored in the member's `tags` array.
|
|
10
|
+
|
|
11
|
+
| Project | VCS | Tag | Required Skills |
|
|
12
|
+
|---------|-----|-----|----------------|
|
|
7
13
|
| Any | GitHub | Any | None (gh CLI sufficient) |
|
|
8
14
|
| Any | Bitbucket | devops | `bitbucket-devops` |
|
|
9
15
|
| Any | Bitbucket | code-review | `bitbucket-devops` |
|
|
@@ -27,8 +33,9 @@ Maps project + role to required skills. Used during onboarding (Step 6).
|
|
|
27
33
|
|
|
28
34
|
## Rules
|
|
29
35
|
|
|
30
|
-
1. Skills are additive
|
|
31
|
-
2.
|
|
32
|
-
3.
|
|
33
|
-
4.
|
|
34
|
-
5.
|
|
36
|
+
1. Skills are additive -- multiple tags = union of all required skills
|
|
37
|
+
2. Members with no tags need no tag-driven skills; VCS and project rules still apply
|
|
38
|
+
3. GitHub members rarely need extra skills -- gh CLI covers most operations
|
|
39
|
+
4. Bitbucket/Azure DevOps members need provider-specific skills for devops/code-review tags (LLMs lack native API knowledge without skills)
|
|
40
|
+
5. Project-specific skills layer on top of VCS skills
|
|
41
|
+
6. Skills are independent of the member's LLM provider -- a Gemini member needs the same project skills as a Claude member. Skill selection is driven by VCS provider, project, and tags, not LLM provider.
|
package/version.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-path-resolver.test.d.ts","sourceRoot":"","sources":["../../../src/services/stall/log-path-resolver.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { resolveSessionLogDir, resolveSessionLogPath } from './log-path-resolver.js';
|
|
3
|
-
describe('log-path-resolver', () => {
|
|
4
|
-
describe('resolveSessionLogDir', () => {
|
|
5
|
-
it('Claude Windows: encodes path separators and colons with dashes', () => {
|
|
6
|
-
const result = resolveSessionLogDir('claude', 'C:\\Users\\test\\project');
|
|
7
|
-
expect(result).toContain('.claude');
|
|
8
|
-
expect(result).toContain('C---Users-test-project');
|
|
9
|
-
});
|
|
10
|
-
it('Claude macOS: encodes path separators and colons with dashes', () => {
|
|
11
|
-
const result = resolveSessionLogDir('claude', '/Users/test/project');
|
|
12
|
-
expect(result).toContain('.claude');
|
|
13
|
-
expect(result).toContain('Users-test-project');
|
|
14
|
-
});
|
|
15
|
-
it('Gemini: includes /chats/ subdirectory', () => {
|
|
16
|
-
const result = resolveSessionLogDir('gemini', '/home/user/project');
|
|
17
|
-
expect(result).toContain('.gemini');
|
|
18
|
-
expect(result).toContain('project');
|
|
19
|
-
expect(result).toContain('chats');
|
|
20
|
-
expect(result?.endsWith('chats')).toBe(true);
|
|
21
|
-
});
|
|
22
|
-
it('Gemini: uses project basename', () => {
|
|
23
|
-
const result = resolveSessionLogDir('gemini', '/path/to/my-project');
|
|
24
|
-
expect(result).toContain('my-project');
|
|
25
|
-
});
|
|
26
|
-
it('returns null for unknown provider', () => {
|
|
27
|
-
const result = resolveSessionLogDir('unknown', '/some/path');
|
|
28
|
-
expect(result).toBeNull();
|
|
29
|
-
});
|
|
30
|
-
it('uses custom homeDir when provided', () => {
|
|
31
|
-
const result = resolveSessionLogDir('claude', 'C:\\work\\project', '/custom/home');
|
|
32
|
-
expect(result).toContain('/custom/home');
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
describe('resolveSessionLogPath', () => {
|
|
36
|
-
it('Claude: constructs correct path with dash-encoded project path', () => {
|
|
37
|
-
const result = resolveSessionLogPath('claude', 'session123', 'C:\\Users\\test\\project');
|
|
38
|
-
expect(result).toContain('.claude');
|
|
39
|
-
expect(result).toContain('C---Users-test-project');
|
|
40
|
-
expect(result).toContain('session123.jsonl');
|
|
41
|
-
});
|
|
42
|
-
it('Claude macOS: encodes slashes with dashes', () => {
|
|
43
|
-
const result = resolveSessionLogPath('claude', 'session456', '/Users/test/project');
|
|
44
|
-
expect(result).toContain('.claude');
|
|
45
|
-
expect(result).toContain('Users-test-project');
|
|
46
|
-
expect(result).toContain('session456.jsonl');
|
|
47
|
-
});
|
|
48
|
-
it('Gemini: includes /chats/ subdirectory in path', () => {
|
|
49
|
-
const result = resolveSessionLogPath('gemini', 'session789', '/home/user/my-project');
|
|
50
|
-
expect(result).toContain('.gemini');
|
|
51
|
-
expect(result).toContain('my-project');
|
|
52
|
-
expect(result).toContain('chats');
|
|
53
|
-
expect(result).toContain('session789.jsonl');
|
|
54
|
-
// Verify chats appears before session ID
|
|
55
|
-
const chatsIndex = result.indexOf('chats');
|
|
56
|
-
const sessionIndex = result.indexOf('session789');
|
|
57
|
-
expect(chatsIndex).toBeLessThan(sessionIndex);
|
|
58
|
-
});
|
|
59
|
-
it('Gemini: uses project basename when extracting from path', () => {
|
|
60
|
-
const result = resolveSessionLogPath('gemini', 'sess_id', '/path/to/my-app');
|
|
61
|
-
expect(result).toContain('my-app');
|
|
62
|
-
expect(result).toContain('chats');
|
|
63
|
-
});
|
|
64
|
-
it('throws for unknown provider', () => {
|
|
65
|
-
expect(() => {
|
|
66
|
-
resolveSessionLogPath('unknown', 'id', '/path');
|
|
67
|
-
}).toThrow('Unknown LLM provider');
|
|
68
|
-
});
|
|
69
|
-
it('uses custom homeDir when provided', () => {
|
|
70
|
-
const result = resolveSessionLogPath('claude', 'sess123', '/work', '/custom/home');
|
|
71
|
-
expect(result).toContain('/custom/home');
|
|
72
|
-
expect(result).toContain('.claude');
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
//# sourceMappingURL=log-path-resolver.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-path-resolver.test.js","sourceRoot":"","sources":["../../../src/services/stall/log-path-resolver.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAErF,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;QACpC,EAAE,CAAC,gEAAgE,EAAE,GAAG,EAAE;YACxE,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,EAAE,0BAA0B,CAAC,CAAC;YAC1E,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,8DAA8D,EAAE,GAAG,EAAE;YACtE,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,CAAC,CAAC;YACrE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACjD,CAAC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C,CAAC;QAChD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE;YACjE,MAAM,MAAM,GAAG,qBAAqB,CAAC,QAAQ,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;YAC7E,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;YACnC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;YACrC,MAAM,CAAC,GAAG,EAAE;gBACV,qBAAqB,CAAC,SAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;YACzD,CAAC,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACrC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;YAC3C,MAAM,MAAM,GAAG,qBAAqB,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC;YACnF,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;YACzC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sprint": "<sprint-name>",
|
|
3
|
-
"track": "<track-name>",
|
|
4
|
-
"branch": "<feature-branch>",
|
|
5
|
-
"base": "<base-branch>",
|
|
6
|
-
"worktree": "<absolute worktree path>",
|
|
7
|
-
"transport": "remote | local",
|
|
8
|
-
"sprint_root": "<beads sprint root id>",
|
|
9
|
-
"lastDispatchedPhase": null,
|
|
10
|
-
"tasks": [
|
|
11
|
-
{
|
|
12
|
-
"id": "T1.1",
|
|
13
|
-
"phase": 1,
|
|
14
|
-
"title": "<short title>",
|
|
15
|
-
"model": "<exact model the planner assigned to this task>",
|
|
16
|
-
"type": "work | verify",
|
|
17
|
-
"status": "pending | in_progress | completed | blocked",
|
|
18
|
-
"bead": "<beads task id>",
|
|
19
|
-
"commit": null,
|
|
20
|
-
"notes": ""
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"dispatches": [
|
|
24
|
-
{
|
|
25
|
-
"seq": 1,
|
|
26
|
-
"role": "planner | plan-reviewer | doer | reviewer",
|
|
27
|
-
"model": "<model this dispatch ran on>",
|
|
28
|
-
"phase": 1,
|
|
29
|
-
"tasks": ["<task ids this dispatch covered; [] for planning/review>"],
|
|
30
|
-
"tokens": 0,
|
|
31
|
-
"toolUses": 0,
|
|
32
|
-
"ms": 0
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|