@dotobokuri/fleet-cli 1.3.0 → 1.4.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.
@@ -7,19 +7,16 @@ description: Use the risk-controlled Fleet protocol mode for irreversible, struc
7
7
 
8
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.
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
30
  - [ ] **Escalation** — if multiple carriers or parallel ownership boundaries are required, re-classify under multi-agent. → 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.
@@ -7,26 +7,25 @@ description: Use the coordinated Fleet protocol mode for multi-carrier or parall
7
7
 
8
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.
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>`
@@ -5,36 +5,34 @@ description: Use the normal Fleet protocol mode for bounded operational work wit
5
5
 
6
6
  # Fleet Protocol: Standard
7
7
 
8
- Use this mode for ordinary bounded operational work that does not involve irreversible operations, structural/API changes, multi-module edits, doctrine or prompt-policy edits, or required multi-carrier coordination. If any downward-guard trigger appears, self-escalate before planning.
8
+ Use this mode for ordinary bounded operational work.
9
9
 
10
- The always-on Standing Orders remain binding: Mission Anchor, Context Confidence, Carrier Operations Policy, Deep Dive, and Result Integrity.
10
+ At any point during the work, if a Downward Guard trigger appears, stop and re-classify.
11
11
 
12
- ## Reporting Cadence
12
+ ## Checkpoints
13
+
14
+ Reconnaissance, Plan, Execution, Verification.
13
15
 
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.
16
+ ## Reporting Cadence
15
17
 
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) the target surfaces, and (c) the verification command. → report `brief: <…>`
20
- 5. Confirm all five steps were reported, then state that execution is beginning and run the Workflow. → report `executing`
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.
21
19
 
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.
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`
23
22
 
24
23
  ## General Quarters
25
24
 
26
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.
27
26
 
28
27
  - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
29
- - [ ] **Target surfaces** — name the minimal modules or files reconnaissance will touch. → report `surfaces: <…>`
30
- - [ ] **Verification** — pre-load the test, build, or check command that will prove the work done. → report `verify: <cmd>`
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>`
31
30
  - [ ] **Carrier** — declare whether a carrier sortie is needed. → report `carrier: <none|…>`
32
- - [ ] **Downward-guard** — affirm bounded single-owner scope; if a full boundary map, risk review, or parallel ownership emerges, re-classify under high-risk or multi-agent. → report `downward-guard: clear`
33
31
 
34
32
  ## Workflow
35
33
 
36
34
  1. Focused reconnaissance: audit known facts, identify blocking and confirmatory gaps, and inspect the minimal relevant surfaces.
37
- 2. Planning boundary: `Apply the Context Confidence Standing Order — entry requires complete`. Resolve all blocking and confirmatory gaps before planning.
35
+ 2. Planning boundary: `Apply the Context Confidence Standing Order — entry requires sufficient`. Resolve all blocking gaps before planning.
38
36
  3. Inline plan: state objective, targets, execution steps, and done criteria.
39
37
  4. Execution: implement the plan in narrow batches, using Carrier Operations Policy when delegation is appropriate.
40
38
  5. Verification and review: run targeted checks, apply Deep Dive to speculative results, and fix actionable issues.
@@ -5,35 +5,33 @@ description: Use the compact Fleet protocol mode for simple, reversible, single-
5
5
 
6
6
  # Fleet Protocol: Trivial
7
7
 
8
- Use this mode only for simple, reversible, single-surface operational work. If irreversible operations, structural/API changes, multi-module edits, doctrine or prompt-policy edits, or multi-carrier coordination appear, self-escalate to `fleet-protocol-high-risk` or `fleet-protocol-multi-agent` before planning.
8
+ Use this mode only for simple, reversible, single-surface operational work.
9
9
 
10
- The always-on Standing Orders remain binding: Mission Anchor, Context Confidence, Carrier Operations Policy, Deep Dive, and Result Integrity.
10
+ At any point during the work, if a Downward Guard trigger appears, stop and re-classify.
11
11
 
12
- ## Reporting Cadence
12
+ ## Checkpoints
13
+
14
+ None. Selecting trivial implies Mission Anchor Compact Mode.
13
15
 
14
- As you move through this protocol, report progress to the Admiral of the Navy in order, each step with its report token. For trivial work you may compress this into one or two lines, but all five steps must still appear — do not drop a step even when compressing.
16
+ ## Reporting Cadence
15
17
 
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 in one line how the Workflow will proceed. → report `brief: <…>`
20
- 5. Confirm all five steps were reported, then state that execution is beginning and run the Workflow. → report `executing`
18
+ As you move through this protocol, report progress to the Admiral of the Navy in order.
21
19
 
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.
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`
23
22
 
24
23
  ## General Quarters
25
24
 
26
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.
27
26
 
28
27
  - [ ] **Common** — objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. → report `common: ready`
29
- - [ ] **Single surface** — the exact file, command, or fact is identified and the change is trivially reversible. → report `surface: <x> | reversible: yes`
30
- - [ ] **Downward-guard** — no structural, API, doctrine, multi-module, or multi-carrier signal is present; if one appears, re-classify under a higher mode before anchoring. → report `downward-guard: clear`
28
+ - [ ] **Single surface** — the exact file, command, or fact is identified. → report `surface: <x>`
29
+ - [ ] **Reversibility** — the change is trivially reversible. → report `reversible: yes`
31
30
 
32
31
  ## Workflow
33
32
 
34
- 1. Objective anchor: state the Mission Anchor objective once.
35
- 2. Minimal knowledge audit: verify the exact file, command, or fact needed for the request.
36
- 3. Planning micro-check: when a planning decision exists, state `Apply the Context Confidence Standing Order — entry requires complete` before choosing the direct action.
37
- 4. Direct execution: make the smallest reversible change or run the exact requested command.
38
- 5. Exact verification: check the touched surface or command result.
39
- 6. Compact final: report what changed, verification, and any skipped escalation trigger.
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.