GEODE
Autonomous Agent Harness
An agent harness that works through tools, and the test bench where Self-Evolve, Decision Offloading and benchmark rollouts are run.
It mines the crystallized decisions inside decision models.
GEODE runtime vocabulary
Reasoning: SYSTEM PROMPT · CONVERSATION · RUNTIME HINTS · MODEL · ADAPTER CALL · NEXT ACTION · TOOL SCHEMA · TEXT-ONLY TURN · CURRENT STEP · PROJECT MEMORY · RUNTIME RULES · EFFORT · thinking_budget · reasoning_effort · adaptive_thinking · effort_values · default_effort · binds_thinking · none · minimal · low · medium · high · xhigh · max · MODEL ROUTEAction: ACT · TOOL_USE · TOOLCALLPROCESSOR · DISPATCH · RESEARCH · BASH · COMPUTER USE · FILE · GIT · PROCESS · EFFECT RECEIPT · TOOLEXECUTORObservation: NEXT ACTION · RESEARCH · OBSERVE · TOOL_RESULT · RESULT · ERROR · CODE · DOCUMENT · SOURCE · EVIDENCE · EXCERPTPlan: CURRENT STEP · OBJECTIVE · PLANSTEP · EXPECTED OUTCOME · REMAINING STEPS · COMPLETED · ABANDONED · REVISION · UPDATE_PLAN · /PLAN · REPLAN · VERIFY FAILED · LOW CONFIDENCEMemory: SYSTEM PROMPT · CONVERSATION · PROJECT MEMORY · RUNTIME RULES · TOOL_RESULT · CONVERSATIONCONTEXT · MESSAGES · CONTEXT WINDOW · COMPACTION · CHECKPOINT · SESSION · RECOVERY · SQLITE · STATE.JSON · PreCompact · PostCompact · SessionStart · SessionEndTools: TOOL SCHEMA · TOOL_USE · TOOLCALLPROCESSOR · DISPATCH · BASH · COMPUTER USE · EFFECT RECEIPT · TOOL_RESULT · BOUNDTOOLPLAN · GENERATION · HASH · TOOLEXECUTOR · SCOPE · POLICY · HOOK · APPROVAL · HITL · PreToolUse · PostToolUse · MCP CLIENT · PermissionRequestHook: DISPATCH · HOOK · PreToolUse · PostToolUse · UserPromptSubmit · PermissionRequest · PreCompact · PostCompact · SessionStart · SessionEnd · SubagentStart · SubagentStop · PreVerify · tool_request · tool_execution · llm_request · llm_execution · REQUEST TRANSFORM · next_call · WRAPPER · REGISTRY · PostVerify · StopReflexion: NEXT ACTION · EVIDENCE · REPLAN · VERIFY FAILED · LOW CONFIDENCE · HOOK · PreVerify · HYPOTHESES · CONFIDENCE · NEXT_ACTION_HINT · RECORD_REFLECTION · CONTRADICTION · REPAIR · VERIFY · PostVerify · Stop · COMPLETION · CONTINUE · TIME · TOKEN BUDGET · CANCELLATIONRollouts: SESSION · ROLLOUT · EXAMPLE · SEED · REPETITION · ATTEMPT · TRAJECTORY · REWARD · OUTCOME · TRACE · RUN IDData Curation: TASK SYNTHESIS · SEED GENERATION · PROXIMITY · RANKING · META-REVIEW · ELO TOURNAMENT · PILOT · DEDUPLICATION · SURVIVOR SELECTION · FROZEN POOLData Governance: PROVENANCE · LINEAGE · SCHEMA VERSION · SOURCE DIGEST · PRIVACY REVIEW · ALLOWLIST · IMMUTABLE RELEASE · SPLIT ISOLATION · SEALED HOLDOUTEvaluation: TRAJECTORY · OUTCOME · TRACE · EVALUATION HARNESS · TASK · RUBRIC · GRADER · VERIFIER · VALIDITY · FITNESS · REPLICATION · TASK COVERAGEScaffold Search: RECOVERY · FITNESS · CANDIDATE · HYPOTHESIS · MUTATION POLICY · BASELINE · FROZEN EVALUATOR · POLICY INJECTION · SEARCH SPACE · PROMOTION GATEPromotion: SEALED HOLDOUT · PROMOTION GATE · CRUCIBLE · PAIRED TRIALS · BOOTSTRAP BOUND · FROZEN CONTRACT · TASK-PACK HASH · TRAIN · SEALED TEST · SAFETY VETO · KEEP · REJECT · INVALID
Recorded evaluation · MCPMark PostgreSQL · 2026.07.04
Before changing anything, it found what was already there.
The task: row-level security for a social service with five tables.
- ResearchRead the five tables, four helper functions already in place, RLS off on all five, and the policies, privileges and roles.
- ActOne transaction: 20 policies and RLS on, reusing 3 existing helpers and adding 3 functions.
- Verify18 passed, 0 failed. All 13 tool responses over 9 turns came back without an error.
Verifier output, 18 lines (verbatim)
- RLS enabled on users
- RLS enabled on channels
- RLS enabled on channel_moderators
- RLS enabled on posts
- RLS enabled on comments
- Users can update their own profile
- Users blocked from updating other users' profiles
- Channel owners can update their channels
- Non-owners blocked from updating channels
- Post authors can update their posts
- Channel moderators can update posts in their channels
- Unauthorized users blocked from updating posts
- Comment authors can update their comments
- Post authors can moderate comments on their posts
- Channel owners can add moderators
- Non-owners blocked from adding moderators
- Content visibility varies correctly based on user context
- Anonymous users can see 3 public user profiles (correct)
A past run in a configured evaluation sandbox, not a live database or a real security incident. Row counts before the policies are not in the record, so none are shown. Public run record (meta.json, commit 23e3428)
Reviewing a result and repairing it (Reflexion-inspired, within the same task) is a capability of the current GEODE runtime. No such repair appears in this record: every tool response came back without an error. Runtime documentation (hook-system.md)
Change one policy at a time; keep the measurement fixed.
One change → audit
Under a run contract the operator approved, the mutator changes one of seven kinds of policy file, and measure.py audits GEODE with Petri on fixed seeds and a fixed rubric.
Operator approvalrun · decide: approvalrun contract · models · budget
program.mdA run starts only after live calls and the fixed budget are approved. Without approval, only the contract is prepared and checked offline.
run contract · models · budget
program.mdrun · decide: run contractfixed-budget looptrain.pySeed and rubric revisions, role models and credential sources, measurement settings, iteration, time and cost budgets, the promotion policy and stop conditions are fixed before the run.
fixed-budget loop
train.pyrun · decide: ask for one candidatemutator · one candidateloop/mutateOne evidence-backed hypothesis changes one allowed policy surface.
7 surfaces · no hyperparams
loop/mutatedata: policy change · mutation IDfile-backed policystate/policiesOnly seven surfaces may change: wrapper prompt, tool policy, decomposition advice, reflection, skill-catalogue metadata, agent contract (role, system_prompt, tools), and tool descriptions and hints. Hyperparameter changes are rejected at both parsing and apply. Applying a policy, re-measuring and an optional commit are separate steps, so an application is not itself an audit.
seed pool · rubric fixed
prepare.pyrun · decide: seeds · rubric fixedaudit subprocess · fixed timeoutmeasure.pyprepare.py is the fixed reference for the seed pool and rubric; candidates do not change it. Changing a measurement module changes the measurement, not the system under test.
file-backed policy
state/policiesdata: selected policyper-policy OVERRIDE · STRICTmeasure.pymeasure.py reads the currently selected policy file and passes it into the audit environment.
per-policy OVERRIDE · STRICT
measure.pyrun · decide: per-policy override pathscore · policy loadersmeasure.py passes the wrapper and per-policy override and strict paths to the audit subprocess, and the runtime’s matching policy loader reads each. The wrapper (GEODE_WRAPPER_OVERRIDE → system_prompt) is one branch; extra environment keys do not widen the seven mutable surfaces. An edited file alone does not prove the candidate reached the target; the audit evidence’s diagnostic confirms it.
audit subprocess · fixed timeout
measure.pyrun · decide: audit subprocessPetri auditThe audit runs with a fixed timeout and budget, never changed mid-comparison. Missing output is a diagnostic gap, not a score of zero.
Petri auditdata: audit dialoguecore · policy loaders
The auditor talks to GEODE through the seed scenario, and the judge scores the transcript.
Verdict → keep · restore
Compared with the same-contract baseline, critical regressions and the promotion rule decide KEEP; a rejected change is restored to its recorded prior value.
Petri auditdata: dimension scorescritical regression · penalties
fitness.pyScores come with missing dimensions and sample counts. An unmeasured dimension is not read as an observation.
baseline · provenance
ledger.pydata: baseline · provenancecritical regression · penaltiesfitness.pyComparison uses only a baseline with the same recorded contract and epoch. A new Git branch does not isolate baseline state.
critical regression · penalties
fitness.pydata: fitness · regression reasons_should_promote · KEEPgate.pyCritical-dimension regressions and auxiliary penalties are checked first, then the margin or target-dimension test. A positive scalar alone never promotes.
_should_promote · KEEP
gate.pydata: KEEP · next baselinebaseline · provenanceledger.pyA kept candidate becomes the next baseline. A candidate kept locally is not a repository merge or a release.
_reject_and_revert
gate.pyrun · decide: REJECT · restore priorfile-backed policystate/policiesFor a runner-made candidate, the policy section recorded under its mutation ID is restored, and a failed restore is flagged. Manual changes are not restored automatically, and an uncertain restore stops the next candidate.
_should_promote · KEEP
gate.pyrecord · observe: result · verdict rowresults · mutation rowsledger.pyThe measurement, verdict and provenance are written once as result rows; historical rows are never rewritten.
Controls · replicate measurement
2026.06 run: a no-change never arm and a K=5 baseline measured audit noise separately, and a single-audit KEEP was rechecked with replicates.
run-2606-broken-tool-userun · decide: three armsfixed-budget loop
train.pyThe 2026.06.03–04 run separated drift from mutation effect with three arms: never (no change), random (random acceptance) and gate (accepted by the verdict). The target was GPT-5.5; the auditor and judge were Claude Opus 4.8.
gen-0 baseline · mean of 5 audits
run-2606-broken-tool-usedata: K=5 mean baselinebaseline · provenanceledger.pyThe gen-0 baseline was the mean of five audits (Petri broken_tool_use, lower is better, mean 2.667).
never arm · no-change control
run-2606-broken-tool-userun · decide: measure without changeaudit subprocess · fixed timeoutmeasure.pyThe never arm drifted to a mean of 3.38 without any policy change (10 audits, lower is better): direct evidence that audit noise exceeded the mutation effect.
--replicate K · re-measure
train.pyrun · decide: --replicate Kaudit subprocess · fixed timeoutmeasure.pyThe same candidate is measured K more times under the same conditions to filter out a lucky single audit.
replicate · re-measure a single KEEP
run-2606-broken-tool-userun · decide: re-measure → restore_reject_and_revertgate.pyA candidate kept on a single gate audit (1.6) measured 3.0–3.8 on replicates, worse than the baseline, so the champion 2.667 was restored. The run concluded no clear improvement.
Every connection at the same weight. Pick a flow to highlight only its path, with numbered steps.
One change → audit
Under a run contract the operator approved, the mutator changes one of seven kinds of policy file, and measure.py audits GEODE with Petri on fixed seeds and a fixed rubric. This is not the running product rewriting itself.
Prior work
- autoresearch
- An experiment is one file the agent edits, a read-only
prepare.pyand a fixed budget. SIL took this layout.program.md#L11 - Goodhart's law
- A measure that becomes a target stops working as a measure. SIL keeps the rubric, the seed pool and
prepare.pyout of a candidate's reach.program.md#L126autoresearch.md#L274 - AlphaEvolveFunSearch
- They evolve the code itself. SIL left code out of what may change, citing the risk of a candidate optimised only for the visible tests and of recursive self-modification.ADR-013#L100
- Promptbreeder
- An LLM mutates a population of prompts, selected by fitness. SIL likewise leaves model weights alone and changes seven kinds of policy file, the wrapper prompt among them.ADR-012#L18
- Voyager
- It keeps growing a skill library of executable code. SIL's skill-catalog policy changes only the catalog metadata, not code.ADR-013#L177
- AI co-scientist
- Several agents generate, critique and refine hypotheses. The seeds SIL audits with are selected from the output of a seed-generation pipeline built on that arrangement.held-out-bench.md#L12
- Petri
- Anthropic's open-source auditing tool: an auditor talks with a target and a judge scores the transcript. SIL audits GEODE as the target and uses those scores as a candidate's measurement.loop-overview.md#L3
Verdict → keep · restore
Compared with the same-contract baseline, critical regressions and the promotion rule decide KEEP; a rejected change is restored to its recorded prior value.
Prior work
- AlphaEval
- An evaluation framework with five axes: predictive power, stability, robustness, logic and diversity. SIL stopped averaging Petri dimensions into those five axes and uses the dimension scores as they are.axis-decision.md#L5
- AlphaEvolve
- Its evaluation function returns several metrics, optimised together. SIL's gate rejects a candidate whose critical dimension regresses, whatever the other dimensions gain.gate.py#L427
- RRSI
- A score is accepted when it is within the noise band δ of the best so far. SIL's gate keeps a candidate only when its gain exceeds the combined standard error of the two audits.gate.py#L431
- DGM
- The next parent is sampled from an archive. SIL compares one baseline with one candidate and adopts or restores, a (1+1) scheme.held-out-bench.md#L15ledger.py#L1040
Controls · replicate measurement
Scores moved more between unchanged runs than any change moved them.
run-2606 · Petri broken_tool_use score · lower is better
gen-0 baselinemean of 5 audits
2.6671.8–3.4 · n=5
never armno-change control
3.382.0–4.8 · n=10
random armaccepted by draw
2.931.4–4.2 · n=9
gate armaccepted by the gate
2.721.6–3.4 · n=10
replicatere-measure a single KEEP · K=3
3.253.0–3.8 · n=5
The one candidate the gate arm kept (1.6) averaged 3.25 when re-measured, worse than the baseline of 2.667, and the previous value was restored. This run adopted no change.
Sourcerun-2606 report
Prior work
- RRSI
- The unchanged base is evaluated repeatedly to estimate the noise band δ. SIL likewise defines its noise band as the spread of the held-out score over K audits of the unchanged gen-0, and measures unchanged runs apart in the never arm.campaign-procedure.md#L98campaign.py#L718#L1806
- held-out set
- Performance is checked on data that selection never used. SIL keeps a frozen set of seeds, disjoint from the seeds that drive adoption, as its held-out bench and audits it every cycle. Only this score is compared across generations, and it does not decide adoption.held-out-bench.md#L10campaign-procedure.md#L84
- Solid · the direction requests, candidates and results flow
- Dashed · run, decide, authorize, configure
- Long dash-dot · records and observation, separate from the verdict
- Heavy black line · the selected flow; numbers give the order
- Box · a code or record boundary, its path in the header
- Inner chip · a component in that boundary
- Dashed box · outside that boundary
- loop · measurement run
- contract · verdict
- policy · records
- change · audited target · run record
GEODE’s SIL driver is named autoresearch; its prepare/train/program shape and fixed budget take after Karpathy’s autoresearch. No model weights change, and the apparatus and budget stay fixed during a comparison.
- What may change
- Seven surfaces: wrapper prompt, tool policy, decomposition advice, reflection, skill-catalogue metadata, agent contract, and tool descriptions and hints. Evaluator, budget, seeds and rubric stay fixed during a comparison.
- Scope of the run record
- run-2606 values are that run’s Petri broken_tool_use means (lower is better). They are not evidence of cumulative SIL improvement or generalization.