mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-02 19:58:46 +00:00
test: remove the retired duplicate probe from subagent E2E
Keep strict replay consumption and every lineage, custody, cost and finalization assertion. Subagent admission no longer runs the semantic duplicate veto removed in 9dd3c4ee3.
This commit is contained in:
parent
c2e45111fb
commit
6e1e28abfa
1 changed files with 3 additions and 6 deletions
|
|
@ -266,10 +266,9 @@ _CHILD_SHA_RE = re.compile(r"child_result_sha256[\"'=:\s]+([0-9a-f]{64})")
|
|||
|
||||
|
||||
def _s6_slot_binder(body: dict) -> str:
|
||||
"""Slot = wire model id × tool-bearing shape: the parent loop runs on
|
||||
``mock-model`` with tools, the supervisor's semantic-duplicate probe runs on the
|
||||
light slot (same slug) WITHOUT tools, and the child runs on ``mock-child`` — so
|
||||
every fixture ordinal is deterministic even while parent and child overlap."""
|
||||
"""Bind parent ``mock-model`` and child ``mock-child`` by model and request shape.
|
||||
Tool-less calls keep a separate slot, so an unexpected auxiliary model request
|
||||
is a fixture miss even while parent and child overlap."""
|
||||
return f"{body.get('model') or ''}|{'tools' if body.get('tools') else 'plain'}"
|
||||
|
||||
|
||||
|
|
@ -301,8 +300,6 @@ S6_FIXTURE = {
|
|||
"objective": "List the repository root and report the entries you saw.",
|
||||
"expected_output": "A short list of repository root entries.",
|
||||
}},
|
||||
# The supervisor's admission duplicate-probe (light slot, tool-less).
|
||||
("root", "mock-model|plain", 1): {"final": "No existing task duplicates this request."},
|
||||
("root", "mock-model|tools", 2): _s6_wait_step,
|
||||
("root", "mock-model|tools", 3): _s6_dispose_step,
|
||||
("root", "mock-model|tools", 4): {"final": f"{S6_PARENT_MARKER}: child absorbed; done."},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue