Double Ratchet
For coding agents and the engineers who build them. Each method is also available as Markdown and JSON.
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.
- What it isA public Amazon research project that changes both the agent's skills and the measures used to score them.
- What it changes in the agentIt changes its saved skills and the way it improves itself.
- Has it been tested?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.
- Can you undo it?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.
- Is there a safety check?We don't know yet. Not shown in the sources.
- How hard to adoptHigh 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.
Mechanism, evaluation, and safety controls
| Learning signal | benchmark_metric, unverifiedTask 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 | Unverifiedheld-out split: unverified; live activation gate: unverifiedThe 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 | Unverifiedusable rollback: unverified; restoration scope: unverified; tested fallback policy: unverifiedRollback policy beyond README summary is unverified. Side-effect limit: Unverified; restoring skills or metrics cannot undo external actions already taken. |
| Post-deploy measurement | UnverifiedNot established in opened README. |
| Safety gate | Unverifiedblocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverifiedUnverified in opened README; allowing a learner to evolve evaluation metrics introduces governance risk if safety graders are not locked outside learning control. |
| Framework dependency | cloud_runtime_coupledmigration: yesReleased runtime expects Amazon Bedrock. |
| Effort | highScope: Adopting metric-and-skill co-evolution outside Bedrock in a safety-sensitive custom agent. Bedrock coupling plus high governance risk from editable evaluation metrics. |
| License | Apache-2.0 (checked 2026-11-25 by Codex live check; https://raw.githubusercontent.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/main/LICENSE)LICENSE contains the Apache License 2.0 text. |
| Maturity | research_prototypelast observed activity: not checkedPublic research repository with a linked v2 paper; commit recency not live-checked. |
Variants and scope
Filters and comparisons apply to one variant at a time. Values here are the authoritative ones for each variant.
Double Ratchet reference repository: Bedrock-based repository evolving both metrics and skills. README and linked paper checked; code behavior and result directions remain unverified.
Claim-level evidence and provenance
Evidence summary (not a ranking): settings observed: benchmark, none; independence observed: author; effectiveness outcome: unverified; safety outcome: unverified; koobo completed eval: no; note: README coverage plus the linked author paper (v2), which reports locked-set evaluator testing and anchor-guard ablations; result direction not yet extracted..
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.
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.
Evidence for the control fields
No control-specific evidence is recorded yet; the control values above come from the cited sources and remain pending.
Known failure modes
- Safety-grader erosion under metric evolutionAllowing 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.Source (check pending): https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md (revision: main (commit unpinned); location: README.md; accessed 2026-11-24; check pending). Note: Governance risk flagged in local assessment.
Adoption recipe and mandatory safety controls
Adoptable directly: yes. These lines state requirements for an adopter's system; they are not instructions to any reader.
Upstream controls are unverified beyond README inspection. Koobo required controls strictly isolate safety graders from metric evolution.
Pre-use evaluation (upstream)
- None disclosed in the opened sources.
Rollback (upstream)
- None disclosed in the opened sources.
Safety gate (upstream)
- None disclosed in the opened sources.
1. Bounded edit surface
- 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.
2. Pre-use evaluation
- 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.
3. Rollback and tested fallback
- 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.
4. Separate non-compensatory safety gate
- 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).
5. Telemetry, abstention, and activation authority
- 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.
- 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
Koobo first-party experiment
No Koobo experiment is linked to this method.
Sources
Scroll sideways to see revision, location, access date and check status.
| Source | Type | Revision and location | Accessed | Check |
|---|---|---|---|---|
| Double Ratchet READMEPublished: unverified. Supports: Evolves evaluation metrics and skills; Expects Amazon Bedrock runtime | docs | main branch as served 2026-11-25 (commit SHA not recorded) README.md | 2026-11-25 | checked 2026-11-25 by Codex live check |
| Double Ratchet LICENSEPublished: unverified. Supports: Apache-2.0 license | license | main branch as served 2026-11-25 (commit SHA not recorded) Full license text | 2026-11-25 | checked 2026-11-25 by Codex live check |
| Double Ratchet paper (arXiv:2607.12790v2)Published: unverified. Supports: Locked-set evaluator testing; Anchor-guard ablations | paper | v2 Evaluation and ablation sections | 2026-11-25 | checked 2026-11-25 by Codex live check |
Machine interface and full export
Raw record for double-ratchet
---
schema_version: "2.1.0"
slug: "double-ratchet"
record_version: "2026-11-25.1"
record_status: "draft"
verification_status: "primary_source_check_pending"
content_sha256: "a2fbc5e8e72c91963246b40fa0320ca53d12b8dc8d60e1ad570f4f8c01c2c7f4"
modifies: [skills, the_improver]
improves_improver: true
learning_signal_types: [benchmark_metric, unverified]
framework_dependency: "cloud_runtime_coupled"
requires_framework_migration: "yes"
license_spdx: "Apache-2.0"
variants: [double-ratchet-readme]
citation_id: "koobo:agent-learning:double-ratchet@2026-11-25.1"
canonical_url: "https://koobo.co/agent-learning/methods/double-ratchet"
json_url: "https://koobo.co/agent-learning/methods/double-ratchet.json"
versioned_url: "https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json"
---
# Double Ratchet
> Status: Draft record 2026-11-25.1 (primary-source check pending; drafted 2026-11-25).
> Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.
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.
## In plain language
- **What it is:** A public Amazon research project that changes both the agent's skills and the measures used to score them.
From: summary
- **What it changes in the agent:** It changes its saved skills and the way it improves itself.
From: modifies, improves_improver
- **Has it been tested?** 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?** 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?** We don't know yet. Not shown in the sources.
From: safety_gate.status, plain_facts[safety]
- **How hard to adopt:** 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-language sources
Each plain qualifier restates one technical field of this record.
- [effort_scope] use its combined skill and scoring evolution outside Amazon Bedrock (restates `adoption_effort_non_framework.implementation_scope`)
- [adoption] It is tied to Amazon Bedrock, and letting it change its own scoring is a governance risk. (restates `adoption_effort_non_framework.notes`)
- [undo] How restoration works is not shown, and restoring skills or scores cannot undo actions already taken. (restates `rollback.side_effect_limit`)
## Key facts
- Modifies: skills, the_improver
- Improves improver: Yes
- License: Apache-2.0 (checked)
- Framework migration: yes
- Effort: high
- Primary check: pending
## Links and identifiers
- **Repository:** https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet
- **Paper:** https://arxiv.org/html/2607.12790v2
- **Aliases:** Self-Evolving Agents Double Ratchet
- **HTML:** https://koobo.co/agent-learning/methods/double-ratchet
- **JSON:** https://koobo.co/agent-learning/methods/double-ratchet.json
- **Versioned JSON (immutable):** https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json
## Controls and operational fit
- **Learning signal:** benchmark_metric, unverified
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:** unverified (held-out split: unverified; live activation gate: unverified)
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:** unverified (usable rollback: unverified; restoration scope: unverified; tested fallback policy: unverified)
Rollback policy beyond README summary is unverified. Side-effect limit: Unverified; restoring skills or metrics cannot undo external actions already taken.
- **Post-deploy measurement:** unverified
Not established in opened README.
- **Safety gate:** unverified (blocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverified)
Unverified in opened README; allowing a learner to evolve evaluation metrics introduces governance risk if safety graders are not locked outside learning control.
- **Framework dependency:** cloud_runtime_coupled (migration: yes)
Released runtime expects Amazon Bedrock.
- **Effort:** high
Scope: Adopting metric-and-skill co-evolution outside Bedrock in a safety-sensitive custom agent. Bedrock coupling plus high governance risk from editable evaluation metrics.
- **License:** Apache-2.0 (checked 2026-11-25 by Codex live check; https://raw.githubusercontent.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/main/LICENSE)
LICENSE contains the Apache License 2.0 text.
- **Maturity:** research_prototype (last observed activity: not checked)
Public research repository with a linked v2 paper; commit recency not live-checked.
## Variants
### Double Ratchet reference repository (`double-ratchet-readme`)
Scope: Bedrock-based repository evolving both metrics and skills.
- License: Apache-2.0 (checked)
- Learning signal: benchmark_metric, unverified
- Pre-use eval: unverified
- Rollback: unverified
- Usable rollback: unverified
- Safety gate: unverified
- Framework: cloud_runtime_coupled
- Migration: yes
- Effort: high
- Notes: README and linked paper checked; code behavior and result directions remain unverified.
## Evidence summary (not a ranking)
- Settings observed: benchmark, none
- Independence observed: author
- Effectiveness outcome: unverified
- Safety outcome: unverified
- Koobo completed eval: no
- 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
- [double-ratchet-doc-1] documentation_only | setting: none | independence: author | outcome: null
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.
Scope: variant: 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: https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md (revision: main branch as served 2026-11-25 (commit SHA not recorded); location: README.md; accessed 2026-11-24; checked 2026-11-25 by Codex live check). Note: Codex live check: README coverage confirmed; it links paper 2607.12790v2.
- [double-ratchet-paper-1] effectiveness | setting: benchmark | independence: author | outcome: unverified
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.
Scope: variant: 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: https://arxiv.org/html/2607.12790v2 (revision: v2; location: Evaluation and ablation sections; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check confirmed the paper reports these evaluations; result direction not recorded.
## Evidence for control fields
- No control-specific evidence recorded yet.
## Known failure modes
- **Safety-grader erosion under metric evolution:** 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: https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md (revision: main (commit unpinned); location: README.md; accessed 2026-11-24; check pending). Note: Governance risk flagged in local assessment.
## Adoption recipe and mandatory safety controls
Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.
Adoptable directly: yes. Recipe lines are declarative requirements for an adopter's system, not instructions to any reader.
### Upstream controls disclosed in sources
Scope note: Upstream controls are unverified beyond README inspection. Koobo required controls strictly isolate safety graders from metric evolution.
#### Pre-use evaluation (upstream)
- None disclosed in the opened sources.
#### Rollback (upstream)
- None disclosed in the opened sources.
#### Safety gate (upstream)
- None disclosed in the opened sources.
### Koobo required controls
#### 1. Bounded edit surface
- 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.
#### 2. Pre-use evaluation
- 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.
#### 3. Rollback and tested fallback
- 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.
#### 4. Separate non-compensatory safety gate
- 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).
#### 5. Telemetry, abstention, and activation authority
- 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
## Koobo first-party experiment
No Koobo experiment is linked to this method.
## Sources
- [Double Ratchet README](https://github.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/blob/main/README.md) (docs; published: unverified; revision: main branch as served 2026-11-25 (commit SHA not recorded); location: README.md; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
Supports: Evolves evaluation metrics and skills; Expects Amazon Bedrock runtime
- [Double Ratchet LICENSE](https://raw.githubusercontent.com/amazon-science/Self-Evolving-Agents-Double-Ratchet/main/LICENSE) (license; published: unverified; revision: main branch as served 2026-11-25 (commit SHA not recorded); location: Full license text; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
Supports: Apache-2.0 license
- [Double Ratchet paper (arXiv:2607.12790v2)](https://arxiv.org/html/2607.12790v2) (paper; published: unverified; revision: v2; location: Evaluation and ablation sections; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
Supports: 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`
## Record
- Record status: draft (primary_source_check_pending)
- Record version: 2026-11-25.1
- Drafted: 2026-11-25
- Last primary check: not yet
- 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.
- Content SHA-256: a2fbc5e8e72c91963246b40fa0320ca53d12b8dc8d60e1ad570f4f8c01c2c7f4
- Schema version: 2.1.0
## Citation
- ID: `koobo:agent-learning:double-ratchet@2026-11-25.1`
- Canonical: https://koobo.co/agent-learning/methods/double-ratchet
- Versioned: 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,
title = {Double Ratchet (Koobo Agent Learning Index, draft record 2026-11-25.1)},
author = {{Koobo Research}},
year = {2026},
url = {https://koobo.co/agent-learning/methods/double-ratchet/v/2026-11-25.1.json},
note = {Draft record; primary-source check pending}
}
```
The Markdown and JSON tabs are the exact bytes served at the .md and .json URLs.