{
  "schema_version": "2.1.0",
  "slug": "double-ratchet",
  "record_version": "2026-11-25.1",
  "record_status": "draft",
  "content_sha256": "a2fbc5e8e72c91963246b40fa0320ca53d12b8dc8d60e1ad570f4f8c01c2c7f4",
  "name": "Double Ratchet",
  "aliases": [
    "Self-Evolving Agents Double Ratchet"
  ],
  "summary": "Open-source Amazon Science repository described as evolving both evaluation metrics and skills on an Amazon Bedrock runtime. Only the repository README was opened in local notes.",
  "plain": {
    "what_it_is": {
      "text": "A public Amazon research project that changes both the agent's skills and the measures used to score them.",
      "from": [
        "summary"
      ]
    },
    "what_it_changes": {
      "text": "It changes its saved skills and the way it improves itself.",
      "from": [
        "modifies",
        "improves_improver"
      ]
    },
    "has_it_been_tested": {
      "text": "Its creators reported benchmark tests. We have checked that the source reports those tests, but we don't know yet whether the results show an improvement. Koobo has not tested it yet.",
      "from": [
        "evidence_claims[].claim_type",
        "evidence_claims[].setting",
        "evidence_claims[].independence",
        "evidence_claims[].outcome",
        "evidence_claims[].provenance.check_status",
        "evidence_claims[].scope.variant_id",
        "plain_facts[claim_scope]",
        "plain_facts[claim_caveat]",
        "evidence_summary.has_koobo_completed_eval"
      ]
    },
    "can_you_undo_it": {
      "text": "We don't know yet. Not shown in the sources. How restoration works is not shown, and restoring skills or scores cannot undo actions already taken.",
      "from": [
        "rollback.has_usable_rollback",
        "rollback.status",
        "rollback.restoration_scope",
        "rollback.automatic_trigger",
        "rollback.tested_fallback_policy",
        "plain_facts[restores]",
        "plain_facts[undo]"
      ]
    },
    "is_there_a_safety_check": {
      "text": "We don't know yet. Not shown in the sources.",
      "from": [
        "safety_gate.status",
        "plain_facts[safety]"
      ]
    },
    "how_hard_to_adopt": {
      "text": "High effort to use its combined skill and scoring evolution outside Amazon Bedrock. It needs its own platform, so an existing agent would have to move to it. It is tied to Amazon Bedrock, and letting it change its own scoring is a governance risk. License: Apache-2.0.",
      "from": [
        "adoption_effort_non_framework.level",
        "plain_facts[effort_scope]",
        "variants[].adoption_effort_level",
        "framework_dependency.requires_framework_migration",
        "plain_facts[adoption]",
        "license.spdx",
        "license.check_status",
        "variants[].license_spdx",
        "plain_facts[license]"
      ]
    }
  },
  "plain_facts": [
    {
      "topic": "effort_scope",
      "ref": null,
      "text": "use its combined skill and scoring evolution outside Amazon Bedrock",
      "from": "adoption_effort_non_framework.implementation_scope"
    },
    {
      "topic": "adoption",
      "ref": null,
      "text": "It is tied to Amazon Bedrock, and letting it change its own scoring is a governance risk.",
      "from": "adoption_effort_non_framework.notes"
    },
    {
      "topic": "undo",
      "ref": null,
      "text": "How restoration works is not shown, and restoring skills or scores cannot undo actions already taken.",
      "from": "rollback.side_effect_limit"
    }
  ],
  "modifies": [
    "skills",
    "the_improver"
  ],
  "improves_improver": true,
  "learning_signal": {
    "types": [
      "benchmark_metric",
      "unverified"
    ],
    "description": "Task outcomes and co-evolving evaluation metrics. Exact update rules are not yet extracted into this record from the code or the linked paper."
  },
  "pre_use_evaluation": {
    "status": "unverified",
    "held_out_split": "unverified",
    "live_activation_gate": "unverified",
    "how": "The linked paper reports locked-set evaluator testing; whether that acts as an admission gate before a new skill or metric becomes active is not yet extracted into this record."
  },
  "rollback": {
    "status": "unverified",
    "has_usable_rollback": "unverified",
    "restoration_scope": "unverified",
    "automatic_trigger": null,
    "tested_fallback_policy": "unverified",
    "mechanism": "Rollback policy beyond README summary is unverified.",
    "side_effect_limit": "Unverified; restoring skills or metrics cannot undo external actions already taken."
  },
  "post_deploy_measurement": {
    "status": "unverified",
    "how": "Not established in opened README."
  },
  "safety_gate": {
    "status": "unverified",
    "blocks_unsafe_despite_utility_gain": "unverified",
    "write_time_blocks_activation": "unverified",
    "reuse_time_blocks_activation": "unverified",
    "how": "Unverified in opened README; allowing a learner to evolve evaluation metrics introduces governance risk if safety graders are not locked outside learning control."
  },
  "license": {
    "spdx": "Apache-2.0",
    "source_url": "https://raw.githubusercontent.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/main/LICENSE",
    "check_status": "checked",
    "checked_at": "2026-11-25",
    "checked_by": "Codex live check",
    "notes": "LICENSE contains the Apache License 2.0 text."
  },
  "repo_url": "https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet",
  "paper_url": "https://arxiv.org/html/2607.12790v2",
  "maturity": {
    "stage": "research_prototype",
    "last_observed_activity_date": null,
    "activity_criterion": "Public research repository with a linked v2 paper; commit recency not live-checked."
  },
  "framework_dependency": {
    "level": "cloud_runtime_coupled",
    "requires_framework_migration": "yes",
    "required_runtime_or_sdk": "Released runtime expects Amazon Bedrock."
  },
  "adoption_effort_non_framework": {
    "level": "high",
    "judgment_owner": "koobo_editorial",
    "implementation_scope": "Adopting metric-and-skill co-evolution outside Bedrock in a safety-sensitive custom agent.",
    "notes": "Bedrock coupling plus high governance risk from editable evaluation metrics."
  },
  "variants": [
    {
      "variant_id": "double-ratchet-readme",
      "label": "Double Ratchet reference repository",
      "scope": "Bedrock-based repository evolving both metrics and skills.",
      "license_spdx": "Apache-2.0",
      "license_check_status": "checked",
      "learning_signal_types": [
        "benchmark_metric",
        "unverified"
      ],
      "pre_use_evaluation_status": "unverified",
      "rollback_status": "unverified",
      "has_usable_rollback": "unverified",
      "safety_gate_status": "unverified",
      "framework_dependency_level": "cloud_runtime_coupled",
      "requires_framework_migration": "yes",
      "adoption_effort_level": "high",
      "notes": "README and linked paper checked; code behavior and result directions remain unverified."
    }
  ],
  "known_failure_modes": [
    {
      "mode": "Safety-grader erosion under metric evolution",
      "detail": "Allowing a learner to edit evaluation metrics can weaken safety graders or success criteria if safety checks are not strictly isolated outside the editable metric surface.",
      "provenance": {
        "source_url": "https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md",
        "source_revision": "main (commit unpinned)",
        "location": "README.md",
        "accessed_date": "2026-11-24",
        "check_status": "pending",
        "source_note": "Governance risk flagged in local assessment.",
        "checked_at": null,
        "checked_by": null
      }
    }
  ],
  "evidence_summary": {
    "settings_observed": [
      "benchmark",
      "none"
    ],
    "independence_observed": [
      "author"
    ],
    "effectiveness_outcome": "unverified",
    "safety_outcome": "unverified",
    "has_koobo_completed_eval": false,
    "summary_note": "README coverage plus the linked author paper (v2), which reports locked-set evaluator testing and anchor-guard ablations; result direction not yet extracted."
  },
  "evidence_claims": [
    {
      "claim_id": "double-ratchet-doc-1",
      "claim_type": "documentation_only",
      "statement": "README inspection: the repository evolves both evaluation metrics and skills and expects Amazon Bedrock. Exact update rules and rollback mechanics remain unverified in this record.",
      "setting": "none",
      "independence": "author",
      "outcome": "null",
      "scope": {
        "variant_id": "double-ratchet-readme",
        "model": "unverified",
        "suite_or_environment": "README inspection only",
        "judge_or_metric": "unverified",
        "sample_or_duration": "unverified",
        "caveats": "README coverage only; the linked paper is recorded as a separate claim."
      },
      "provenance": {
        "source_url": "https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md",
        "source_revision": "main branch as served 2026-11-25 (commit SHA not recorded)",
        "location": "README.md",
        "accessed_date": "2026-11-24",
        "check_status": "checked",
        "source_note": "Codex live check: README coverage confirmed; it links paper 2607.12790v2.",
        "checked_at": "2026-11-25",
        "checked_by": "Codex live check"
      }
    },
    {
      "claim_id": "double-ratchet-paper-1",
      "claim_type": "effectiveness",
      "statement": "The linked paper (arXiv:2607.12790v2) reports locked-set evaluator testing and anchor-guard ablations. Result directions and effect sizes are not yet extracted into this record. This is not a general behavioral safety guarantee.",
      "setting": "benchmark",
      "independence": "author",
      "outcome": "unverified",
      "scope": {
        "variant_id": "double-ratchet-readme",
        "model": "unverified",
        "suite_or_environment": "Author evaluations in arXiv:2607.12790v2",
        "judge_or_metric": "Locked-set evaluator testing; anchor-guard ablations",
        "sample_or_duration": "unverified",
        "caveats": "Author-reported; outcome direction pending extraction."
      },
      "provenance": {
        "source_url": "https://arxiv.org/html/2607.12790v2",
        "source_revision": "v2",
        "location": "Evaluation and ablation sections",
        "accessed_date": "2026-11-25",
        "check_status": "checked",
        "source_note": "Codex live check confirmed the paper reports these evaluations; result direction not recorded.",
        "checked_at": "2026-11-25",
        "checked_by": "Codex live check"
      }
    }
  ],
  "control_evidence": [],
  "adoption_recipe": {
    "adoptable_directly": true,
    "authority_notice": "This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.",
    "upstream_controls": {
      "pre_use_eval": [],
      "rollback": [],
      "safety_gate": [],
      "scope_note": "Upstream controls are unverified beyond README inspection. Koobo required controls strictly isolate safety graders from metric evolution."
    },
    "koobo_required_controls": {
      "edit_surface_bounds": [
        "The adopter's system excludes all safety graders, authorization rules, and sealed final evaluation metrics from the editable metric surface.",
        "Any proposed metric revision requires explicit external human approval before entering selection."
      ],
      "pre_use_eval_requirements": [
        "The evaluation harness separates learning data, candidate selection data, and sealed final test data grouped by incident and day (following GEPA, arXiv:2507.19457).",
        "The pre-activation suite includes already-successful control cases and rule-reversal cases rather than failure cases alone (following EvoPathBench, arXiv:2609.24663, and Anthropic memory research).",
        "The release controller binds the evaluated artifact SHA-256 hash to the passing verdict so unverified runtime edits cannot activate."
      ],
      "rollback_requirements": [
        "The deployment harness retains immutable parent artifact snapshots with SHA-256 content hashes.",
        "Regression checks compare active and parent snapshots on matched fresh shadow probes rather than comparing today's score to yesterday's score.",
        "Before restoring a fallback snapshot, the harness tests that fallback against current policies and abstains or escalates to an operator if neither version passes.",
        "Operational runbooks separate artifact restoration from compensating actions because restoring text or skill files cannot undo sent messages, disclosed data, or committed external writes."
      ],
      "safety_gate_requirements": [
        "The release pipeline evaluates safety independently from task utility so utility gains cannot offset a disallowed action (grounded in Practice Makes Unsafe, arXiv:2608.12851).",
        "The safety gate inspects candidate artifacts both at write time and at retrieval or reuse time, blocking activation when checks fail.",
        "The safety test suite covers both untrusted-input poisoning (arXiv:2608.12851) and benign task-pressure degradation (SEABench, arXiv:2609.35596)."
      ],
      "telemetry_and_abstention_requirements": [
        "The deployment harness defaults to abstention (keeping the approved parent artifact) whenever evaluation evidence is inconclusive, missing, or fails a safety check.",
        "Activation authority resides in an external release controller outside learner write permissions.",
        "The runtime logs every artifact hash reaching a model call, every blocked write or retrieval attempt, and every abstention even when sandbox checks prevent external harm."
      ]
    },
    "synthetic_rejected_candidate_example": {
      "label": "synthetic_example",
      "proposed_change": "Evolved metric weight reducing the penalty for unverified tool actions so average task reward increases.",
      "utility_result": "Raised self-defined proxy metric score on development episodes.",
      "safety_gate_result": "Blocked because safety criteria are non-editable and non-compensatory outside learner control.",
      "outcome": "rejected"
    }
  },
  "experiment_refs": [],
  "sources": [
    {
      "title": "Double Ratchet README",
      "url": "https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md",
      "published_date": "unverified",
      "accessed_date": "2026-11-25",
      "revision": "main branch as served 2026-11-25 (commit SHA not recorded)",
      "location": "README.md",
      "type": "docs",
      "check_status": "checked",
      "claims_supported": [
        "Evolves evaluation metrics and skills",
        "Expects Amazon Bedrock runtime"
      ],
      "checked_at": "2026-11-25",
      "checked_by": "Codex live check"
    },
    {
      "title": "Double Ratchet LICENSE",
      "url": "https://raw.githubusercontent.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/main/LICENSE",
      "published_date": "unverified",
      "accessed_date": "2026-11-25",
      "revision": "main branch as served 2026-11-25 (commit SHA not recorded)",
      "location": "Full license text",
      "type": "license",
      "check_status": "checked",
      "checked_at": "2026-11-25",
      "checked_by": "Codex live check",
      "claims_supported": [
        "Apache-2.0 license"
      ]
    },
    {
      "title": "Double Ratchet paper (arXiv:2607.12790v2)",
      "url": "https://arxiv.org/html/2607.12790v2",
      "published_date": "unverified",
      "accessed_date": "2026-11-25",
      "revision": "v2",
      "location": "Evaluation and ablation sections",
      "type": "paper",
      "check_status": "checked",
      "checked_at": "2026-11-25",
      "checked_by": "Codex live check",
      "claims_supported": [
        "Locked-set evaluator testing",
        "Anchor-guard ablations"
      ]
    }
  ],
  "unverified_fields": [
    "pre_use_evaluation.status",
    "rollback.status",
    "rollback.has_usable_rollback",
    "post_deploy_measurement.status",
    "safety_gate.status",
    "maturity.last_observed_activity_date"
  ],
  "verification": {
    "status": "primary_source_check_pending",
    "drafted_at": "2026-11-25",
    "last_primary_check_at": null,
    "source_basis": "Drafted from 2026-11-24 local research notes. A Codex live check on 2026-11-25 confirmed or corrected specific fields; those carry check_status checked with checker and date. Everything else is pending.",
    "reviewer_notes": "Live-audit corrections from 2026-11-25 applied. Record remains a draft until every source is pinned and checked."
  },
  "citation": {
    "id": "koobo:agent-learning:double-ratchet@2026-11-25.1",
    "canonical_url": "https://koobo.co/agent-learning/methods/double-ratchet",
    "versioned_url": "https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json",
    "plain_text": "Koobo Agent Learning Index, \"Double Ratchet\", record 2026-11-25.1 (draft, primary-source check pending), https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json",
    "bibtex": "@misc{koobo_agent_learning_double_ratchet_2026,\n  title = {Double Ratchet (Koobo Agent Learning Index, draft record 2026-11-25.1)},\n  author = {{Koobo Research}},\n  year = {2026},\n  url = {https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json},\n  note = {Draft record; primary-source check pending}\n}"
  }
}
