Skip to content

I3154 — Every just recipe is generated from the command graph or names the exemption that keeps it hand-written

Count the untracked bridge that majordomus commands bridge generates (ADR 0027) as the generated recipes, refuse a hand-written recipe whose body is one call of a bridged command, and resolve every remaining hand-written recipe to its inventory record.

READY wave 0 · p2 · implementation profile · parallel safe

Part of repository-automation-is-typed — Repository automation is typed capabilities that Rhai orchestrates, and domain-logic shell only shrinks.

Ready. Every dependency is done, so majordomus plan start I3154 will be accepted.

Objective

Count the untracked bridge that majordomus commands bridge generates (ADR 0027) as the generated recipes, refuse a hand-written recipe whose body is one call of a bridged command, and resolve every remaining hand-written recipe to its inventory record.

Why

Owner, 2026-10-12: connect it to a derived just; shell and just only as thin wrappers derived over derived MCP/CLI/API. It extends milestone automation. Sources: chatgpt-majordomus:c105#1, chatgpt-majordomus:c230#3, chatgpt-majordomus:c230#5.

Current state

justfile imports .just/{test,build,serve,ci,site}.just, all hand-written; majordomus commands bridge (command_graph/bridge.rs) writes an optional untracked bridge.

Desired state

The bridge stays generated and untracked, regeneration is byte-identical, a duplicate of a bridged recipe is refused; just --list does not start the executable.

Scope

  • justfile
  • .just
  • apps/majordomus-cli/src/command_graph/bridge.rs
  • .ai/repo/automation/inventory.jsonl

Out of scope

  • Making just the source of truth

Dependencies

None. This issue is a root of the graph.

Acceptance criteria

  • Regeneration is byte-identical
  • A duplicated hand-written recipe is refused
  • just --list starts no process of the executable
  • Each new case named here takes its number from `scripts/case-numbers next` and is announced on the board before the file is written (ADR 0053); a case number written in this record before that is provisional

Validation

  • bin/majordomus-cli generate --check
  • bash test/run.sh 101_command_graph

Evidence required

  • case_just_is_derived

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Timeline

started
—
verified
—
completed
—

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I3154.yaml. Read it back with majordomus plan show I3154.

Searches the titles and descriptions of every page this site publishes.