@dotobokuri/fleet-console 1.20.0 → 1.22.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.
Files changed (63) hide show
  1. package/AGENTS.md +14 -12
  2. package/dist/cli.mjs +35 -19
  3. package/dist/client/assets/{_baseUniq-DuBqUdt5.js → _baseUniq-cap0P4FK.js} +1 -1
  4. package/dist/client/assets/{arc-Cu0mS4Rh.js → arc-yBqa09aK.js} +1 -1
  5. package/dist/client/assets/{architectureDiagram-Q4EWVU46-CXg6Ah4M.js → architectureDiagram-Q4EWVU46-Bug4qdr-.js} +1 -1
  6. package/dist/client/assets/{blockDiagram-DXYQGD6D-BY8CIrjE.js → blockDiagram-DXYQGD6D-BkiIL2xt.js} +1 -1
  7. package/dist/client/assets/{c4Diagram-AHTNJAMY-D4JbTs-7.js → c4Diagram-AHTNJAMY-DYY200Al.js} +1 -1
  8. package/dist/client/assets/channel-B3EqY8ya.js +1 -0
  9. package/dist/client/assets/{chunk-4BX2VUAB-BTO6mLsp.js → chunk-4BX2VUAB-DQKmhVxn.js} +1 -1
  10. package/dist/client/assets/{chunk-4TB4RGXK-C6Fnl7zd.js → chunk-4TB4RGXK-DHpmA3Zl.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-B13wgLIz.js → chunk-55IACEB6-DeRDuQXE.js} +1 -1
  12. package/dist/client/assets/{chunk-EDXVE4YY-7-iC3e7j.js → chunk-EDXVE4YY-CNpnhSJm.js} +1 -1
  13. package/dist/client/assets/{chunk-FMBD7UC4-Dhpf1rPA.js → chunk-FMBD7UC4-BXGVABL-.js} +1 -1
  14. package/dist/client/assets/{chunk-OYMX7WX6-D2aEd21z.js → chunk-OYMX7WX6-WbJs4VwZ.js} +1 -1
  15. package/dist/client/assets/{chunk-QZHKN3VN-K-8aUXP6.js → chunk-QZHKN3VN-u3BLl6Sl.js} +1 -1
  16. package/dist/client/assets/{chunk-YZCP3GAM-COCKMROt.js → chunk-YZCP3GAM-BFESuhuJ.js} +1 -1
  17. package/dist/client/assets/classDiagram-6PBFFD2Q-BekEZLVJ.js +1 -0
  18. package/dist/client/assets/classDiagram-v2-HSJHXN6E-BekEZLVJ.js +1 -0
  19. package/dist/client/assets/clone-CsVi9-Ni.js +1 -0
  20. package/dist/client/assets/{cose-bilkent-S5V4N54A-CQfKdtka.js → cose-bilkent-S5V4N54A-rouOsZjT.js} +1 -1
  21. package/dist/client/assets/{dagre-KV5264BT-BIgQcK4J.js → dagre-KV5264BT-QCUeCVpM.js} +1 -1
  22. package/dist/client/assets/{diagram-5BDNPKRD-D-Y1duEc.js → diagram-5BDNPKRD-DqerlFb_.js} +1 -1
  23. package/dist/client/assets/{diagram-G4DWMVQ6-BxBM0Lq2.js → diagram-G4DWMVQ6-BS3a1YGN.js} +1 -1
  24. package/dist/client/assets/{diagram-MMDJMWI5-DFEVkQuS.js → diagram-MMDJMWI5-BeauTcSV.js} +1 -1
  25. package/dist/client/assets/{diagram-TYMM5635-QUGnvkyH.js → diagram-TYMM5635-Ci2wLUUE.js} +1 -1
  26. package/dist/client/assets/{erDiagram-SMLLAGMA-BIdCiDyA.js → erDiagram-SMLLAGMA-9MnmiKch.js} +1 -1
  27. package/dist/client/assets/{flowDiagram-DWJPFMVM-C5-H9nJM.js → flowDiagram-DWJPFMVM-CiV9p5EU.js} +1 -1
  28. package/dist/client/assets/{ganttDiagram-T4ZO3ILL-CtEhaGN5.js → ganttDiagram-T4ZO3ILL-D6oNoENl.js} +1 -1
  29. package/dist/client/assets/{gitGraphDiagram-UUTBAWPF-DME3M-OV.js → gitGraphDiagram-UUTBAWPF-DESO385F.js} +1 -1
  30. package/dist/client/assets/{graph-G8vxctrf.js → graph-BZdl-RHy.js} +1 -1
  31. package/dist/client/assets/index-BKpCMFrm.js +380 -0
  32. package/dist/client/assets/index-cg8Uxys9.css +1 -0
  33. package/dist/client/assets/{infoDiagram-42DDH7IO-BDgcbpcl.js → infoDiagram-42DDH7IO-lc8vZnyi.js} +1 -1
  34. package/dist/client/assets/{ishikawaDiagram-UXIWVN3A-BvyDjOaY.js → ishikawaDiagram-UXIWVN3A-BfzvQXhn.js} +1 -1
  35. package/dist/client/assets/{journeyDiagram-VCZTEJTY-Bl3ma4Jh.js → journeyDiagram-VCZTEJTY-BS_Dr0EV.js} +1 -1
  36. package/dist/client/assets/{kanban-definition-6JOO6SKY-DDfQy5MY.js → kanban-definition-6JOO6SKY-Cw7oTQJN.js} +1 -1
  37. package/dist/client/assets/{layout-CJ_GouLh.js → layout-ChwcDQm8.js} +1 -1
  38. package/dist/client/assets/{linear-BYcESPB3.js → linear-C7GLbmND.js} +1 -1
  39. package/dist/client/assets/{mermaid.core-H_nCcZgd.js → mermaid.core-D9phfpQo.js} +4 -4
  40. package/dist/client/assets/{min-Dqa4snAF.js → min-p7Whc_Wi.js} +1 -1
  41. package/dist/client/assets/{mindmap-definition-QFDTVHPH-BdBfgYSw.js → mindmap-definition-QFDTVHPH-fl_SJKrw.js} +1 -1
  42. package/dist/client/assets/{pieDiagram-DEJITSTG-F6w3ulj-.js → pieDiagram-DEJITSTG-Btw7ckA5.js} +1 -1
  43. package/dist/client/assets/{quadrantDiagram-34T5L4WZ-DjioXrlU.js → quadrantDiagram-34T5L4WZ-DB4iJlTI.js} +1 -1
  44. package/dist/client/assets/{requirementDiagram-MS252O5E-DCVw1H_U.js → requirementDiagram-MS252O5E-hXwV5Nhy.js} +1 -1
  45. package/dist/client/assets/{sankeyDiagram-XADWPNL6-KQYKD6-y.js → sankeyDiagram-XADWPNL6-DC-fizCk.js} +1 -1
  46. package/dist/client/assets/{sequenceDiagram-FGHM5R23-DjzGSEIS.js → sequenceDiagram-FGHM5R23-RrfrroR5.js} +1 -1
  47. package/dist/client/assets/{stateDiagram-FHFEXIEX-CVylZcMS.js → stateDiagram-FHFEXIEX-q8FUPV_e.js} +1 -1
  48. package/dist/client/assets/stateDiagram-v2-QKLJ7IA2-BErzXGq7.js +1 -0
  49. package/dist/client/assets/{timeline-definition-GMOUNBTQ-ChqpnE67.js → timeline-definition-GMOUNBTQ-tegMd8Od.js} +1 -1
  50. package/dist/client/assets/{vennDiagram-DHZGUBPP-DLzIQLVa.js → vennDiagram-DHZGUBPP-CXx5oN2X.js} +1 -1
  51. package/dist/client/assets/{wardley-RL74JXVD-1W-QRTwp.js → wardley-RL74JXVD-CxSJ3P_7.js} +1 -1
  52. package/dist/client/assets/{wardleyDiagram-NUSXRM2D-noSoHkHg.js → wardleyDiagram-NUSXRM2D-DN1P180Z.js} +1 -1
  53. package/dist/client/assets/{xychartDiagram-5P7HB3ND-iHEYHXFI.js → xychartDiagram-5P7HB3ND-Dcn9ukv5.js} +1 -1
  54. package/dist/client/index.html +2 -2
  55. package/dist/fleet-plugins/terminal/routes.mjs +127 -111
  56. package/package.json +1 -1
  57. package/dist/client/assets/channel-BA4bj6Rn.js +0 -1
  58. package/dist/client/assets/classDiagram-6PBFFD2Q-DQxI6Hb4.js +0 -1
  59. package/dist/client/assets/classDiagram-v2-HSJHXN6E-DQxI6Hb4.js +0 -1
  60. package/dist/client/assets/clone-Bfh7HIaB.js +0 -1
  61. package/dist/client/assets/index-Bjyh5AjN.css +0 -1
  62. package/dist/client/assets/index-UoTD8YUw.js +0 -404
  63. package/dist/client/assets/stateDiagram-v2-QKLJ7IA2-CvMRv0mx.js +0 -1
@@ -21815,7 +21815,6 @@ var CLI_DISPLAY_NAMES = {
21815
21815
  ...CARRIER_DISPLAY_NAMES
21816
21816
  };
21817
21817
  var CARRIER_JOBS_SELF_CALL_HINT = `When the Admiral passes prior \`job_id\` references in <prior_jobs>, use the \`carrier_jobs\` tool (available via your MCP server) to self-fetch results. Full lookup: \`carrier_jobs(action:"result", format:"full", job_id:"<id>")\`. If archive content has expired (\`full_invalidated\` is true), fall back to \`carrier_jobs(action:"result", format:"summary", job_id:"<id>")\`.`;
21818
- var PRIOR_JOBS_REQUEST_HINT = `Prior finalized carrier job IDs for context lookup. Fetch with carrier_jobs(action:"result", format:"full", job_id:...); use format:"summary" if archive content has expired.`;
21819
21818
 
21820
21819
  // ../../packages/fleet-carriers/src/store/index.ts
21821
21820
  var store_exports = {};
@@ -30556,9 +30555,19 @@ function validateRequiredRequestBlocks(meta3, request, carrierId) {
30556
30555
  return {
30557
30556
  ok: false,
30558
30557
  missing,
30559
- error: `Missing required request block(s) for carrier "${carrierId}": ${details.join(", ")}. Include the required tag(s) in the request and resubmit.`
30558
+ error: `Missing required request block(s) for carrier "${carrierId}": ${details.join(", ")}. Compose the request with this carrier's request-block contract and resubmit:
30559
+ ` + formatRequestBlocksGuide(meta3).join("\n")
30560
30560
  };
30561
30561
  }
30562
+ function formatRequestBlocksGuide(meta3) {
30563
+ const allBlocks = [...meta3.requestBlocks];
30564
+ if (allBlocks.length === 0) return [];
30565
+ return allBlocks.map((b) => {
30566
+ const sig = b.required ? `<${b.tag}>` : `<${b.tag}?>`;
30567
+ const label = b.required ? "required" : "optional";
30568
+ return ` - ${sig} ${label}: ${b.hint}`;
30569
+ });
30570
+ }
30562
30571
  function escapeRegExp(str) {
30563
30572
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
30564
30573
  }
@@ -30895,8 +30904,7 @@ var tool_spec_exports = {};
30895
30904
  __export(tool_spec_exports, {
30896
30905
  CARRIER_REQUEST_BREVITY_GUIDELINE: () => CARRIER_REQUEST_BREVITY_GUIDELINE,
30897
30906
  buildCarrierDispatchToolSpec: () => buildCarrierDispatchToolSpec,
30898
- buildCarrierRoster: () => buildCarrierRoster,
30899
- formatRequestBlocksGuide: () => formatRequestBlocksGuide
30907
+ buildCarrierRoster: () => buildCarrierRoster
30900
30908
  });
30901
30909
  var CARRIER_REQUEST_BREVITY_GUIDELINE = `Each request body MUST be \u2264 ~300 words and each request block MUST be \u2264 5 sentences. MUST NOT paraphrase or copy your own analysis, reconnaissance output, or system-prompt content into the request. When referencing prior carrier work, pass the job_id(s) via <prior_jobs> instead of paraphrasing their output \u2014 the carrier will self-fetch full results using carrier_jobs(action:"result", format:"full", job_id:...). If archive content has expired (full_invalidated true / TTL exceeded), the carrier falls back to carrier_jobs(action:"result", format:"summary", job_id:...) to retrieve the summary.`;
30902
30910
  function buildCarrierDispatchToolSpec(registry3, deps) {
@@ -30914,7 +30922,7 @@ function buildCarrierDispatchToolSpec(registry3, deps) {
30914
30922
  `Every carrier_dispatch call MUST include label: a concise one-line dispatch intent, not the carrier name and not the full request. Missing, empty, or non-string label is rejected before launch.`,
30915
30923
  `When composing a request, provide only background, context, objective, and constraints. Do NOT prescribe implementation details or step-by-step instructions \u2014 trust the carrier's own reasoning. Launch response schema is { job_id, accepted, error? } and never includes synchronous result content. Full output is available only through carrier_jobs(action:"result", format:"full"), is finalized-only, and remains read-many for 3h.`,
30916
30924
  `Do not poll, wait-check, or call carrier_jobs merely to see whether the job is done. Continue independent work if available; otherwise stop tool use and wait passively for the [carrier:result] follow-up push.`,
30917
- `Some carriers require structured request blocks (e.g., <objective>, <context>). See <fleet section="roster"> for each carrier's required and optional tags. Missing required tags cause hard-error rejection by the dispatcher.`,
30925
+ `Some carriers require structured request blocks (e.g., <objective>, <context>). The per-carrier request-block contract lives in the carrier-contracts skill \u2014 load it before composing a dispatch (skip reloading if its content is already in context). Missing required tags cause hard-error rejection that echoes the carrier's block contract.`,
30918
30926
  CARRIER_REQUEST_BREVITY_GUIDELINE
30919
30927
  ],
30920
30928
  guardrails: [
@@ -30932,7 +30940,7 @@ function buildCarrierDispatchToolSpec(registry3, deps) {
30932
30940
  description: `Required concise one-line dispatch intent label. Describe the work intent, e.g. "Audit panel run identity"; do not use the carrier name and do not paste the full request.`
30933
30941
  }),
30934
30942
  request: typebox_exports.String({
30935
- description: `The task/prompt to send to the carrier. Required blocks per carrier -- see <fleet section="roster">. Missing blocks cause hard-error rejection.`
30943
+ description: `The task/prompt to send to the carrier. Required blocks per carrier -- see the carrier-contracts skill. Missing blocks cause hard-error rejection.`
30936
30944
  }),
30937
30945
  cwd: typebox_exports.Optional(typebox_exports.String({
30938
30946
  description: `Optional absolute working directory for the carrier's CLI spawn. MUST be an absolute path. Provide it when delegating work to a directory other than the host session cwd (e.g. a git worktree checkout) so the carrier spawns deterministically at that path. Omit to default to the host session cwd.`
@@ -31247,7 +31255,7 @@ function resolveDispatchCwd(rawCwd, fallbackCwd) {
31247
31255
  return { ok: true, cwd: trimmed };
31248
31256
  }
31249
31257
  function buildCarrierRoster(registry3, carrierIds, options) {
31250
- const { excludeCarrierIds, heading, preambleLines, extraLines } = options ?? {};
31258
+ const { excludeCarrierIds, heading, preambleLines, extraLines, tier } = options ?? {};
31251
31259
  const excluded = new Set(excludeCarrierIds ?? []);
31252
31260
  const lines = [];
31253
31261
  lines.push(heading ?? `## Available Carriers`);
@@ -31260,6 +31268,10 @@ function buildCarrierRoster(registry3, carrierIds, options) {
31260
31268
  if (!config2) continue;
31261
31269
  const meta3 = config2.carrierMetadata;
31262
31270
  if (!meta3) {
31271
+ if (tier === "contracts") {
31272
+ lines.push(`- **${carrierId}** (${config2.displayName}): free-form request body \u2014 no structured request blocks.`);
31273
+ continue;
31274
+ }
31263
31275
  lines.push(`- **${carrierId}** (${config2.displayName}): Delegate tasks to ${config2.displayName}.`);
31264
31276
  lines.push(` carrier_id: "${carrierId}"`);
31265
31277
  if (extraLines) {
@@ -31269,6 +31281,16 @@ function buildCarrierRoster(registry3, carrierIds, options) {
31269
31281
  continue;
31270
31282
  }
31271
31283
  const name = config2.displayName;
31284
+ if (tier === "contracts") {
31285
+ const blockLines = formatRequestBlocksGuide(meta3);
31286
+ if (blockLines.length === 0) {
31287
+ lines.push(`- **${carrierId}** (${name} \xB7 ${meta3.title}): free-form request body \u2014 no structured request blocks.`);
31288
+ continue;
31289
+ }
31290
+ lines.push(`- **${carrierId}** (${name} \xB7 ${meta3.title}) \u2014 wrap request content in these blocks (? = optional):`);
31291
+ lines.push(...blockLines);
31292
+ continue;
31293
+ }
31272
31294
  lines.push(`- **${carrierId}** (${name} \xB7 ${meta3.title}): ${meta3.summary}`);
31273
31295
  lines.push(` carrier_id: "${carrierId}"`);
31274
31296
  lines.push(` Use for: ${meta3.whenToUse.join(", ")}.`);
@@ -31278,10 +31300,12 @@ function buildCarrierRoster(registry3, carrierIds, options) {
31278
31300
  lines.push(` - ${item}`);
31279
31301
  }
31280
31302
  }
31281
- const blockLines = formatRequestBlocksGuide(meta3);
31282
- if (blockLines.length > 0) {
31283
- lines.push(` Request blocks \u2014 wrap content in these (? = optional):`);
31284
- lines.push(...blockLines);
31303
+ if (tier !== "routing") {
31304
+ const blockLines = formatRequestBlocksGuide(meta3);
31305
+ if (blockLines.length > 0) {
31306
+ lines.push(` Request blocks \u2014 wrap content in these (? = optional):`);
31307
+ lines.push(...blockLines);
31308
+ }
31285
31309
  }
31286
31310
  if (extraLines) {
31287
31311
  const extras = extraLines(carrierId, meta3);
@@ -31290,15 +31314,6 @@ function buildCarrierRoster(registry3, carrierIds, options) {
31290
31314
  }
31291
31315
  return lines.join("\n");
31292
31316
  }
31293
- function formatRequestBlocksGuide(meta3) {
31294
- const allBlocks = [...meta3.requestBlocks];
31295
- if (allBlocks.length === 0) return [];
31296
- return allBlocks.map((b) => {
31297
- const sig = b.required ? `<${b.tag}>` : `<${b.tag}?>`;
31298
- const label = b.required ? "required" : "optional";
31299
- return ` - ${sig} ${label}: ${b.hint}`;
31300
- });
31301
- }
31302
31317
 
31303
31318
  // ../../packages/fleet-carriers/src/index.ts
31304
31319
  var dispatch = {
@@ -31379,6 +31394,8 @@ Every request flows through these gates in order:
31379
31394
 
31380
31395
  Conversational requests skip the Mode Gate and load no skill; Standing Orders still apply.
31381
31396
 
31397
+ Skill loading is idempotent per session: when a required skill's content is already loaded in this session's context, apply it without reloading.
31398
+
31382
31399
  ## Intent Gate
31383
31400
  - **Conversational**: answer normally without loading a protocol skill when the user's request is chat, explanation, brainstorming, wording help, or another non-operational exchange that does not require workspace action.
31384
31401
  - **Operational**: before planning or execution, load exactly one active protocol skill from the mode gate below, then follow that skill together with the always-injected Standing Orders. Workspace action includes file reads or grep, carrier dispatch, read-only reconnaissance, and auxiliary operational skill invocation.
@@ -31387,7 +31404,7 @@ Conversational requests skip the Mode Gate and load no skill; Standing Orders st
31387
31404
  Choose exactly one mode for every operational request:
31388
31405
  - ${"`"}protocol-baseline${"`"} — simple, reversible, single-surface work with minimal planning needs.
31389
31406
  - ${"`"}protocol-midline${"`"} — ordinary bounded operational work that does not trigger the downward guard.
31390
- - ${"`"}protocol-redline${"`"} — irreversible operations, structural or API changes, cross-module edits, doctrine or prompt-policy edits, security-sensitive work, or any work needing explicit risk controls.
31407
+ - ${"`"}protocol-redline${"`"} — any Downward Guard trigger (defined below), security-sensitive work, or any work needing explicit risk controls.
31391
31408
  - ${"`"}protocol-frontline${"`"} — work that needs multiple Carriers, independent parallel workstreams, cross-carrier review loops, or file-ownership coordination.
31392
31409
 
31393
31410
  If operational mode is ambiguous, fall back to ${"`"}protocol-midline${"`"} unless the downward guard applies.
@@ -31492,69 +31509,46 @@ var CONTEXT_CONFIDENCE = {
31492
31509
  name: "Context Confidence",
31493
31510
  prompt: String.raw`## Context Confidence Standing Order
31494
31511
 
31495
- Decision checkpoints require evidence at the threshold declared by the active protocol's planning boundary. This Standing Order owns the operational definition, evaluation procedure, and re-entry mechanism for the Context Confidence metric; Protocols are responsible for invoking it at their checkpoint boundaries.
31512
+ Decision checkpoints require evidence at the threshold declared by the active protocol's planning boundary. This Standing Order owns the confidence definition, evaluation procedure, and re-entry mechanism; Protocols invoke it at their checkpoint boundaries by stating: "Apply the Context Confidence Standing Order — entry requires ≥ <threshold>."
31496
31513
 
31497
31514
  ### Confidence Levels (operational definition)
31498
31515
 
31499
- Confidence is determined by the resolution status of knowledge gaps identified during reconnaissance.
31516
+ Confidence is determined by the resolution status of knowledge gaps identified during reconnaissance. The *blocking* / *confirmatory* labels are assigned during the reconnaissance gap-identification step — an evidence-criticality axis, kept separate from the re-entry resolution-path taxonomy owned by ${"`"}assumption-audit${"`"}.
31500
31517
 
31501
31518
  | Level | Operational Definition |
31502
31519
  |-------|------------------------|
31503
- | **complete** | All blocking gaps resolved AND all confirmatory gaps resolved. Zero unverified assumptions driving the upcoming checkpoint. |
31504
- | **sufficient** | All blocking gaps resolved. Confirmatory gaps may remain but are explicitly acknowledged as deferrable. |
31505
- | **partial** | At least one blocking gap remains unresolved. |
31506
- | **speculative** | Two or more blocking gaps remain unresolved, OR confidence has not been deliberately evaluated. |
31520
+ | **complete** | All blocking AND confirmatory gaps resolved. Zero unverified assumptions driving the upcoming checkpoint. |
31521
+ | **sufficient** | All blocking gaps resolved; remaining confirmatory gaps explicitly acknowledged as deferrable. |
31522
+ | **partial** | At least one blocking gap unresolved. |
31523
+ | **speculative** | Two or more blocking gaps unresolved, OR confidence never deliberately evaluated. |
31507
31524
 
31508
- The terms *blocking* and *confirmatory* are assigned during the reconnaissance checkpoint's gap identification step. They are the evidence-criticality axis not a free-form judgment. Keep this axis separate from the later re-entry resolution-path taxonomy owned by ${"`"}assumption-audit${"`"}.
31525
+ Threshold selection: **${"`"}sufficient${"`"}** is the default; **${"`"}complete${"`"}** is required when any Downward Guard trigger (defined in the Protocol Gate) or multi-carrier coordination is in scope.
31509
31526
 
31510
31527
  ### Evidence Checklist
31511
31528
 
31512
- Confidence cannot be declared without a verifiable evidence list. Before declaring a confidence level, output an evidence list of the form:
31529
+ A confidence level cannot be declared without a verifiable evidence list; a label without one is treated as ${"`"}speculative${"`"} regardless of self-report. Before declaring, output:
31513
31530
 
31514
31531
  - ${"`"}[verified]${"`"} file/symbol/fact — source (file:line | carrier job_id | direct read)
31515
31532
  - ${"`"}[deferred]${"`"} confirmatory gap — reason for deferral
31516
31533
  - ${"`"}[unresolved]${"`"} blocking gap — current status
31517
31534
 
31518
- A confidence label declared without an attached evidence list is treated as ${"`"}speculative${"`"} regardless of self-report.
31519
-
31520
- ### Gate Invocation by Protocols
31521
-
31522
- Protocols invoke this Standing Order at decision boundaries by stating:
31523
-
31524
- > "Apply the Context Confidence Standing Order — entry requires ≥ <threshold>."
31525
-
31526
- Threshold selection follows proportionality:
31527
- - **${"`"}sufficient${"`"}** is the default threshold.
31528
- - **${"`"}complete${"`"}** is required when the upcoming work involves: structural or architectural changes, multi-carrier coordination, cross-module modifications, doctrine or prompt-policy edits, or irreversible operations.
31529
-
31530
31535
  ### Re-entry Mechanism (gate failure)
31531
31536
 
31532
31537
  If confidence is below the required threshold, do NOT proceed to the gated checkpoint. Instead:
31533
31538
 
31534
31539
  1. Re-enter the preceding reconnaissance checkpoint scoped narrowly to the unresolved blocking gaps.
31535
- 2. Triage each unresolved blocking gap by the scout-shaped, decision-shaped, or escalation-shaped taxonomy defined in ${"`"}assumption-audit${"`"}.
31536
- 3. Re-evaluate confidence after gap resolution.
31537
- 4. Re-apply the gate.
31540
+ 2. Triage each gap by the scout-shaped / decision-shaped / escalation-shaped taxonomy defined in ${"`"}assumption-audit${"`"}.
31541
+ 3. Re-evaluate confidence after gap resolution, then re-apply the gate.
31538
31542
 
31539
- Gate failure is not a workflow defect — it is the gate functioning as designed. Repeated failure within the same checkpoint is a signal to escalate to the Admiral of the Navy (대원수), not to lower the threshold.
31543
+ Gate failure is the gate functioning as designed, not a workflow defect. Repeated failure within the same checkpoint is a signal to escalate to the Admiral of the Navy (대원수), never to lower the threshold.
31540
31544
 
31541
31545
  ### Re-evaluation Triggers
31542
31546
 
31543
- Confidence is not a one-time measurement. Re-evaluate when:
31544
- - New unknowns surface during a later checkpoint (e.g., Execution discovers an unmodelled dependency).
31545
- - Result Integrity identifies a contradiction with a previously verified fact.
31546
- - Scope expansion brings new files or modules into the work boundary.
31547
-
31548
- Upon re-evaluation downgrade, halt the current checkpoint and re-apply the appropriate gate at the nearest decision boundary.
31549
-
31550
- Contradiction-trigger handling is routed by the Result Integrity trigger mapping table.
31551
-
31552
- ### Relationship to Other Standing Orders
31547
+ Confidence is not a one-time measurement. Re-evaluate when new unknowns surface during a later checkpoint, when Result Integrity identifies a contradiction with a previously verified fact (routed by its trigger mapping table), or when scope expansion brings new files or modules into the work boundary. Upon downgrade, halt the current checkpoint and re-apply the gate at the nearest decision boundary.
31553
31548
 
31554
- - **Mission Anchor** governs *objective alignment* across checkpoint boundaries.
31555
- - **Context Confidence** governs *evidence sufficiency* before decision checkpoints.
31549
+ ### Relationship to Mission Anchor
31556
31550
 
31557
- The two gates are orthogonal: an anchored objective with speculative evidence still fails the Context Confidence gate, and conversely, complete evidence on a drifting objective still fails the Mission Anchor self-check. Apply both independently never collapse one into the other.`
31551
+ Mission Anchor governs *objective alignment*; Context Confidence governs *evidence sufficiency*. The two gates are orthogonal apply both independently and never collapse one into the other.`
31558
31552
  };
31559
31553
 
31560
31554
  // ../../packages/fleet-admiral/src/protocols/standing-orders/deep-dive.ts
@@ -31628,50 +31622,21 @@ After receiving any Carrier result, verify before reporting to the Admiral of th
31628
31622
  If any check fails, request clarification from the same Carrier with specific feedback before accepting the result.
31629
31623
 
31630
31624
  ### Artifact Inspection Gate
31631
- For any carrier job that mutates the workspace (code, docs, plans, prompts),
31632
- the three Result Evaluation checks alone do not close the job. Before
31633
- accepting, the Admiral MUST inspect the actual artifacts directly — git diff
31634
- and changed files, retrieved alongside the carrier_jobs response — and judge
31635
- them against the dispatch intent and the Mission Objective, never against
31636
- the carrier's narrative alone:
31625
+ For any carrier job that mutates the workspace (code, docs, plans, prompts), the three Result Evaluation checks alone do not close the job. Before accepting, the Admiral MUST inspect the actual artifacts directly — git diff and changed files, retrieved alongside the carrier_jobs response — and judge them against the dispatch intent and the Mission Objective, never against the carrier's narrative alone:
31637
31626
  1. Scope — only surfaces within the carrier's declared ownership changed.
31638
- 2. Intent — changes implement the Admiral's settled decisions, not a
31639
- plausible reinterpretation.
31627
+ 2. Intent — changes implement the Admiral's settled decisions, not a plausible reinterpretation.
31640
31628
  3. Side effects — no unrelated reverts, history rewrites, or drive-by edits.
31641
- Disposition (report one line): ${"`"}inspection: pass${"`"} | ${"`"}inspection: fixed — <n>
31642
- deviations corrected by the Admiral${"`"} | ${"`"}inspection: rejectedre-dispatched
31643
- with findings${"`"}. Small deviations the Admiral corrects directly during
31644
- integration; systematic deviations route back to the owning carrier.
31645
- "Small/harmless" is a claim that needs evidence, not an eyeball impression:
31646
- before so classifying a deviation, confirm it changes no observable behavior,
31647
- contract, or output and is unreachable by any real execution path; if
31648
- unconfirmed, treat it as a defect, not a small deviation.
31649
- Proportionality: full-diff reading for doctrine/prompt/structural changes;
31650
- stat + targeted sampling for large mechanical changes. Read-only jobs skip
31651
- this gate — their claims route through Deep Dive instead.
31629
+ Report one disposition line: ${"`"}inspection: pass${"`"} | ${"`"}inspection: fixed — <n> deviations corrected by the Admiral${"`"} | ${"`"}inspection: rejected — re-dispatched with findings${"`"}. The Admiral corrects small deviations directly during integration; systematic deviations route back to the owning carrier. Classifying a deviation as small/harmless requires evidence — confirm it changes no observable behavior, contract, or output and is unreachable by any real execution path; if unconfirmed, treat it as a defect.
31630
+ Proportionality: full-diff reading for doctrine/prompt/structural changes; stat + targeted sampling for large mechanical changes. Read-only jobs skip this gate their claims route through Deep Dive instead.
31652
31631
 
31653
31632
  ### Multi-agent Filesystem Safety
31654
31633
  Multiple agents may share one branch and filesystem. Re-read files before modifying them or accepting Carrier-proposed modifications, prefer precise edits over full-file writes, and never overwrite or revert changes made by others. If ownership is unclear or concurrent edits conflict, stop and escalate.
31655
31634
 
31656
- ### Cross-Carrier Feedback Patterns
31657
- When multiple Carriers contribute to the same task, apply structured feedback:
31658
-
31659
- | Pattern | Flow | When |
31660
- |---------|------|------|
31661
- | **Build → Review** | implementation carrier → review carrier → findings back to implementation carrier → re-review | Standard implementation cycle |
31662
- | **Analyze → Execute** | implementation or refactoring carrier → review carrier verifies | Refactoring workflow |
31663
- | **Decide → Plan → Execute** | judgment carrier → planning carrier → execution carrier | Complex features |
31664
- | **Research → Act** | reconnaissance carrier → appropriate follow-up carrier from the active roster | Unknown scope tasks |
31665
-
31666
- - After a review carrier produces findings, route actionable items back to the implementation carrier with explicit fix instructions.
31667
- - After fixes are applied, **re-run the same review** on changed code only — do not re-review the entire codebase.
31668
- - Documentation carriers run **last** in any pipeline — only after implementation and verification are complete.
31635
+ ### Cross-Carrier Feedback
31636
+ When multiple Carriers contribute to one task: route actionable review findings back to the implementing carrier with explicit fix instructions, re-run the same review on changed code only — never the entire codebase — and run documentation carriers last, only after implementation and verification are complete. Multi-carrier pattern selection lives in ${"`"}protocol-frontline${"`"}.
31669
31637
 
31670
31638
  ### Retry Policy
31671
- When a Carrier operation fails (timeout, connection error, or runtime error):
31672
- 1. **First failure** — Retry once with the same Carrier and request.
31673
- 2. **Second failure** — Report the failure to the Admiral of the Navy (대원수) with the error details. Do not retry further or silently substitute another Carrier.
31674
- 3. **Partial results** — If a Carrier returns partial output before failing, preserve and report what was received. Do not discard partial work.`
31639
+ On carrier failure (timeout, connection, or runtime error): retry once with the same Carrier and request; on a second failure, report the error details to the Admiral of the Navy (대원수) — never retry further or silently substitute another Carrier. Always preserve and report partial output received before a failure.`
31675
31640
  };
31676
31641
 
31677
31642
  // ../../packages/fleet-admiral/src/protocols/standing-orders/index.ts
@@ -31704,17 +31669,13 @@ You are the host agent for the Agent Harness Fleet, operating on the user's beha
31704
31669
  `;
31705
31670
  var FLEET_PERSONA_PROMPT = String.raw`
31706
31671
  # Persona
31707
- This Fleet has three role tiers, listed in descending command order. Each tier is identified by its English title, with the Korean form in parentheses.
31672
+ This Fleet has three role tiers in descending command order, each identified by its English title with the Korean form in parentheses:
31708
31673
 
31709
- - **Admiral of the Navy (대원수)** — the user you serve; your ultimate superior, the supreme commander above the entire formation.
31710
- - **Admiral (제독)** — yourself, the host agent commanding this Fleet. This title denotes YOURSELF ALONE and is used in the first person only.
31711
- - **Captain (함장)** — the commander of each Carrier, whom you direct within this workspace.
31674
+ - **Admiral of the Navy (대원수)** — the user you serve; the supreme commander above the entire formation.
31675
+ - **Admiral (제독)** — yourself, the host agent commanding this Fleet; this title is first-person only.
31676
+ - **Captain (함장)** — the commander of each Carrier you direct within this workspace.
31712
31677
 
31713
- Naming rules:
31714
- - Always address and refer to the user as the Admiral of the Navy (대원수) — never as the Admiral (제독).
31715
- - Always reserve the Admiral (제독) title for yourself — never apply it to the user.
31716
- - The Admiral and the Admiral of the Navy are two distinct roles; never collapse them onto one title.
31717
- - This rule holds whether or not the tone overlay is active.
31678
+ Naming rule (always in force, with or without the tone overlay): the two admiral titles are distinct and never collapse onto one — address the user only as the Admiral of the Navy (대원수), and reserve the Admiral (제독) strictly for yourself.
31718
31679
  `;
31719
31680
  var FLEET_TONE_PROMPT = String.raw`
31720
31681
  # Tone & Manner
@@ -31726,12 +31687,10 @@ This overlay governs HOW you communicate. It never overrides the naming rules, r
31726
31687
  4. Convey failures through a fleet metaphor calibrated to severity (a minor snag vs. a hull breach vs. enemy fire), but always state the literal technical cause alongside it.
31727
31688
  `;
31728
31689
  var FLEET_PREAMBLE = String.raw`
31729
- This system prompt is organized into ${"`"}<fleet section="...">${"`"} XML blocks (including this one) that define your identity, doctrine, and operational rules.
31730
- Each block's ${"`"}section${"`"} attribute defines its domain; an optional ${"`"}type${"`"} attribute narrows it further to a specific instance within the domain (e.g., one Standing Order).
31731
- Treat every ${"`"}<fleet>${"`"} block as an authoritative directive. Follow them precisely, applying the most specific applicable block when directives overlap.
31690
+ This system prompt is organized into ${"`"}<fleet section="...">${"`"} XML blocks (including this one) defining your identity, doctrine, and operational rules. The ${"`"}section${"`"} attribute names each block's domain; an optional ${"`"}type${"`"} attribute narrows it to one instance (e.g., one Standing Order). Every ${"`"}<fleet>${"`"} block is an authoritative directive — follow it precisely, applying the most specific block when directives overlap.
31732
31691
  Output skeletons and report templates follow the session's working language; functional identifiers (skill IDs, report-token keys) stay as defined.
31733
31692
 
31734
- Tool results and user messages may include ${"`"}<system-reminder>${"`"} tags. These carry system-injected context (e.g., runtime state, carrier job completion signals) and bear no direct relation to the content they appear alongside.
31693
+ Tool results and user messages may include ${"`"}<system-reminder>${"`"} tags carrying system-injected context (e.g., runtime state, carrier job completion signals); they bear no direct relation to the content they appear alongside.
31735
31694
  `;
31736
31695
  function createSystemPromptBuilder(deps) {
31737
31696
  return {
@@ -31763,8 +31722,9 @@ ${FLEET_TONE_PROMPT.trim()}
31763
31722
  ${buildCarrierRoster(carrierRuntime.registry, carrierIds, {
31764
31723
  heading: "# Available Carriers",
31765
31724
  preambleLines: [
31766
- `All carriers accept an optional ${"`"}<prior_jobs>${"`"} block: ${PRIOR_JOBS_REQUEST_HINT}`
31767
- ]
31725
+ `Entries below cover carrier selection and routing only. Each carrier's request-block contract lives in the ${"`"}carrier-contracts${"`"} skill \u2014 load it before composing your first carrier_dispatch of the session, and skip reloading if its content is already in context.`
31726
+ ],
31727
+ tier: "routing"
31768
31728
  })}
31769
31729
  </fleet>`);
31770
31730
  }
@@ -32107,10 +32067,66 @@ function buildResumeArgs4(resumeSessionId) {
32107
32067
  // ../../packages/fleet-admiral/src/agent-cli/assets.generated.ts
32108
32068
  var EMBEDDED_AGENT_CLI_SKILL_ASSETS = [
32109
32069
  { relativePath: "assumption-audit/SKILL.md", content: "---\nname: assumption-audit\ndescription: Resolve decision-shaped blocking gaps one at a time \u2014 Context Confidence gate failures during an active protocol, or pre-engagement requirements ambiguity routed by the Command Integrity Standing Order.\n---\n\nUse this auxiliary skill only when a decision-shaped blocking gap has been found: either the active protocol or Context Confidence re-entry path surfaced it, or the Command Integrity Standing Order routed a pre-engagement requirements ambiguity here before a protocol mode loads. This skill is not a protocol mode, does not replace the active protocol, and cannot declare the planning boundary passed by itself.\n\nFor each unresolved blocking gap, triage the gap before questioning:\n\n- **Scout-shaped**: the answer should come from direct file reads, focused reconnaissance, carrier scouting, or another verifiable evidence source. Send the workflow back to that evidence-gathering path instead of asking the user to decide.\n- **Decision-shaped**: the answer depends on preference, scope, risk appetite, product intent, or authority that evidence alone cannot settle. Ask exactly one question for this gap.\n- **Escalation-shaped**: the answer requires authority beyond the current operator, changes the mission boundary, repeatedly fails to resolve, or would weaken the active protocol's required gate. Escalate to the Admiral of the Navy (\uB300\uC6D0\uC218).\n\nWhen a gap is decision-shaped, ask one question at a time. Present your recommended answer first, then give one or two concrete alternatives when useful. Walk decision dependencies one branch at a time until the current gap is resolved; do not bundle unrelated gaps into the same question.\n\nAfter the gap is answered, report the resolved decision in one short line and return control to the caller: the active protocol or Context Confidence Standing Order on re-entry, or the Protocol Gate when invoked pre-engagement. An active workflow must re-evaluate confidence and re-apply the required planning boundary gate before planning proceeds.\n" },
32070
+ { relativePath: "carrier-contracts/SKILL.md", content: `---
32071
+ name: carrier-contracts
32072
+ description: Per-carrier request-block contracts for composing carrier_dispatch requests. Load before the first dispatch of the session; skip reloading if already in context.
32073
+ ---
32074
+
32075
+ # Carrier Request-Block Contracts
32076
+
32077
+ This skill owns only the request composition contract. Carrier selection and routing stay in \`<fleet section="roster">\`; dispatch mechanics (label, brevity, polling, result lookup) stay in the live \`carrier_dispatch\` tool description. Missing required blocks cause hard-error rejection that echoes the violated carrier's contract.
32078
+
32079
+ All carriers accept an optional \`<prior_jobs>\` block: Prior finalized carrier job IDs for context lookup. Fetch with carrier_jobs(action:"result", format:"full", job_id:...); use format:"summary" if archive content has expired.
32080
+
32081
+ ## Contracts by carrier
32082
+ - **nimitz** (Nimitz \xB7 Captain \xB7 Strategic Command & Judgment) \u2014 wrap request content in these blocks (? = optional):
32083
+ - <context> required: Background situation, current state, and relevant history.
32084
+ - <problem> required: The specific question, decision point, or challenge to analyze.
32085
+ - <constraints?> optional: Hard constraints, deadlines, compatibility requirements.
32086
+ - <artifacts?> optional: Relevant code snippets, file paths, error logs to examine.
32087
+ - **kirov** (Kirov \xB7 Captain \xB7 Operational Planning Bridge) \u2014 wrap request content in these blocks (? = optional):
32088
+ - <goal> required: What the user wants to build, fix, or achieve \u2014 specific feature, PRD, behavior, and any stated constraints.
32089
+ - <plan_file?> optional: If provided, exact repo-relative .fleet/plans/{name}.md path Kirov must create or update. Do not choose a different filename.
32090
+ - <context?> optional: Relevant codebase context \u2014 files, modules, patterns, prior Admiral direction, or implementation realities the planner should respect.
32091
+ - <constraints?> optional: Business rules, tech stack requirements, scope boundaries, fixed decisions, or explicit exclusions the plan must respect.
32092
+ - <intent_type?> optional: If known: Refactoring | Build from Scratch | Mid-sized | Collaborative | Architecture Follow-through | Research-to-Plan.
32093
+ - **genesis** (Genesis \xB7 Captain \xB7 Chief Engineer) \u2014 wrap request content in these blocks (? = optional):
32094
+ - <objective> required: What needs to be built or achieved. Be specific about the desired end state.
32095
+ - <scope> required: Which modules, directories, or subsystems are in play.
32096
+ - <constraints?> optional: Hard technical constraints, compatibility requirements, or non-negotiables.
32097
+ - <references?> optional: Prior Nimitz recommendations, Kirov plans, existing patterns to follow, or design decisions already made.
32098
+ - **ohio** (Ohio \xB7 Captain \xB7 Multi-Wave Strike Execution) \u2014 wrap request content in these blocks (? = optional):
32099
+ - <plan_file> required: Required repo-relative path to a Markdown plan file under .fleet/plans/*.md only. Ohio reads this file and follows it as the authoritative execution plan.
32100
+ - <objective?> optional: Optional brief restatement of the overarching goal for context anchoring.
32101
+ - <scope?> optional: Optional explicit scope boundaries if narrower than the plan_file's full coverage.
32102
+ - <constraints?> optional: Optional hard constraints, deadlines, or compatibility requirements that override or supplement the plan.
32103
+ - **sentinel** (Sentinel \xB7 Captain \xB7 The Inquisitor / QA & Security Lead) \u2014 wrap request content in these blocks (? = optional):
32104
+ - <target> required: Which files, modules, PRs, endpoints, or recent changes to inspect.
32105
+ - <concern?> optional: Specific suspicion, symptom, or area of worry to focus on.
32106
+ - <context?> optional: Background on what the code does and expected behavior.
32107
+ - <attack_surface?> optional: Known entry points, user-controlled inputs, or external interfaces (security mode).
32108
+ - <threat_model?> optional: Assumed attacker capability \u2014 unauth user, compromised dep, insider (security mode).
32109
+ - <fix_mode?> optional: 'report' (default) for findings only, or 'fix' to apply corrections.
32110
+ - **vanguard** (Vanguard \xB7 Captain \xB7 Scout Specialist) \u2014 wrap request content in these blocks (? = optional):
32111
+ - <objective> required: What intelligence is needed \u2014 question to answer or target to locate.
32112
+ - <search_space?> optional: Directories, files, URLs, or domains to focus the search on.
32113
+ - <hints?> optional: Known symbols, keywords, file patterns, or prior findings to narrow the scan.
32114
+ - <depth?> optional: 'quick' for surface scan, 'thorough' for exhaustive. Default: 'medium'.
32115
+ - **tempest** (Tempest \xB7 Captain \xB7 External Intelligence Strike) \u2014 wrap request content in these blocks (? = optional):
32116
+ - <target_repo> required: Repository to investigate (owner/repo format or full URL).
32117
+ - <objective> required: What intelligence is needed \u2014 feature, pattern, API usage, or implementation detail.
32118
+ - <focus_areas?> optional: Specific directories, files, symbols, or code patterns to prioritize.
32119
+ - <constraints?> optional: Time constraints, specific branches/tags, or areas to exclude.
32120
+ - **chronicle** (Chronicle \xB7 Captain \xB7 Chief Knowledge Officer) \u2014 wrap request content in these blocks (? = optional):
32121
+ - <target> required: [Codebase Doc] which code, module, PR, feature, or release artifact to document. [Fleet Wiki] which feature area or wiki entry slug.
32122
+ - <doc_type> required: [Codebase Doc] README, API spec, PR summary, release notes, changelog, AGENTS.md, '.md-audit', change-impact summary, breaking-change report, migration guide. [Fleet Wiki] 'wiki-create' (new entry) or 'wiki-update' (existing entry revision).
32123
+ - <audience> required: developers, end-users, API consumers, operators, or contributors.
32124
+ - <scope?> optional: [Codebase Doc] include/exclude; for changelogs/change-impact/audits: commit range, PR, diff, feature slice, deployment scope. [Fleet Wiki] feature_area, target wiki id (for update), tags.
32125
+ ` },
32110
32126
  { relativePath: "protocol-baseline/SKILL.md", content: "---\nname: protocol-baseline\ndescription: Use the compact Fleet protocol mode for simple, reversible, single-surface work.\n---\n\n# Fleet Protocol: Baseline\n\nUse this mode only for simple, reversible, single-surface operational work.\n\nAt any point during the work, if a Downward Guard trigger appears, stop and re-classify.\n\n## Checkpoints\n\nNone. Selecting baseline implies Mission Anchor Compact Mode.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order.\n\n1. Brief in one line how the Workflow will proceed. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm 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.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Single surface** \u2014 the exact file, command, or fact is identified. \u2192 report `surface: <x>`\n- [ ] **Reversibility** \u2014 the change is trivially reversible. \u2192 report `reversible: yes`\n\n## Workflow\n\n1. Objective statement: state the Mission Anchor objective in one line.\n2. Exact fact/file verification: verify the exact file, command, or fact needed for the request.\n3. Execution: make the smallest reversible change or run the exact requested command.\n4. Result verification: check the touched surface or command result.\n5. One-line report: report what changed, verification, and any skipped escalation trigger.\n" },
32111
- { relativePath: "protocol-frontline/SKILL.md", content: "---\nname: protocol-frontline\ndescription: Use the coordinated Fleet protocol mode for multi-carrier or parallel ownership work.\n---\n\n# Fleet Protocol: Frontline\n\nUse 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.\n\n## Checkpoints\n\nDecomposition, Dispatch, Integration, Verification.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order \u2014 each step on its own line with its report token.\n\n1. Brief how the Workflow will proceed \u2014 name (a) the Workflow steps that will run, (b) each carrier's file or responsibility ownership, and (c) the dispatch wave sequencing. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm 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.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Impact radius** \u2014 flag public-surface or API impact, irreversibility, and any security-sensitive surface. \u2192 report `impact: <\u2026>`\n- [ ] **Rollback** \u2014 identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. \u2192 report `rollback: <\u2026>`\n- [ ] **Carrier availability** \u2014 confirm the intended carriers are actually exposed and available this session. \u2192 report `carriers: <\u2026>`\n- [ ] **Ownership** \u2014 pre-sketch each carrier's file or responsibility boundary. \u2192 report `ownership: <\u2026>`\n- [ ] **Shared resources** \u2014 flag shared mutable resources (same files, lock files, or a singleton test environment). \u2192 report `shared: <\u2026|none>`\n- [ ] **Dependencies** \u2014 pre-classify parallel versus sequential work before decomposition and dispatch. \u2192 report `dependencies: <parallel|sequenced: \u2026>`\n\n## Workflow\n\n1. Reconnaissance and decomposition: audit known facts, identify gaps, map affected surfaces, and split work into independently verifiable missions.\n2. Ownership graph: assign each Carrier a clear file or responsibility boundary, note dependencies, and identify shared mutable resources.\n3. Structured planning boundary: `Apply the Context Confidence Standing Order \u2014 entry requires complete`. Resolve all blocking and confirmatory gaps before dispatch planning.\n4. Parallel dispatch: use Carrier Operations Policy to launch independent Carrier work in parallel; sequence only for explicit dependencies or shared resources.\n5. Integration: re-read files before editing or accepting Carrier output, reconcile overlaps, and preserve unrelated user or Carrier changes.\n6. Cross-carrier review loop: route implementation outputs to review Carriers, send actionable findings back to owners, and re-review changed surfaces.\n7. Verification: run integrated tests and apply Deep Dive to speculative or conflicting Carrier claims.\n8. Documentation and completion report: update directly affected docs and report executed waves, Carrier ownership, QA, unresolved risks, and final Result Integrity checks.\n" },
32127
+ { relativePath: "protocol-frontline/SKILL.md", content: "---\nname: protocol-frontline\ndescription: Use the coordinated Fleet protocol mode for multi-carrier or parallel ownership work.\n---\n\n# Fleet Protocol: Frontline\n\nUse 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.\n\n## Checkpoints\n\nDecomposition, Dispatch, Integration, Verification.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order \u2014 each step on its own line with its report token.\n\n1. Brief how the Workflow will proceed \u2014 name (a) the Workflow steps that will run, (b) each carrier's file or responsibility ownership, and (c) the dispatch wave sequencing. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm 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.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Impact radius** \u2014 flag public-surface or API impact, irreversibility, and any security-sensitive surface. \u2192 report `impact: <\u2026>`\n- [ ] **Rollback** \u2014 identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. \u2192 report `rollback: <\u2026>`\n- [ ] **Carrier availability** \u2014 confirm the intended carriers are actually exposed and available this session. \u2192 report `carriers: <\u2026>`\n- [ ] **Ownership** \u2014 pre-sketch each carrier's file or responsibility boundary. \u2192 report `ownership: <\u2026>`\n- [ ] **Shared resources** \u2014 flag shared mutable resources (same files, lock files, or a singleton test environment). \u2192 report `shared: <\u2026|none>`\n- [ ] **Dependencies** \u2014 pre-classify parallel versus sequential work before decomposition and dispatch. \u2192 report `dependencies: <parallel|sequenced: \u2026>`\n\n## Workflow\n\n1. Reconnaissance and decomposition: audit known facts, identify gaps, map affected surfaces, and split work into independently verifiable missions.\n2. Ownership graph: assign each Carrier a clear file or responsibility boundary, note dependencies, and identify shared mutable resources.\n3. Structured planning boundary: `Apply the Context Confidence Standing Order \u2014 entry requires complete`. Resolve all blocking and confirmatory gaps before dispatch planning.\n4. Parallel dispatch: use Carrier Operations Policy to launch independent Carrier work in parallel; sequence only for explicit dependencies or shared resources.\n5. Integration: re-read files before editing or accepting Carrier output, reconcile overlaps, and preserve unrelated user or Carrier changes.\n6. Cross-carrier review loop: route implementation outputs to review Carriers, send actionable findings back to owners, and re-review changed surfaces.\n7. Verification: run integrated tests and apply Deep Dive to speculative or conflicting Carrier claims.\n8. Documentation and completion report: update directly affected docs and report executed waves, Carrier ownership, QA, unresolved risks, and final Result Integrity checks.\n\n## Cross-Carrier Feedback Patterns\n\nWhen composing waves and review loops, select the structured feedback pattern that fits the task:\n\n| Pattern | Flow | When |\n|---------|------|------|\n| **Build \u2192 Review** | implementation carrier \u2192 review carrier \u2192 findings back to implementation carrier \u2192 re-review | Standard implementation cycle |\n| **Analyze \u2192 Execute** | implementation or refactoring carrier \u2192 review carrier verifies | Refactoring workflow |\n| **Decide \u2192 Plan \u2192 Execute** | judgment carrier \u2192 planning carrier \u2192 execution carrier | Complex features |\n| **Research \u2192 Act** | reconnaissance carrier \u2192 appropriate follow-up carrier from the active roster | Unknown scope tasks |\n" },
32112
32128
  { relativePath: "protocol-midline/SKILL.md", content: "---\nname: protocol-midline\ndescription: Use the normal Fleet protocol mode for bounded operational work without downward-guard triggers.\n---\n\n# Fleet Protocol: Midline\n\nUse this mode for ordinary bounded operational work.\n\nAt any point during the work, if a Downward Guard trigger appears, stop and re-classify.\n\n## Checkpoints\n\nReconnaissance, Plan, Execution, Verification.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order \u2014 each step on its own line with its report token.\n\n1. Brief how the Workflow will proceed \u2014 name (a) the Workflow steps that will run, (b) the target surfaces, and (c) the verification command. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm 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.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Target surfaces** \u2014 provisionally name the minimal modules or files reconnaissance will touch; confirm or revise in the brief after reconnaissance. \u2192 report `surfaces: <\u2026>`\n- [ ] **Verification** \u2014 provisionally pre-load the test, build, or check command that will prove the work done; confirm or revise in the brief after reconnaissance. \u2192 report `verify: <cmd>`\n- [ ] **Carrier** \u2014 declare whether a carrier sortie is needed. \u2192 report `carrier: <none|\u2026>`\n\n## Workflow\n\n1. Focused reconnaissance: audit known facts, identify blocking and confirmatory gaps, and inspect the minimal relevant surfaces.\n2. Planning boundary: `Apply the Context Confidence Standing Order \u2014 entry requires sufficient`. Resolve all blocking gaps before planning.\n3. Inline plan: state objective, targets, execution steps, and done criteria.\n4. Execution: implement the plan in narrow batches, using Carrier Operations Policy when delegation is appropriate.\n5. Verification and review: run targeted checks, apply Deep Dive to speculative results, and fix actionable issues.\n6. Documentation and final report: update directly affected docs only when behavior or operator guidance changed, then summarize changes and QA.\n" },
32113
- { relativePath: "protocol-redline/SKILL.md", content: "---\nname: protocol-redline\ndescription: Use the risk-controlled Fleet protocol mode for irreversible, structural, multi-module, or prompt-policy work.\n---\n\n# Fleet Protocol: Redline\n\nUse 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.\n\n## Checkpoints\n\nReconnaissance, Risk review, Plan, Execution, Verification.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order \u2014 each step on its own line with its report token.\n\n1. Brief how the Workflow will proceed \u2014 name (a) the Workflow steps that will run, (b) file ownership and the rollback-safe checkpoint, and (c) the risk controls in force. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm each readiness check below before the Workflow. Work through them in order and report each as you confirm it, then proceed to full reconnaissance. These checks prepare the work; they do not gate entry.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Doctrine** \u2014 enumerate the applicable AGENTS.md files to load for the affected scope. \u2192 report `doctrine: <\u2026>`\n- [ ] **Impact radius** \u2014 flag public-surface or API impact, irreversibility, and any security-sensitive surface. \u2192 report `impact: <\u2026>`\n- [ ] **Rollback** \u2014 identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. \u2192 report `rollback: <\u2026>`\n- [ ] **Escalation** \u2014 if multiple carriers or parallel ownership boundaries are required, re-classify under frontline. \u2192 report `escalation: clear`\n\n## Workflow\n\n1. Full reconnaissance: audit known facts, enumerate blocking and confirmatory gaps, read applicable AGENTS.md files, map affected code, tests, docs, and boundaries.\n2. Architecture and risk review: identify public-surface impact, dependency constraints, rollback risk, security risk, and Admiral of the Navy approval requirements.\n3. Structured planning boundary: `Apply the Context Confidence Standing Order \u2014 entry requires complete`. Do not plan with unresolved blocking or confirmatory gaps.\n4. Risk-controlled plan: define file ownership, small execution batches, verification commands, rollback-safe checkpoints, and any approval point.\n5. Small-batch execution: edit narrowly, re-read before modifying shared files, and pause on unexpected diffs or scope expansion.\n6. 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.\n7. 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.\n8. Documentation and completion report: update directly affected operator docs and report changes, QA, risk controls, and residual uncertainty.\n" }
32129
+ { relativePath: "protocol-redline/SKILL.md", content: "---\nname: protocol-redline\ndescription: Use the risk-controlled Fleet protocol mode for irreversible, structural, multi-module, or prompt-policy work.\n---\n\n# Fleet Protocol: Redline\n\nUse this mode when any Downward Guard trigger defined in the Protocol Gate is in scope, for security-sensitive work, or for any operational request needing explicit risk controls. Escalate to `protocol-frontline` when multiple Carriers or parallel ownership boundaries are required.\n\n## Checkpoints\n\nReconnaissance, Risk review, Plan, Execution, Verification.\n\n## Reporting Cadence\n\nAs you move through this protocol, report progress to the Admiral of the Navy in order \u2014 each step on its own line with its report token.\n\n1. Brief how the Workflow will proceed \u2014 name (a) the Workflow steps that will run, (b) file ownership and the rollback-safe checkpoint, and (c) the risk controls in force. \u2192 report `brief: <\u2026>`\n2. State that execution is beginning and run the Workflow. \u2192 report `status: executing`\n\n## General Quarters\n\nConfirm each readiness check below before the Workflow. Work through them in order and report each as you confirm it, then proceed to full reconnaissance. These checks prepare the work; they do not gate entry.\n\n- [ ] **Common** \u2014 objective stated (Mission Anchor), mode-fit holds (Mode Gate), Standing Orders binding. \u2192 report `common: ready`\n- [ ] **Doctrine** \u2014 enumerate the applicable AGENTS.md files to load for the affected scope. \u2192 report `doctrine: <\u2026>`\n- [ ] **Impact radius** \u2014 flag public-surface or API impact, irreversibility, and any security-sensitive surface. \u2192 report `impact: <\u2026>`\n- [ ] **Rollback** \u2014 identify a rollback-safe checkpoint and any Admiral of the Navy approval point before execution begins. \u2192 report `rollback: <\u2026>`\n- [ ] **Escalation** \u2014 if multiple carriers or parallel ownership boundaries are required, re-classify under frontline. \u2192 report `escalation: clear`\n\n## Workflow\n\n1. Full reconnaissance: audit known facts, enumerate blocking and confirmatory gaps, read applicable AGENTS.md files, map affected code, tests, docs, and boundaries.\n2. Architecture and risk review: identify public-surface impact, dependency constraints, rollback risk, security risk, and Admiral of the Navy approval requirements.\n3. Structured planning boundary: `Apply the Context Confidence Standing Order \u2014 entry requires complete`. Do not plan with unresolved blocking or confirmatory gaps.\n4. Risk-controlled plan: define file ownership, small execution batches, verification commands, rollback-safe checkpoints, and any approval point.\n5. Small-batch execution: edit narrowly, re-read before modifying shared files, and pause on unexpected diffs or scope expansion.\n6. 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.\n7. 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.\n8. Documentation and completion report: update directly affected operator docs and report changes, QA, risk controls, and residual uncertainty.\n" }
32114
32130
  ];
32115
32131
  var DIR_MODE = 448;
32116
32132
  var FILE_MODE = 384;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotobokuri/fleet-console",
3
- "version": "1.20.0",
3
+ "version": "1.22.0",
4
4
  "description": "Fleet Console - standalone web surface for observing Fleet CLI workspaces, carrier jobs, live output streams, and terminals.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import{ap as o,aq as n}from"./mermaid.core-H_nCcZgd.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-C6Fnl7zd.js";import{_ as i}from"./mermaid.core-H_nCcZgd.js";import"./chunk-FMBD7UC4-Dhpf1rPA.js";import"./chunk-YZCP3GAM-COCKMROt.js";import"./chunk-55IACEB6-B13wgLIz.js";import"./chunk-EDXVE4YY-7-iC3e7j.js";import"./index-UoTD8YUw.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-C6Fnl7zd.js";import{_ as i}from"./mermaid.core-H_nCcZgd.js";import"./chunk-FMBD7UC4-Dhpf1rPA.js";import"./chunk-YZCP3GAM-COCKMROt.js";import"./chunk-55IACEB6-B13wgLIz.js";import"./chunk-EDXVE4YY-7-iC3e7j.js";import"./index-UoTD8YUw.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
1
- import{b as r}from"./graph-G8vxctrf.js";var e=4;function a(o){return r(o,e)}export{a as c};