Repository navigation
Open
Labels
blockedBlocked on an upstream gate or dependencyBlocked on an upstream gate or dependencybugSomething isn't workingSomething isn't working
Description
Problem
Three CybORG evidence tags cite a source-ledger row that does not cover their datum, and the reproduce bundle lists a loss id that resolves to no disclosure. On dev (0272949), in src/raes_adapters/cyborg/:
- Ledger row 44 (
mapping/cage2-source-ledger.jsonl,source_idreward-components) maps only Blue availability and confidentiality components. Row 45 (reward-objectives) maps Red confidentiality and operational-availability rewards. - Blue action cost: no ledger row names it.
driver.pyL236-247 tags the Blueaction-costcomponentsource-ledger:reward-objectives(row 45, Red's reward calculator), andevaluator.pyL763-771 copies that tag into each action-cost record.tools/verify_cyborg_qualification.pyL300-306 asserts the tag. - Red host components:
driver.pyL195-203 and L213-214 tag themsource-ledger:reward-components(row 44, Blue only). The same smoke asserts that tag (L307-320). - Per-step rewards:
evaluator.pyL751-761 cites row 45 for every participant's per-step reward record, Green's included, although Green has no reward calculator. reproduction.pyL468-474 listsloss-wrapper-termination-cutoffin the bundle'sloss_refs.mapping/cage2-loss-disclosures.mddefinesloss-wrapper-cutoff-semantics(L40, ledger row 32) and noloss-wrapper-termination-cutoff._validate_source_ledger(L719-729) only compares the file with a fresh_source_ledger()result, so nothing catches the dangling id.
The packaged Blue policy selects Sleep, which costs 0, so packaged runs emit no action-cost measure. A costed Blue action such as Restore does.
The fix changes the driver, evaluator, reproduction bundle and ledger, which the 2026-08-13 hold on #85 does not allow until OpenRAE/rae#1023 is settled.
Scope
- Give the Blue action cost, Red host components and per-participant per-step rewards ledger rows that cover them (new rows, or corrected selectors and mapping rules), and tag each datum with its own row.
- Replace
loss-wrapper-termination-cutoffwith the defined disclosure id. - Validate that every
source-ledger:tag and every loss id the driver, evaluator and reproduction emit resolves to a ledger row or a disclosure.
Done when
- Every evidence tag the CybORG driver and evaluator emit cites a ledger row whose selector and mapping rule cover that datum, and the qualification smoke asserts the corrected tags.
- The reproduce bundle lists only defined loss ids.
- A test fails on an emitted
source-ledger:tag or loss id that resolves to nothing.
Related
- docs(cyborg): inventory evidence-capture requirements #99 (records these findings in the CybORG evidence-capture inventory)
- fix(cyborg): reconcile SDL evidence requirements, simulator capture, and backend manifest #85 (the hold), test(cyborg): audit example pack against RAES and CAGE-2 #79
Metadata
Metadata
Assignees
Labels
blockedBlocked on an upstream gate or dependencyBlocked on an upstream gate or dependencybugSomething isn't workingSomething isn't working
Activity