@dotobokuri/fleet-cli 1.3.1 → 1.5.0

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 CHANGED
@@ -27,7 +27,7 @@ After installation, run `fleet` from any directory.
27
27
  ## Session Plugins
28
28
 
29
29
  Dedicated Claude and Codex sessions receive Fleet context through generated plugin assets rendered under `~/.fleet/marketplace/plugins/fleet`.
30
- The Fleet system prompt is injected at CLI launch time via temporary prompt files for Claude and a dedicated Codex profile, while provider-shared skill files and Claude subagent definitions are generated inside the plugin bundle from packaged assets. Built-in skills include Fleet Wiki usage plus the four protocol-mode skills used by the Admiral protocol gate: `fleet-protocol-trivial`, `fleet-protocol-standard`, `fleet-protocol-high-risk`, and `fleet-protocol-multi-agent`.
30
+ The Fleet system prompt is injected at CLI launch time via temporary prompt files for Claude and a dedicated Codex profile, while provider-shared skill files and Claude subagent definitions are generated inside the plugin bundle from packaged assets. Built-in skills include Fleet Wiki usage plus the four protocol-mode skills used by the Admiral protocol gate: `protocol-baseline`, `protocol-midline`, `protocol-redline`, and `protocol-frontline`.
31
31
  The carrier and wiki MCP servers are not rendered into the plugin bundle; they are injected at spawn time as launch arguments (`--mcp-config` for Claude and `-c mcp_servers.*` for Codex).
32
32
 
33
33
  Claude launches with `--plugin-dir ~/.fleet/marketplace/plugins/fleet` and discovers enabled carrier agents from plugin `agents/*.md`.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: fleet-assumption-audit
2
+ name: assumption-audit
3
3
  description: Resolve decision-shaped Context Confidence gate failures one blocking gap at a time before the active protocol re-applies its planning boundary.
4
4
  ---
5
5
 
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: protocol-baseline
3
+ description: Use the compact Fleet protocol mode for simple, reversible, single-surface work.
4
+ ---
5
+
6
+ # Fleet Protocol: Baseline
7
+
8
+ Use this mode only for simple, reversible, single-surface operational work.
9
+
10
+ At any point during the work, if a Downward Guard trigger appears, stop and re-classify.
11
+
12
+ ## Checkpoints
13
+
14
+ None. Selecting baseline implies Mission Anchor Compact Mode.
15
+
16
+ ## Reporting Cadence
17
+
18
+ As you move through this protocol, report progress to the Admiral of the Navy in order.
19
+
20
+ 1. Brief in one line how the Workflow will proceed. → report `brief: <…>`
21
+ 2. State that execution is beginning and run the Workflow. → report `status: executing`
22
+
23
+ ## General Quarters
24
+
25
+ Confirm each readiness check below before the Workflow. Work through them in order and report each as you confirm it, then proceed to the Objective anchor. These checks prepare the work; they do not gate entry.
26
+
27
+ - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
28
+ - [ ] **Single surface** — the exact file, command, or fact is identified. → report `surface: <x>`
29
+ - [ ] **Reversibility** — the change is trivially reversible. → report `reversible: yes`
30
+
31
+ ## Workflow
32
+
33
+ 1. Objective statement: state the Mission Anchor objective in one line.
34
+ 2. Exact fact/file verification: verify the exact file, command, or fact needed for the request.
35
+ 3. Execution: make the smallest reversible change or run the exact requested command.
36
+ 4. Result verification: check the touched surface or command result.
37
+ 5. One-line report: report what changed, verification, and any skipped escalation trigger.
@@ -1,32 +1,31 @@
1
1
  ---
2
- name: fleet-protocol-multi-agent
2
+ name: protocol-frontline
3
3
  description: Use the coordinated Fleet protocol mode for multi-carrier or parallel ownership work.
4
4
  ---
5
5
 
6
- # Fleet Protocol: Multi-Agent
6
+ # Fleet Protocol: Frontline
7
7
 
8
- Use this mode when operational work requires multiple Carriers, independent parallel workstreams, cross-carrier review loops, or file ownership coordination. If the work is high risk but single-owner, use `fleet-protocol-high-risk` instead.
8
+ Use this mode when operational work requires multiple Carriers, independent parallel workstreams, cross-carrier review loops, or file ownership coordination. If the work is high risk but single-owner, use `protocol-redline` instead.
9
9
 
10
- The always-on Standing Orders remain binding: Mission Anchor, Context Confidence, Carrier Operations Policy, Deep Dive, and Result Integrity.
10
+ ## Checkpoints
11
11
 
12
- ## Reporting Cadence
12
+ Decomposition, Dispatch, Integration, Verification.
13
13
 
14
- As you move through this protocol, report progress to the Admiral of the Navy in order — each step on its own line with its report token. Do not merge steps together or fold them into the General Quarters checks below.
14
+ ## Reporting Cadence
15
15
 
16
- 1. State that you are drawing up the plan for this work. report `plan: drafting`
17
- 2. State that you are running the readiness checks below. → report `checks: running`
18
- 3. Confirm the readiness checks are complete. → report `checks: complete`
19
- 4. Brief how the Workflow will proceed — name (a) the Workflow steps that will run, (b) each carrier's file or responsibility ownership, and (c) the dispatch wave sequencing. → report `brief: <…>`
20
- 5. Confirm all five steps were reported, then state that execution is beginning and run the Workflow. → report `executing`
16
+ As you move through this protocol, report progress to the Admiral of the Navy in order — each step on its own line with its report token.
21
17
 
22
- Steps 2–3 wrap the General Quarters section: step 2 opens the readiness checks, they run in full, and step 3 closes them once every check has reported its token.
18
+ 1. Brief how the Workflow will proceed name (a) the Workflow steps that will run, (b) each carrier's file or responsibility ownership, and (c) the dispatch wave sequencing. report `brief: <…>`
19
+ 2. State that execution is beginning and run the Workflow. → report `status: executing`
23
20
 
24
21
  ## General Quarters
25
22
 
26
23
  Confirm each readiness check below before the Workflow. Work through them in order and report each as you confirm it, then proceed to reconnaissance and decomposition. These checks prepare the work; they do not gate entry.
27
24
 
28
25
  - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
29
- - [ ] **Impact & isolation** — carry the high-risk checks (public-surface impact, rollback checkpoint, branch or worktree isolation) wherever the work is also high risk. → report `impact/isolation: <…>`
26
+ - [ ] **Impact radius** — flag public-surface or API impact, irreversibility, and any security-sensitive surface. → report `impact: <…>`
27
+ - [ ] **Rollback** — identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. → report `rollback: <…>`
28
+ - [ ] **Isolation** — confirm a working branch or worktree isolates the change; no direct work on the default branch. → report `isolation: <branch>`
30
29
  - [ ] **Carrier availability** — confirm the intended carriers are actually exposed and available this session. → report `carriers: <…>`
31
30
  - [ ] **Ownership** — pre-sketch each carrier's file or responsibility boundary. → report `ownership: <…>`
32
31
  - [ ] **Shared resources** — flag shared mutable resources (same files, lock files, or a singleton test environment). → report `shared: <…|none>`
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: protocol-midline
3
+ description: Use the normal Fleet protocol mode for bounded operational work without downward-guard triggers.
4
+ ---
5
+
6
+ # Fleet Protocol: Midline
7
+
8
+ Use this mode for ordinary bounded operational work.
9
+
10
+ At any point during the work, if a Downward Guard trigger appears, stop and re-classify.
11
+
12
+ ## Checkpoints
13
+
14
+ Reconnaissance, Plan, Execution, Verification.
15
+
16
+ ## Reporting Cadence
17
+
18
+ As you move through this protocol, report progress to the Admiral of the Navy in order — each step on its own line with its report token.
19
+
20
+ 1. Brief how the Workflow will proceed — name (a) the Workflow steps that will run, (b) the target surfaces, and (c) the verification command. → report `brief: <…>`
21
+ 2. State that execution is beginning and run the Workflow. → report `status: executing`
22
+
23
+ ## General Quarters
24
+
25
+ Confirm each readiness check below before the Workflow. Work through them in order and report each as you confirm it, then proceed to focused reconnaissance. These checks prepare the work; they do not gate entry.
26
+
27
+ - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
28
+ - [ ] **Target surfaces** — provisionally name the minimal modules or files reconnaissance will touch; confirm or revise in the brief after reconnaissance. → report `surfaces: <…>`
29
+ - [ ] **Verification** — provisionally pre-load the test, build, or check command that will prove the work done; confirm or revise in the brief after reconnaissance. → report `verify: <cmd>`
30
+ - [ ] **Carrier** — declare whether a carrier sortie is needed. → report `carrier: <none|…>`
31
+
32
+ ## Workflow
33
+
34
+ 1. Focused reconnaissance: audit known facts, identify blocking and confirmatory gaps, and inspect the minimal relevant surfaces.
35
+ 2. Planning boundary: `Apply the Context Confidence Standing Order — entry requires sufficient`. Resolve all blocking gaps before planning.
36
+ 3. Inline plan: state objective, targets, execution steps, and done criteria.
37
+ 4. Execution: implement the plan in narrow batches, using Carrier Operations Policy when delegation is appropriate.
38
+ 5. Verification and review: run targeted checks, apply Deep Dive to speculative results, and fix actionable issues.
39
+ 6. Documentation and final report: update directly affected docs only when behavior or operator guidance changed, then summarize changes and QA.
@@ -1,25 +1,22 @@
1
1
  ---
2
- name: fleet-protocol-high-risk
2
+ name: protocol-redline
3
3
  description: Use the risk-controlled Fleet protocol mode for irreversible, structural, multi-module, or prompt-policy work.
4
4
  ---
5
5
 
6
- # Fleet Protocol: High Risk
6
+ # Fleet Protocol: Redline
7
7
 
8
- Use this mode for irreversible operations, structural/API changes, cross-module edits, doctrine or prompt-policy edits, security-sensitive work, or any operational request needing explicit risk controls. Escalate to `fleet-protocol-multi-agent` when multiple Carriers or parallel ownership boundaries are required.
8
+ Use this mode for irreversible operations, structural/API changes, cross-module edits, doctrine or prompt-policy edits, security-sensitive work, or any operational request needing explicit risk controls. Escalate to `protocol-frontline` when multiple Carriers or parallel ownership boundaries are required.
9
9
 
10
- The always-on Standing Orders remain binding: Mission Anchor, Context Confidence, Carrier Operations Policy, Deep Dive, and Result Integrity.
10
+ ## Checkpoints
11
11
 
12
- ## Reporting Cadence
12
+ Reconnaissance, Risk review, Plan, Execution, Verification.
13
13
 
14
- As you move through this protocol, report progress to the Admiral of the Navy in order — each step on its own line with its report token. Do not merge steps together or fold them into the General Quarters checks below.
14
+ ## Reporting Cadence
15
15
 
16
- 1. State that you are drawing up the plan for this work. report `plan: drafting`
17
- 2. State that you are running the readiness checks below. → report `checks: running`
18
- 3. Confirm the readiness checks are complete. → report `checks: complete`
19
- 4. Brief how the Workflow will proceed — name (a) the Workflow steps that will run, (b) file ownership and the rollback-safe checkpoint, and (c) the risk controls in force. → report `brief: <…>`
20
- 5. Confirm all five steps were reported, then state that execution is beginning and run the Workflow. → report `executing`
16
+ As you move through this protocol, report progress to the Admiral of the Navy in order — each step on its own line with its report token.
21
17
 
22
- Steps 2–3 wrap the General Quarters section: step 2 opens the readiness checks, they run in full, and step 3 closes them once every check has reported its token.
18
+ 1. Brief how the Workflow will proceed name (a) the Workflow steps that will run, (b) file ownership and the rollback-safe checkpoint, and (c) the risk controls in force. report `brief: <…>`
19
+ 2. State that execution is beginning and run the Workflow. → report `status: executing`
23
20
 
24
21
  ## General Quarters
25
22
 
@@ -28,17 +25,17 @@ Confirm each readiness check below before the Workflow. Work through them in ord
28
25
  - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
29
26
  - [ ] **Doctrine** — enumerate the applicable AGENTS.md files to load for the affected scope. → report `doctrine: <…>`
30
27
  - [ ] **Impact radius** — flag public-surface or API impact, irreversibility, and any security-sensitive surface. → report `impact: <…>`
31
- - [ ] **Rollback** — identify a rollback-safe checkpoint and any Admiral approval point before execution begins. → report `rollback: <…>`
28
+ - [ ] **Rollback** — identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. → report `rollback: <…>`
32
29
  - [ ] **Isolation** — confirm a working branch or worktree isolates the change; no direct work on the default branch. → report `isolation: <branch>`
33
- - [ ] **Escalation** — if multiple carriers or parallel ownership boundaries are required, re-classify under multi-agent. → report `escalation: clear`
30
+ - [ ] **Escalation** — if multiple carriers or parallel ownership boundaries are required, re-classify under frontline. → report `escalation: clear`
34
31
 
35
32
  ## Workflow
36
33
 
37
34
  1. Full reconnaissance: audit known facts, enumerate blocking and confirmatory gaps, read applicable AGENTS.md files, map affected code, tests, docs, and boundaries.
38
- 2. Architecture and risk review: identify public-surface impact, dependency constraints, rollback risk, security risk, and approval needs.
35
+ 2. Architecture and risk review: identify public-surface impact, dependency constraints, rollback risk, security risk, and Admiral of the Navy approval requirements.
39
36
  3. Structured planning boundary: `Apply the Context Confidence Standing Order — entry requires complete`. Do not plan with unresolved blocking or confirmatory gaps.
40
37
  4. Risk-controlled plan: define file ownership, small execution batches, verification commands, rollback-safe checkpoints, and any approval point.
41
38
  5. Small-batch execution: edit narrowly, re-read before modifying shared files, and pause on unexpected diffs or scope expansion.
42
- 6. Refactor gate: refactor only touched code when duplication, complexity, or convention drift appears.
43
- 7. Parallel correctness and security review: review changed behavior and risk controls; apply Deep Dive to speculative findings and repeat after fixes.
39
+ 6. Refactor gate: refactor only touched code when duplication, complexity, or convention drift appears, only with Admiral of the Navy approval or when pre-declared in the brief.
40
+ 7. Correctness and security review (may run as a single combined review dispatch): review changed behavior and risk controls; apply Deep Dive to speculative findings and repeat after fixes.
44
41
  8. Documentation and completion report: update directly affected operator docs and report changes, QA, risk controls, and residual uncertainty.