☰ Contents

source.json

JSON · 287 lines · 6,147 bytes · wiki path 10 Architecture/contracts/manifests/source.json · download the raw file · cited from Customer-Specific Development Module · Stage S8 — Precipitation · Modules and their runtime declarations

Same folder: commercial.json · configuration.json · data.json · support.json

{
  "schema_version": 1,
  "module_id": "source",
  "name": "Customer-specific development",
  "case_module": "source",
  "kind": "working",
  "root_profile": "source.root",
  "memory_root": "source",
  "profiles": [
    {
      "key": "source.root",
      "execution_kind": "llm",
      "owns": [
        "source"
      ]
    },
    {
      "key": "source.planner",
      "execution_kind": "llm",
      "owns": []
    },
    {
      "key": "source.implementer",
      "execution_kind": "llm",
      "owns": []
    },
    {
      "key": "source.implementer.serdica-backend",
      "execution_kind": "llm",
      "owns": [
        "source/serdica-backend"
      ]
    },
    {
      "key": "source.implementer.serdica-ui",
      "execution_kind": "llm",
      "owns": [
        "source/serdica-ui"
      ]
    },
    {
      "key": "source.implementer.db-plsql",
      "execution_kind": "llm",
      "owns": [
        "source/db-plsql"
      ]
    },
    {
      "key": "source.implementer.intentgpt",
      "execution_kind": "llm",
      "owns": [
        "source/intentgpt"
      ]
    },
    {
      "key": "source.camunda_developer",
      "execution_kind": "llm",
      "owns": []
    },
    {
      "key": "source.db_extractor",
      "execution_kind": "llm",
      "owns": []
    },
    {
      "key": "source.test_runner",
      "execution_kind": "deterministic",
      "owns": []
    },
    {
      "key": "source.validator",
      "execution_kind": "llm",
      "owns": []
    },
    {
      "key": "source.deployer",
      "execution_kind": "llm",
      "owns": []
    }
  ],
  "entry_stage": "S1",
  "stages": [
    {
      "id": "S1",
      "profile": "source.planner",
      "consumes": [
        "handover-packet",
        "normalised-arrival"
      ],
      "produces": [
        "branch-set",
        "brief",
        "handover-packet"
      ],
      "gates": [
        {
          "kind": "H1",
          "when": "result_ready"
        },
        {
          "kind": "Hd",
          "when": "on_handover"
        }
      ],
      "done": "Reproduction, scope and actual branch set established.",
      "clarification": true
    },
    {
      "id": "S2",
      "profile": "source.planner",
      "consumes": [
        "brief"
      ],
      "produces": [
        "brief"
      ],
      "gates": [
        {
          "kind": "H2",
          "when": "plan_ready"
        }
      ],
      "done": "Placement and test plan approved; H1/H2 can share one packet."
    },
    {
      "id": "S3",
      "profile": "source.implementer",
      "consumes": [
        "brief",
        "branch-set"
      ],
      "produces": [
        "paper:build_state",
        "paper:report"
      ],
      "gates": [],
      "done": "Every declared source the change touches gets its own bounded implementer instance; isolated worktree change recorded per source, and the declared build, targeted tests and applicable interface/eval checks run on the pinned build state and pass. No source is the default.",
      "profile_variants": {
        "serdica-backend": "source.implementer.serdica-backend",
        "serdica-ui": "source.implementer.serdica-ui",
        "db-plsql": "source.implementer.db-plsql",
        "intentgpt": "source.implementer.intentgpt",
        "other": "source.implementer"
      }
    },
    {
      "id": "S4",
      "profile": "source.validator",
      "consumes": [
        "brief",
        "paper:build_state",
        "paper:report"
      ],
      "produces": [
        "paper:verdict"
      ],
      "gates": [
        {
          "kind": "H3",
          "when": "result_ready"
        }
      ],
      "done": "The change is validated against the approved brief — placement, actual diff, contract compatibility and the evidence of what the tests actually ran; corrections return to Implementation.",
      "precipitates": true
    },
    {
      "id": "S5",
      "profile": "source.deployer",
      "consumes": [
        "paper:verdict"
      ],
      "produces": [
        "paper:packet"
      ],
      "gates": [
        {
          "kind": "H4",
          "when": "plan_ready"
        }
      ],
      "done": "Release packet pins reviewed head, merge policy, artefacts, targets and revert."
    },
    {
      "id": "S6",
      "profile": "source.deployer",
      "consumes": [
        "paper:packet"
      ],
      "produces": [
        "paper:packet"
      ],
      "gates": [
        {
          "kind": "H5",
          "when": "before_execution"
        }
      ],
      "done": "Target execution decisions recorded."
    },
    {
      "id": "S7",
      "profile": "source.deployer",
      "consumes": [
        "paper:packet"
      ],
      "produces": [
        "paper:report"
      ],
      "gates": [],
      "done": "Pipeline/DDL results, serving revision, smoke and port outcome verified.",
      "precipitates": true
    },
    {
      "id": "S8",
      "profile": "source.deployer",
      "consumes": [
        "paper:report"
      ],
      "produces": [
        "paper:report"
      ],
      "gates": [
        {
          "kind": "H7",
          "when": "before_execution"
        }
      ],
      "done": "Compensation authorised and verified."
    }
  ],
  "edges": [
    {
      "from": "S1",
      "to": "S2",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S2",
      "to": "S3",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S3",
      "to": "S4",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S4",
      "to": "S3",
      "on": "review correction",
      "kind": "rework"
    },
    {
      "from": "S4",
      "to": "S5",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S5",
      "to": "S6",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S6",
      "to": "S7",
      "on": "ready",
      "kind": "dependency"
    },
    {
      "from": "S7",
      "to": "S8",
      "on": "failed release",
      "kind": "rework"
    }
  ],
  "eval_sets": [
    "source.planning",
    "source.implementation",
    "source.review",
    "source.deployment"
  ]
}