Commit graph

3 commits

Author SHA1 Message Date
Ouroboros
f0d8b147d4 v7next F1: domain D01 pick + wave-5 seam - quiet F1 COMPLETE
(cherry picked from f1-d01 commit 1039baed and squashed with the seam so the
manifest is self-consistent: the pick-time --theirs manifest predated the
D10/D11 hunks, and a follow-up regen would have left an inconsistent
intermediate commit - the 7d2dca49 class; recipe fixed to regen BEFORE
cherry-pick --continue.)

D01: loop.py 7003->865 + nine leaves, agent_dispatch + post_task_synthesis,
177 spans proof-green, zero live v7 deltas in the loop split (55 falsified
spans are all upstream drift), maximal declared sets per the D10 lesson,
HOT_CODE_PATHS closed over the nine loop leaves.

Seam: D11 six server leaves and D10 nine git leaves mapped (D01 mapped its
own eleven in-lane); server.py, tools/git.py, supervisor/git_ops.py split
rows retired - the remaining 21 split_pending rows are exactly the F2
hot-organ set. size_ratchet manifest regenerated by the official tool on the
merged tree. test_module_handle_extraction LEAVES = union of D10 and D01 row
sets (restored the git_ops_updates closing bracket the conflict marker had
split; 78 passed). Quotient report regenerated: 1426 strict module edges.
2026-08-31 00:20:25 +00:00
Ouroboros
a8cac05981 v5.15.0-rc.9: test-suite structural consolidation pass
Refactor pass on the test suite: 24 file deletes, 7 cross-file merges,
~-1.7k LOC, 3399 tests passing (up from 3396 after adversarial review
caught 3 wrongly-removed tests during merge B.11 and restored them).

Outright deletes (7 files, -353 LOC):
- test_constitution.py: self-contained spec/DSL, no production code
  exercised; BIBLE.md numbering spine guard remains in
  test_smoke.py::test_bible_exists_and_has_principles
- test_module_size_gate.py / test_no_port_collision_8767.py: literal
  constant pins; real gates live in test_smoke.test_no_oversized_modules
  and DEFAULT_HOST_SERVICE_PORT use sites
- test_git_imports.py: redundant with test_smoke.test_import parametrize
- test_lmstudio_cached_tokens.py: comment archaeology in llm.py
- test_fixtures_mock_clawhub.py / test_fixtures_mock_llm.py: fixture
  self-tests

Cross-file merges (13 groups, 17 source files → 7 target/new files):
- test_advisory_workflow.py absorbs test_advisory_workflow_ext.py
- test_plan_review.py absorbs test_plan_review_quorum.py
- test_shell_run_shell.py NEW: test_shell_recovery + test_shell_regex_hint
  + test_shell_no_match_semantics merged
- test_web_search.py NEW: test_search_tool + test_web_search_streaming
- test_loop_misc.py NEW: test_loop_incoming_messages + test_loop_skill_finalization
- test_runtime_mode_core.py NEW: test_runtime_mode + test_runtime_mode_gating
  (test_runtime_mode_elevation.py kept separate per its 50+ attack vectors)
- test_build_scripts.py absorbs test_packaging_assets + test_release_workflow
  CI parts
- test_skills_marketplace_ui.py NEW: test_skills_ui_static
  + test_marketplace_ui_static + test_skill_toggle_smart_ui
- test_page_chrome_static.py NEW: test_page_header_ui_static
  + test_settings_and_page_layout_static + test_evolution_ui_guards
- test_skill_dependencies.py absorbs test_skill_token
  + test_skill_requested_secret_keys + test_skill_dependency_specs
- test_context.py absorbs test_context_memory_overhaul.py
- test_launcher_sync.py absorbs test_launcher_host_service_cleanup.py
- test_chat_logs_ui.py / test_chat_js_contracts.py: dedup
  TestVisualViewportListener + remove vacuous L317 assert

Rename: test_phase7_pipeline.py -> test_git_review_pipeline.py.
Production-code surface (2 lines):
- ouroboros/tools/review.py:110: comment now references the renamed file
- docs/ARCHITECTURE.md:1222: reference now points at test_plan_review.py
  (test_plan_review_quorum.py was merged into it)

In-place trims across ~28 files:
- Inspect-only source-string pin tests dropped under delete_trust_behavioral
  (test_review_v4_33 TestBuildReviewContextRelaxed/CircuitBreakerHintThreshold,
  test_review_synthesis 3 import tests, test_block1_review_pipeline
  TestRepoWriteCommitScopeReview, test_bughunt_fixes test_chat_id_zero,
  test_review_observability dataclass-only + manual mirror)
- Parametrize wins: test_browser_isolation 13 tests -> 2 tables;
  test_provider_integration 8 tests -> 2 tables; test_advisory_observability
  SDK-break readonly+edit collapsed; test_budget_tracking
  TestProviderAttributionHelper 7 tests -> 1 table; test_block1_review_pipeline
  TestIsProbablyBinary 5 tests -> 1 table; test_marketplace_adapter OS-field
  pair -> 1 table; test_skill_loader fail-closed pair -> 1 table
- Cosmetic CSS literal pins removed from test_chat_logs_ui
- Declarative-schema enumeration in test_widgets_ui_static collapsed to
  4 sentinels (was 15+ markers)
- test_contracts.py: 5 paranoid manifest YAML edge cases removed
- test_commit_gate test_auto_tag_function_exists / test_credential_helper_exists
  / test_auto_push_function_exists / triad-prompt substring pins dropped
- Settings explainer copy pins removed from test_settings_ui_guards
- test_settings_updates_ui::test_update_panel_contract_exists shortened

Preserved per P3 immune system + user constraints:
- All AST smoke walkers (test_no_oversized_modules, test_no_bare_except_pass,
  test_no_extremely_oversized_functions, test_function_count_reasonable,
  test_no_env_dumping)
- test_runtime_mode_elevation.py 50+ self-elevation attack vectors
- test_safety_policy.py::test_tool_policy_covers_all_builtin_tools
- test_platform_guard.py AST scan
- tests/fixtures/chat_logs_ui_static_checks.json (167 rows untouched)
- test_skill_exec.py and test_extensions_api.py kept as separate layers

Adversarial multi-model review (gemini-critic + gpt-critic + opus-critic,
round 1) caught two blockers: (1) the agent had wrongly removed 3 tests
from test_context.py during merge B.11 due to bad copy-paste and
misdiagnosed the failures as "consolidator API drift"; round 2 restored
them verbatim from git show HEAD:tests/test_context_memory_overhaul.py.
(2) docs/ARCHITECTURE.md:1222 still referenced a deleted regression-guard
test; fixed in same commit per P6.

Plus 5 stale audit-comment cleanups across test_contracts, test_tool_capabilities,
test_skill_exec, test_bughunt_fixes, test_chat_logs_ui, test_browser_isolation,
test_git_review_pipeline pointing at the new file layout.
2026-05-11 18:36:08 +03:00
Ouroboros
ca2c785782 v5.8.2: auto-finalize self-authored skills 2026-05-07 21:27:27 +03:00