{
  "adapter": {
    "contract": "genesisbench-reference-adapter-v0.1",
    "hiddenRetriesAllowed": false,
    "owner": "R1.4.l",
    "providerToolsAllowed": false,
    "requestMapping": "typed-lossless-no-authority-injection",
    "responseMapping": "typed-lossless-no-semantic-rewrite",
    "secretPolicy": "redact-values-record-presence-and-policy",
    "semanticRewriteAllowed": false
  },
  "artifacts": [
    {
      "bytes": 3826,
      "id": "agent-session-resources",
      "path": "docs/spec/AGENT_SESSION_RESOURCES_v0.1.schema.json",
      "role": "budget-contract",
      "sha256": "f0158daa734506ed248df1cb34be2a7c0c3d655980724087c0f0979b078d7adf"
    },
    {
      "bytes": 3243,
      "id": "agent-transaction-schema",
      "path": "docs/spec/AGENT_TRANSACTION_v0.1.schema.json",
      "role": "transaction-contract",
      "sha256": "07abf0b5118dcd5d5eef890d0fe37bbb84c5aed02fed78aaa40533617cce1edb"
    },
    {
      "bytes": 19844,
      "id": "benchmark-run-schema",
      "path": "docs/spec/GC_AGENT_BENCHMARK_RUN_v0.1.schema.json",
      "role": "prompt-schema",
      "sha256": "21908dfefecc0fed484d11a81adae889aaeb8e4641d17882bb4a78f9533ccc09"
    },
    {
      "bytes": 3960,
      "id": "gc-agent-core-card",
      "path": "docs/spec/GC_AGENT_CORE_CARD_v0.3.md",
      "role": "card",
      "sha256": "deac294e75909101455dbd7434951d83dd6ffbf6f53c6b05cb47920fa6a6bb58"
    },
    {
      "bytes": 42032,
      "id": "gc-agent-profile",
      "path": "docs/spec/GC_AGENT_PROFILE_v0.3.json",
      "role": "grammar",
      "sha256": "d68dcb143067afda404e9dce3865e27b1d58e0e039a8f1a622159e467c3f2ada"
    },
    {
      "bytes": 308673,
      "id": "gc-agent-symbol-index",
      "path": "docs/spec/GC_AGENT_SYMBOL_INDEX_v0.3.json",
      "role": "profile",
      "sha256": "0c74b594bcacaa0f5fc484295d549af3b3ce5fdd810267f9ba6572ea3ddb2b79"
    },
    {
      "bytes": 5886,
      "id": "gc-agent-task-cards",
      "path": "docs/spec/GC_AGENT_TASK_CARDS_v0.3.md",
      "role": "card",
      "sha256": "4ab1de09b175b8e1576dac14e0dde0f3218146e583f086567446bb6027a15339"
    },
    {
      "bytes": 359109,
      "id": "gc-diagnostic-catalog",
      "path": "docs/spec/GC_DIAGNOSTIC_CATALOG_v0.1.json",
      "role": "diagnostics",
      "sha256": "c4cc96a66f9bba73642829f56cc16281a4e262f57f54303ae04ec04b9c05de22"
    },
    {
      "bytes": 3618,
      "id": "gc-diagnostic-repair-plan",
      "path": "docs/spec/GC_DIAGNOSTIC_REPAIR_PLAN_v0.1.schema.json",
      "role": "repair-contract",
      "sha256": "30f034b294788c99691bdf2ddeff7afabbf9c9a4ab1cf7844f66eb544863d206"
    },
    {
      "bytes": 20308,
      "id": "mcp-catalog-source",
      "path": "crates/gc_cli_driver/src/mcp/catalog.rs",
      "role": "mcp-catalog",
      "sha256": "5b010e5be4da7c69ca8fe867a5a5fa2aa4ee5c0240a0eea1488e0b5ec7b59fa8"
    },
    {
      "bytes": 35196,
      "id": "reference-agent-runtime",
      "path": "scripts/lib/genesisbench_reference_agent.py",
      "role": "retrieval-runtime",
      "sha256": "74b8474a41824cc7fab35557ef83c11d0d73c9c9b8ad8f9092eaab835d1d1fff"
    },
    {
      "bytes": 1032,
      "id": "reference-retrieval-config",
      "path": "benchmarks/genesisbench/v0.1/reference-agent/retrieval.json",
      "role": "retrieval-config",
      "sha256": "4ef01f285f6f8b968107f63988c79abad7096ce3c640269dcfea5e0d2704f628"
    },
    {
      "bytes": 1181,
      "id": "reference-system-prompt",
      "path": "benchmarks/genesisbench/v0.1/reference-agent/system.md",
      "role": "prompt",
      "sha256": "da637405bebc9bd518d2f0525b21a4e5d45dc883630cc1c1b35ffa18aed0af65"
    },
    {
      "bytes": 2920,
      "id": "scaffold-manifest-schema",
      "path": "docs/spec/GENESISBENCH_SCAFFOLD_MANIFEST_v0.1.schema.json",
      "role": "adapter-contract",
      "sha256": "527c402107d7f72f309f451e581be1ec5a4dc81140b329d8e0490ccfb36c9c2e"
    }
  ],
  "budgets": {
    "cpuTimeMs": 300000,
    "effects": 4096,
    "heapBytes": 1073741824,
    "maxContextBytes": 8388608,
    "maxModelCalls": 2,
    "maxOutputBytes": 1048576,
    "maxRepairCalls": 1,
    "maxRetrievalQueries": 1,
    "maxToolCalls": 64,
    "processes": 8,
    "semanticSteps": 100000000,
    "wallTimeMs": 600000,
    "workspaceGrowthBytes": 268435456
  },
  "class": "fixed-reference",
  "comparisonPolicy": {
    "allowedRunVariable": "immutable-model-revision",
    "fixedFacts": [
      "adapter-contract",
      "budgets",
      "context-policy",
      "diagnostics",
      "grammar",
      "orchestration",
      "prompt-assembly",
      "repair-policy",
      "retrieval",
      "system-prompt",
      "tool-policy",
      "transaction-policy"
    ],
    "modelSpecificPromptingAllowed": false,
    "providerMutableFactsTreatment": "recorded-but-not-semantic-input",
    "scaffoldChangePolicy": "new-profile-and-cohort-required"
  },
  "contentIdentitySha256": "50c95a2536f6c1a9bff3a9efcb589361fbfe7fbe02162a11b5b448285b238f99",
  "grammar": {
    "acceptanceAuthority": "production-parser-and-obligations",
    "authorityArtifactId": "gc-agent-profile",
    "id": "gc-agent-v0.3-coreform-grammar",
    "semanticRewriteAllowed": false
  },
  "id": "genesisbench-reference-agent-v0.1",
  "kind": "genesis/genesisbench-reference-agent-v0.1",
  "loop": {
    "diagnosticAuthority": "gc-diagnostic-catalog",
    "phases": [
      "assemble",
      "retrieve",
      "inspect",
      "model-call",
      "stage",
      "verify",
      "diagnose",
      "repair",
      "finalize"
    ],
    "repairAuthority": "gc-diagnostic-repair-plan",
    "repairTrigger": "failed-deterministic-verification-with-safe-repair",
    "stopConditions": [
      "authority-violation",
      "budget-exhausted",
      "complete",
      "integrity-failure",
      "invalid-response",
      "no-safe-repair",
      "replay-mismatch"
    ],
    "stopPrecedence": [
      "authority-violation",
      "integrity-failure",
      "replay-mismatch",
      "budget-exhausted",
      "invalid-response",
      "no-safe-repair",
      "complete"
    ]
  },
  "orchestration": {
    "agentCount": 1,
    "planner": "deterministic-finite-state-v0.1",
    "providerToolsAllowed": false,
    "states": [
      "abort",
      "assemble",
      "diagnose",
      "finalize",
      "inspect",
      "model-call",
      "repair",
      "retrieve",
      "stage",
      "verify"
    ],
    "subagentsAllowed": false,
    "terminalStates": [
      "abort",
      "finalize"
    ]
  },
  "promptAssembly": {
    "algorithm": "sha256-domain-separated-ordered-artifacts-v0.1",
    "completeCaptureRequired": true,
    "domain": "genesis-reference-agent-prompt-v0.1\\u0000",
    "kind": "genesis/reference-agent-prompt-assembly-v0.1",
    "orderedRoles": [
      "system-policy",
      "agent-profile",
      "task-card",
      "context-pack-or-retrieval-transcript",
      "task-prompt",
      "task-inputs"
    ],
    "taskMaySelectAuthority": false,
    "typedEnvelopeSchema": "genesis/reference-agent-request-v0.1"
  },
  "retrieval": {
    "algorithm": "genesisbench-integer-lexical-retrieval-v0.1",
    "configArtifactId": "reference-retrieval-config",
    "integerOnly": true,
    "networkAllowed": false,
    "runtimeArtifactId": "reference-agent-runtime",
    "transcriptRequired": true
  },
  "status": "frozen",
  "tool": {
    "ambientAuthorityAllowed": false,
    "catalogArtifactId": "mcp-catalog-source",
    "completeTranscriptRequired": true,
    "interfaceId": "genesis/mcp-interface-v0.1",
    "operations": [
      "apply-patch",
      "build",
      "check",
      "diff",
      "explain",
      "format",
      "get-card",
      "package",
      "parse",
      "replay",
      "run",
      "search-symbol",
      "session-abort",
      "session-apply",
      "session-begin",
      "session-stage",
      "session-status",
      "session-test",
      "test",
      "verify"
    ],
    "protocolVersion": "2025-11-25"
  },
  "tracePolicy": {
    "allDecisionsRecorded": true,
    "allDiagnosticsRecorded": true,
    "allModelCallsRecorded": true,
    "allOutcomesRecorded": true,
    "allPatchesRecorded": true,
    "allRetrievalsRecorded": true,
    "allToolCallsRecorded": true,
    "redactionRule": "typed-marker-preserves-field-and-content-hash",
    "sequenceRule": "strictly-increasing-contiguous-events"
  },
  "transaction": {
    "applyRequiresVerifiedSnapshot": true,
    "directWritesAllowed": false,
    "integrityFailurePolicy": "terminal-abort",
    "mode": "content-addressed-semantic-session-v0.1",
    "operations": [
      "session-abort",
      "session-apply",
      "session-begin",
      "session-stage",
      "session-status",
      "session-test"
    ],
    "textFallbackAllowed": false
  },
  "version": "0.1.0"
}
