{
  "objective": "Run one read-only research-to-change loop iteration for an ambiguous local package change and produce a human-gated implementation recommendation without mutation.",
  "library": {
    "sources": [
      "package"
    ]
  },
  "authority": {
    "allowFilesystemRead": true
  },
  "steps": [
    {
      "id": "evidence-scout",
      "agent": {
        "ref": "package:scout"
      },
      "task": "Gather current repo evidence, affected files, runtime boundaries, tests, docs, and unknowns for the concrete parent-copied package change question. If no concrete question, affected surface, stop condition, or expected output fields were copied in, return NEEDS-SCOPE without broad repo search. Do not run commands or edit."
    },
    {
      "id": "change-plan",
      "agent": {
        "ref": "package:planner"
      },
      "needs": [
        "evidence-scout"
      ],
      "task": "Turn evidence into an implementation contract with canonical owners, rejected weak alternatives, tests, docs, and validation obligations. Do not edit."
    },
    {
      "id": "gate-critique",
      "agent": {
        "ref": "package:critic"
      },
      "needs": [
        "change-plan"
      ],
      "task": "Decide whether the implementation contract is safe to propose to the human. Return block/proceed-with-conditions/proceed and mandatory proof. This is not an implementation lane. Do not edit."
    },
    {
      "id": "final-report",
      "agent": {
        "ref": "package:synthesizer"
      },
      "after": [
        "evidence-scout",
        "change-plan",
        "gate-critique"
      ],
      "task": "Close this gated loop iteration by reporting the proposed change, no-go conditions, exact human approval question, concrete mutationScope for a later authorized mutation run, validation plan, risks, and next action after all lanes terminalize, including failed or blocked lane evidence. Do not invent validation or imply edits were authorized."
    }
  ],
  "limits": {
    "concurrency": 3,
    "timeoutSecondsPerStep": 9000
  }
}
