------Z --- --
102105012

S2 Update Brief Pipeline

The flagship. The Supervisor gathers cell assessments, coverage, gaps, and decisions in parallel; the Brief Drafter seeds the BLUF and posture from live counts; the analyst edits; the S2 approves; the archive freezes the lineage.

PrewiredSupervisor + Brief Drafterv0.1.0trigger: schedulewf.s2.update-brief
Doctrine

The brief that takes a half day to assemble becomes a fifteen minute review of an agent assembled draft. Six of eight steps already exist in single step form. Assessment section 5, end to end.

Human gate: The analyst edits and the S2 approves before the brief leaves the section. The commander signs judgments, not keystrokes.

Trigger: Weekly cadence, or an I and W trip (today: run manually).

Assembled brief draftDegraded posture flagsLineage record
The pipeline (5 steps, Arazzo shaped)
  1. 01Gather in parallelRETRIEVElistCellAssessments + listPirCoverage + listGaps + listDecisions + getCommandCenterSummary

    The Supervisor dispatches every read at once: cell postures, coverage math, the gap register, the decision log, and the command center counts.

    Success criteria
    • All five reads complete
    • Reads run concurrently
    Outputs
    cellscoveragegapsdecisionssummary
  2. 02Draft the BLUF and postureREASONcomposeBriefDraft

    Seed the bottom line, the weakest requirement, the posture line, and the recommendations from live counts. Every number traces to a record.

    Success criteria
    • Every stated number grounded
    • Weakest PIR named with its coverage
    Outputs
    draft
  3. 03Correlation passREASONflagChangedPicture

    Flag cells at degraded posture and gaps without progress into the synopsis.

    Success criteria
    • Flags trace to cell and gap records
    Outputs
    flags
  4. 04Analyst edits, S2 approvesHUMAN GATES2approver: S2

    The analyst edits the assembled draft inline (the leadership surface already supports this); the S2 approves the judgment.

    Success criteria
    • Analyst edit pass
    • S2 approval recorded
    Outputs
    approvedBrief
  5. 05Archive with lineageACT (simulated)archiveBriefAction

    Freeze the approved brief and the inputs it stood on. The lineage record.

    Success criteria
    • Immutable archive row staged
    Outputs
    archive
Dry run console
Reads are live. Writes are simulated. Nothing changes until a human gate clears.
Agentic binding (the wire, when approved)
s2-fusion-intel-apiupdateBriefPipeline

Wired mode chains into the existing brief assist and PPTX export surfaces after the gate.

Prerequisites live in src/lib/agentic/client.remote.ts.template: published OpenAPI description, accepted Arazzo documents, a scoped server side credential, and an approved agent runtime. Until then, the selector stays on the local dry run engine.

Foundry / MSS twin (after migration)
Agent Studio supervisor + AIP Logic per specialist

The parallel gather becomes an object set query fan out; the archive is native lineage.