Skip to content

AGN-01: stage research agonist skill and offline taste-to-world gym - #50

Merged
patrickdugan merged 9 commits into
masterfrom
research/agonist01-taste-to-world-20261123
Nov 23, 2026
Merged

patrickdugan merged 9 commits into
masterfrom
research/agonist01-taste-to-world-20261123

Conversation

@patrickdugan

Copy link
Copy Markdown
Collaborator

AGN-01: DataGoblin as a research agonist

Create an isolated `Agonist/` folder with a taste-to-world skill, an offline deterministic storyworld gym, example taste seeds, independent exact oracle, source-root custody and replayable receipts.

Scope

  • Human-supplied research taste becomes a bounded, source-attributed local Inkling builder request.
  • Each candidate reply contains two fictional executable worlds with unchanged scene/surface cue and one changed causal prerequisite. The verifier requires the optimal action to flip.
  • Store public worlds separately from the exact verifier receipts. Emit two train-only candidate views per eligible root, marked `training_ready=false`.
  • Preserve invalid teacher replies and immutable input/artifact hashes.
  • The fixture is wiring-only: no model, GPU, server, paid fallback, repository source copying, or learner-improvement claim.
  • Default context cap 12,288; hard maximum 16,384. An actual llama.cpp worker must independently preflight revision, quant, template, tokens and sampler settings before dispatch.

Reproduce (offline)

python -m Agonist.gym demo --tastes Agonist/fixtures/tastes.jsonl --out runs/agonist01/fixture
python -m Agonist.gym replay --archive runs/agonist01/fixture/archive
python -m pytest tests/unit/test_agonist_gym.py
ruff check Agonist tests/unit/test_agonist_gym.py

Next scientific gate

Collect 50 independent taste families. At matched provider, verifier and student budgets, compare a learned DG selection policy against fixed and random curation, using held-out student uplift by source root. Connect an opt-in resident llama.cpp adapter after tokenization and scheduling preflight. Preserve EvalMath independent root and sealed-family discipline.

Draft until isolated CPU CI and archive replay pass.

Copy link
Copy Markdown
Collaborator Author

SCOUT-01 integration handoff: EvalMath draft PR #65 now supplies an exact information-purchase game, source-root posterior, two-stage scout action, five development roots, 12 diagnostic cases and a reproducible source-hashed verifier receipt.

AGN-01 schema boundary: Keep the current datagoblin.agonist01.v1 deploy/hold world pair and verify_pair unchanged. Agonist/gym.py currently requires exactly the four state keys and a single prerequisite flip; injecting a scout field into that v1 contract would misclassify both transitions and counterfactuals. An opt-in versioned adapter (e.g. datagoblin.scout01.v1) should handle SCOUT-01 separately.

Adapter contract:

  • Pass only SCOUT-01 public_task(world) to the actor: report ancestry IDs, prior, cost, scout fidelity, legal actions. The root ID, private_grade, oracle values, hidden route and outcomes remain in the grader.
  • If the actor selects scout, consume a turn and declared cost, sample one new conditionally independent scout report, expose that report, then allow the final route commitment. Score the original first decision by exact expected regret; track actual realized reward separately.
  • Preserve family_id, canonical source root, split and lineage across videogame/storyworld/cooperative renderers and all play/revise/hold-steady/repair variants. The eight development views belong to only two root clusters; the full fixture has five roots. Follow AGN-01's four-view curriculum cap and leave training_ready=false.
  • Preflight weak-policy traps before increasing generation volume: cue-following, always-scout, always-commit and double-counted relays. The same superficial three reports change optimal action when their source ancestry changes, while a cosmetic cue edit preserves values.
  • Run future 50-family student-uplift tests with matched initialization, student tokens, verifier calls and provider costs. Use independent held-out families and separately metered Astra/Fable advisory critique; SCOUT-01's current fixture is unsealed PILOT_ONLY.

The SCOUT-01 repo code and integration note are available for a separately scoped AGN-02 implementation after the EvalMath draft's CI gate.

@patrickdugan
patrickdugan marked this pull request as ready for review November 23, 2026 13:20
@patrickdugan
patrickdugan merged commit c7ae913 into master Nov 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant