Skip to content

Add project-campaign skills: system decomposition, allocation, development and project campaigns - #6388

Closed
lestarch-autobot wants to merge 18 commits into
nasa:develfrom
lestarch-autobot:system-campaign-skills
Closed

lestarch-autobot wants to merge 18 commits into
nasa:develfrom
lestarch-autobot:system-campaign-skills

Conversation

@lestarch-autobot

@lestarch-autobot lestarch-autobot commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator
Related Issue(s) — (process building blocks, follows #6229)
Has Unit Tests (y/n) n — markdown skills and agents only
Documentation Included (y/n) y — the skills and the contract are the documentation; AGENTS.md router updated
Generative AI was used in this contribution (y/n) AI

Change Description

Adds the skills and reviewer agents for qualifying a whole project / deployment, one level above the component campaign of #6229:

  • fprime-system-decomposition + system-decomposition-review.agent.md — ask + system requirements → SSDD ## Architecture (elements, topology sketch) and ## Allocation (one row per REQ-<System>-NNN, kind ∈ component | subtopology | set | system); rules DC-1..DC-7.
  • fprime-system-allocation + system-allocation-review.agent.md — maps the elements onto INHERITED (nasa/fprime, fprime-community, libraries, pinned repo@ref), INHERITED-MODIFIED (red flag: justified against configuration and adapter alternatives, approved by name at the gate) and NEW; writes SSDD ## Inventory + ### Red flags; rules AL-1..AL-8 (NEW-SUBTOPOLOGY rows go to fprime-topology-development, never to a component campaign).
  • fprime-development-campaign — the component campaign as a repository skill (four lanes, two human gates), with an approver: project-campaign mode; names the three checklist passes (fprime-checklist-design / -implementation / -closeout) and runs fprime-iterative-development only when its §0 plan was approved with the SDD.
  • fprime-project-campaign — the orchestrator: SYSTEM DESIGN → Approve SSDD → BASE DEPLOYMENT → Master seed (once, at the first rehearsed package) → COMPONENT CAMPAIGNS → SYSTEM TESTS → FINAL RUN-FOR-RECORD → RDD → Read RDD.
  • _shared/test-process-contract.md §9 — project lanes and gates, delegated approver, master-seed derivation (sha256("<master>:<campaign-id>"), human-side, no tooling change), final re-run and STALE rule, RDD inputs and refusals. The header's "lives on branch … until merged" sentence is replaced now that Add system-test process agents and skills (design, review, build, run-for-record) #6229 is merged.
  • AGENTS.md and fprime-development.agent.md §1 route to the new skills.

Revisions after the first local review and the first Devin Review (seed timing, AL-5 rows in the system plan, new subtopologies, iterative-development approval, checklist passes, skills-source input) are the second and third commits.

No code outside .github/ and AGENTS.md is touched. The new agents are not in agent-registry.yml (PR-review scope only, as in #6229).

Rationale

The component campaign proves one component; a deployment also needs system requirements that rarely map to one component, an explicit decision on what is inherited unchanged versus built, system tests over the whole, and one document — the RDD — a human can review at once. Two human gates at the system level (SSDD, RDD) keep the human load constant while the component gates are performed by the project session against the SSDD and recorded in the ledger. Modifying an inherited component is the main project risk, so it is a named red flag at the first gate rather than a line in a diff.

Testing/Review Recommendations

  • Consistency across contract §9 ↔ the four skills ↔ the two agents (gate names, campaign-id forms, STALE definition, SSDD section names).
  • The seed derivation: §9.3 keeps §4 blindness unchanged (no agent holds the master or a derived seed) and needs no fth change — check that unseal publishing a derived seed indeed reveals nothing usable.
  • This PR will stay open while the skills are exercised on a first project campaign; findings from that trial land here.

Future Work

  • The RDD assembly tool (independent of fth), whose inputs and refusals §9.5 fixes.
  • fth derive-seed as a convenience for §9.3, and an explicit uut == harness allowance in fth deliver for the system package.
  • Playbooks wrapping fprime-project-campaign with bench access and identities.

Contributor Checklist

AI Usage (see policy)

All files were drafted by Devin (Cognition) following agent-skill-authoring, from a process design worked out with the requester in this session; the requester directed the lane structure, the two-gate rule, the red-flag rule for inherited components, the re-run rule and the master-seed approach. No adversarial review session has run on these drafts yet — that is the purpose of leaving the PR open.

IAMAI

lestarch-autobot and others added 15 commits November 13, 2026 02:48
…pment and project campaigns

Skills and reviewer agents for qualifying a whole deployment: fprime-system-decomposition and fprime-system-allocation (with system-decomposition-review and system-allocation-review agents), fprime-development-campaign (the component campaign as a repository skill, with a delegated-approver mode) and fprime-project-campaign (the orchestrator). Test-process contract gains section 9 (project lanes and gates, delegated approver, derived seeds, final run and staleness, RDD inputs); AGENTS.md and fprime-development.agent.md route to the new skills.

Co-authored-by: M Starch <LeStarch@googlemail.com>
…, RDD reads docs/checklist.md

fprime-development-campaign runs fprime-checklist-design at DESIGN exit, fprime-checklist-implementation at DEVELOPMENT exit and fprime-checklist-closeout after Read QL; both campaign skills take a skills-source input instead of hard-coding nasa/fprime devel; contract section 9.5 names docs/checklist.md as the RDD's checklist input.

Co-authored-by: M Starch <LeStarch@googlemail.com>
…t system tests, NEW-SUBTOPOLOGY class, no silent iterative-development loop

Addresses the Devin Review findings on the first draft: the master seed is requested once when the first package passes its seed-free rehearsal, so child campaigns can run for record; the system test plan covers every allocation row whose final verification is a system test (including inherited component rows and AL-5 moves), excluding only rows owned by a NEW component's campaign; new subtopologies are NEW-SUBTOPOLOGY rows built with fprime-topology-development, never sent to a component campaign (AL-8); the DEVELOPMENT lane runs the phase skills single-pass unless the fprime-iterative-development loop plan was approved with the SDD.

Co-authored-by: M Starch <LeStarch@googlemail.com>
…roject campaign: L0 confirmation is a plan-change diff

The seed-derivation example read the master un-echoed and writes only the derived seed, so nothing lands in shell history. The base-deployment lane routes the plan's L0 confirmation through the fprime-system-test-design section 7 refresh (reviewer once, human re-approval as a plan change) instead of editing the approved plan.

Co-authored-by: M Starch <LeStarch@googlemail.com>
…tus cell, no checklist.json, close-out reads NO/UNCHECKED rows instead of auditing every row

fprime-auto-checklist 0.2.0 renders every Status cell as '<status> @<commit>', '… by review' or '… overridden by reviewer' and keeps the evidence JSON in its work dir. The design/implementation/close-out checklist skills, the campaign skill and the process contract now commit docs/checklist.md alone; close-out reads the tool's NO/UNCHECKED rows and overrides only where the tool is wrong (justification in Notes), a tool YES is accepted as is.

Co-authored-by: Michael Starch <LeStarch@googlemail.com>
…oses; the approver first sees the proposals at gate 1

Inside a development campaign the review loops no longer stop to ask the human. The writer answers each elicitation finding with a proposed design in the SDD, logs it as proposed in the ledger, and the gate 1 message lists the requirement IDs that carry a proposal. The campaign stops before gate 1 only for a change outside the UUT or a material deviation from the request; the same holds for phases redone after a gate 1 rejection. Direct use of phase-review-loop.md still asks the user.

Co-authored-by: M Starch <LeStarch@googlemail.com>
…entory, Requirement to Component Map

- fprime-system-decomposition: the topology sketch is an FPP topology rendered with fpp-diagram-render (subtopologies collapsed, one details block each)
- fprime-component-design-fpp: the SDD component diagram is generated with fpp-diagram-render
- fprime-system-allocation: the inventory SDD cell is a link on every component row, including NEW components' campaign SDDs
- SSDD section Allocation is renamed Requirement to Component Map

Co-authored-by: M Starch <LeStarch@googlemail.com>
…ver inlined

Co-authored-by: M Starch <LeStarch@googlemail.com>
…d grade, linked to the quality index

Co-authored-by: M Starch <LeStarch@googlemail.com>
…level topology FPP and published or local records; refusals and the incomplete override

Co-authored-by: M Starch <LeStarch@googlemail.com>
…rove SSDD, automatic redesign loop, master seed directly before the run-for-record lane, one RfR per component

Co-authored-by: M Starch <LeStarch@googlemail.com>
…nt's SDD gate has passed

Co-authored-by: M Starch <LeStarch@googlemail.com>
…ystem design, the agents own each component

Co-authored-by: M Starch <LeStarch@googlemail.com>
…onent input is given at Approve SSDD

Co-authored-by: M Starch <LeStarch@googlemail.com>
… every new component SDD, Markdown and HTML)

Co-authored-by: M Starch <LeStarch@googlemail.com>
lestarch-autobot and others added 3 commits November 20, 2026 22:03
…utobot fork)

v0.1.2 reads only TB_PROC_TIME rows and records no bench evidence; v0.1.27
adds per-row time bases, ground receive times and bench evidence.

Co-authored-by: Michael Starch <LeStarch@googlemail.com>
Release used by the SeqScheduler campaign run for record.

Co-authored-by: Michael Starch <LeStarch@googlemail.com>
…ender only

The ask stays an input to the campaign, its children and reviewers; the SSDD
Introduction states what the deployment does. The SSDD topology and the
component SDD diagram are drawn by fpp-diagram-render and nothing else: the
Mermaid block and ASCII box fall-backs are removed. The topology fragment now
carries a table naming each bus's connections.

Co-authored-by: Michael Starch <LeStarch@googlemail.com>
@lestarch-autobot

Copy link
Copy Markdown
Collaborator Author

Moved to the fork for staging: this change continues as lestarch-autobot#478 (same branch system-campaign-skills, same 18 commits and 15 files, base release/system-campaign-skills-final). It will be sent here again in completed form once the trial on a first project campaign is finished. Closing this one.

Written by Devin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant