MORE THAN A CODING PROMPT
The Junior toolbelt.
Plan the deliverable, examine the risks, and preserve the reasoning that shaped it. The manager and worker can work from shared, saved evidence.
Failure modes & criticality
FMECA
Identify how a deliverable or handoff could fail, rank the risks, and record mitigations before execution.
Native persisted analysis state
Explore FMECA on GitHub ↗Critical path & dependencies
CPM Planner
Break a plan into defined deliverables, track dependencies, and identify the work that determines the finish date.
Persistent project database
Explore CPM Planner on GitHub ↗Connected state graph
Crossmatrix
The connected state graph: jobs, journeys, code, risks, plans and ADRs tied together in a committed .crossmatrix/ store, kept in sync as they change, so relationships and tradeoffs can be inspected together.
Committed .crossmatrix/ store · stays in sync with your repository
Explore Crossmatrix on GitHub ↗Contradictions & solution strategies
TRIZ
Explore technical or physical contradictions using a catalog of inventive principles. Jev classification suggests applicable conflicts; the catalog provides structured options.
Optional separate CLI · repository access required
Explore TRIZ on GitHub ↗Browser testing & demos
Jevitate
Explore, replay and regression-check real user journeys in a browser, gate CI on the result, and turn a journey into a narrated demo. A pass/fail jevitate check can verify a delivered change.
npm @jevitate/cli · ships its own agent skills and MCP server
Explore Jevitate ↗Hypothesis interviews
Elicitation
Requirements interviews that treat every claim as a hypothesis: probe it, mark it verified or a guess, and surface the assumptions a deliverable rests on before work starts.
Requirements interviews · claims are hypotheses
Managed by Junior setupInvestigations
Scientific process
Run a hypothesis → experiment → verdict investigation: state the claim, design the cheapest test that could disprove it, run it, and record the verdict as evidence.
npm @matthew-cochran/scientific-process · hypothesis → experiment → verdict
Managed by Junior setupFrontier plans, Junior executes
- The frontier manager submits deliverables to CPM and reviews risks with FMECA.
- CPM leases the ready, non-conflicting deliverables on the critical path.
- Each one becomes a bounded Junior contract run by a commodity model. With a
plan field, the handoff takes the lease itself and records its hours and evidence. - The manager reviews the receipt and checks, applies the work with
junior apply, then marks the deliverable complete or failed in CPM. The receipt lists any file changed outside the deliverable’s owned files.
Every tool call goes through junior tools call (for example junior tools call cpm plan.status plan_id=…), so plan and risk state are saved as evidence. No MCP setup is needed for this loop.
Map features to code
junior matrix refresh keeps the map current in one idempotent pass: it syncs code, tests, Jevitate jobs and journeys and the active CPM plan, confirms high-confidence links and links completed deliverables.junior apply links the files an accepted handoff changed to its feature, so the map fills itself as work lands.- A handoff that names a
feature or plan deliverable gets exactly those files as context. Look up both ways: junior matrix context d-12 or junior matrix features src/checkout/. junior matrix stale reads git, not file contents: each link remembers the commit and blob it was confirmed against and is reported changed, moved, deleted or entity-changed.
Every flag is an override: the hop, model, sources, plan and feature default from the project. Lookups are deterministic, with no model call, and each command uses a single Crossmatrix session. Agents read the matrix only through junior matrix or the Crossmatrix MCP: the worker guard and Claude Code deny rules keep .crossmatrix/ files out of reach.
A shared handoff package
Junior’s HOP file points to FMECA, CPM, and Crossmatrix state and stores versioned evidence snapshots. Pass its revision with the task so the worker and reviewer see the same plan. State changes invalidate prior acceptance.
Use only what the task needs
Inspect a configured handoff with junior tools inspect /absolute/hop.json. The manager chooses a scoped tool call; the executor records its result. Optional TRIZ runs separately—attach its saved output to the deliverable context.
Other bounded workflows include reconnaissance, evaluation, and an optional fresh-session QA review. Analysis returns a report; it does not authorize production edits. junior init installs the checksum-verified FMECA, CPM, Crossmatrix, scientific-process and elicitation binaries Junior runs, plus the npm companions (fmeca, cpm, crossmatrix, scientific-process, elicitation, jevitate, triz) and their agent skills. junior doctor --check-updates reports newer releases and junior update adopts them, including newer commodity models when models.autoUpgrade is set. Shape a cpm plan into bounded contracts with junior plan check and junior plan contracts. Provider access still needs your login. After a compaction or resume, junior compact rebuilds the plan, risk and investigation state from saved stores with no model call, and the restored block also lists pending decisions, open notes, open PRs and capture proposals. junior note add|list|done|promote|dismiss keeps local session notes, and on compaction a PreCompact hook runs junior compact --capture, which asks the default commodity model once for open decisions, questions, risks, hypotheses and todos and saves them only as proposals. junior setup --context-hooks installs the Claude Code SessionStart and PreCompact hooks and, with --harness codex or --harness cursor, writes .codex/hooks.json or .cursor/hooks.json. Acceptance criteria can carry a stable id plus the checks that prove them and the fmeca mitigations they verify, from an elicitation requirement through the plan and contract to the run result. After a run, junior fmeca propose-verified prints ready requests to mark those mitigations verified, which the manager reviews and applies.