ouroboros/devtools
Ouroboros ec8401a21b feat(v6.47.0): verify-before-done flagship + deep cooperative subagents + workspace-aware code-intel + skill-publish SSOT
Four streams in one reviewed commit (owner decision).

Reliability (verify-before-done, FR3):
- New core `verify_and_record` tool: the host runs the agent's declared check
  through the full run_command machinery (`_PROCESS_COMMAND_TOOLS` shell guards,
  owner-restore, light-mode repo-write block, executor backend, env scrub) and
  writes a durable host-attested receipt; receipts feed the verification ledger.
- Binary objective-axis flags `receipt_absent` / `expected_output_ungrounded` (M2
  zero-grounding) surface an unverified-but-clean turn WITHOUT downgrading solved
  (anti-oscillation). One-shot verify-before-done nudge; deadline-flush salvage
  prompt (M4); cosmetic reason_code invariant (M6).

Capability:
- `query_code(root=user_files)` read-only structured intelligence over an external
  target (e.g. a benchmark /app) with search_code-shape guards + bounded
  symlink-safe structural walks.
- External-workspace host commands scrub the Ouroboros repo from PYTHONPATH so a
  target's `import web/server` cannot shadow-import the agent.
- Effect-based artifact-audit nudge; vcs_diff workspace-mode regression test.
- Deep COOPERATIVE acting subagents build in ONE host-minted shared git tree, with
  a depth-aware reservation so a wide first level cannot starve depth.

UX + bench:
- Skill->hub publish eligibility is one SSOT predicate (`skill_publish_eligibility`)
  the gateway serializes (`submit_hub`) and the Skills card renders, ending the
  clean-only desync (advisory-only warnings now enable Submit).
- SWE-bench Pro grader: raw Pass@1 headline + separate diagnostic
  CONTAMINATION_AUDIT.md (gold never shown to the solver).

CORE_PATCH_NOTICE: protected files (ouroboros/tools/registry.py, ouroboros/safety.py,
prompts/SYSTEM.md, prompts/SAFETY.md) touched under the constitutional flag for the new
verify_and_record core tool + its safety policy + the R4 interface-discipline line.

Reviewed: 2 adversarial subagent rounds (8 findings) + 6 triad+scope rounds +
multi-model plan-review + codex gpt-5.5; all agreed findings fixed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 12:35:23 +03:00
..
benchmarks feat(v6.47.0): verify-before-done flagship + deep cooperative subagents + workspace-aware code-intel + skill-publish SSOT 2026-06-26 12:35:23 +03:00
__init__.py feat(devtools-benchmarks): add official benchmark harnesses and workspace executor 2026-06-06 12:03:30 +03:00
README.md feat(devtools-benchmarks): add official benchmark harnesses and workspace executor 2026-06-06 12:03:30 +03:00

Ouroboros Devtools

devtools/ contains operator-side and benchmark support code that should be versioned with Ouroboros without becoming part of the runtime core.

Rules:

  • Generated logs, datasets, run outputs, Docker layers, and secrets do not live here.
  • Default benchmark outputs go under /Users/anton/Ouroboros/bench_runs/.
  • Runtime modules must not import devtools.
  • This is not an immune-system bypass: touched files are reviewed normally.
  • Promote code out of devtools only through a separate reviewed runtime plan.