Skip to content

Land subtraction runtime cleanup and exploration drivers#20

Merged
zaler23 merged 31 commits into
mainfrom
mzz/seed-coverage-resurrection-gate
Jun 30, 2026
Merged

Land subtraction runtime cleanup and exploration drivers#20
zaler23 merged 31 commits into
mainfrom
mzz/seed-coverage-resurrection-gate

Conversation

@zaler23

@zaler23 zaler23 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

Land the CognitiveEvolve subtraction/runtime cleanup and exploration-driver work on mzz/seed-coverage-resurrection-gate.

Major scope:

  • Wire bounded source_context through seed, mutation planning, and offspring prompts.
  • Remove verifier/fabric/research theater paths while keeping real patch application, source binding, and diagnostics.
  • Ground novelty/QD/relevance descriptors in source bindings, patch state, target paths, and canonical family identity.
  • Add quickstart and human-readable candidate/final summaries.
  • Activate theory, latent, QD, and search-space signals as search/exploration pressure only, not correctness/final/stop gates.
  • Fix P5c family collapse by feeding QD/novelty from bounded canonical mechanism families.
  • Apply post-review fixes: canonical version bump, API request redaction, job-status logging, parent eligibility split from soft quota, source-binding project root, QD applied-bin split.

Validation

Local:

  • git diff --check passed.
  • UV_PROJECT_ENVIRONMENT=/tmp/cogev-github-final-venv PYTHONDONTWRITEBYTECODE=1 uv run --extra test python -B -m pytest -q -p no:cacheprovider659 passed, 1 skipped.
  • UV_PROJECT_ENVIRONMENT=/tmp/cogev-github-final-venv uv run --extra test python -B scripts/cogev.py doctor --scope all49/49 checks passed.
  • Prepublish scan over origin/main...HEAD: no untracked files, no tracked .env, no high-risk secret/local-path hits.

GitHub:

  • PR checks green: CI 3.11/3.12/3.13 and CodeQL all passed.
  • PR merge state: CLEAN / MERGEABLE.

Safety notes

  • Canonical/QD signals remain search-diversity pressure; no correctness/final/stop eligibility gate was added.
  • Bridge and run artifacts stayed outside the public GitHub source tree.

zaler23 and others added 30 commits June 21, 2026 15:35
- close A-E run-report defects and subagent review findings

- collapse final display/projection to a single answer authority

- keep verification/source/latent signals advisory for answer-first exploration

- update tests, public hygiene, and source-current sync
- allow explicit seed policies such as 24 batches to bypass the old 16-batch clamp

- keep an upper safety bound and add regression coverage

- record the fresh-run discovery in the debt ledger as closed
…tatus failure

- nextgen.py: bump CANONICAL_FAMILY_VERSION v1->v2 so candidates carrying the old
  6-bucket canonical recompute against the current 8-bucket mechanism (d20b959
  widened buckets 6->8 without a version bump, leaving resume/replay mixing buckets)
- engine_runner.py: redact() the non-streaming api-request.json dump to match the
  streaming path (previously wrote raw prompt/request to disk unredacted)
- jobs.py: log job-status persistence failures via logger.warning(exc_info) instead
  of silently swallowing them; best-effort write stays non-fatal

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…e bindings + QD applied bin

P0 #2: move cbt_soft_budget_adjustment out of reproductive_value into an
ordering-only bonus in ParentSelector.select, so the canonical search-diversity
soft quota reorders parents but never gates the >=0 parent-eligibility floor.

P0 #3: thread the real project root into source-binding annotation via a
runtime-only ArchiveManager.project_root (excluded from to_dict/from_dict), and
drop the no-op annotate side effect from the parent selector.

P1 #7: keep the applied/not_applied token in candidate_bin_key ([1:5]) so applied
state splits the QD bin; bound the pool-preprocess payload when many bins inflate
the coverage report; add a regression test.

P2 #9: mark the model-facing coverage_gate as advisory_pressure_only instead of
renaming the protocol key (no model-protocol break).

Mechanical fixes: API port env alignment (#5), VerifierStack->NexusRuntime naming
(#8), order-independent novelty ratio + double-prefix metric key (#10), README
quickstart env (#11), runtime task.yaml warning log (#12), pytest cacheprovider
hardening (#13).

Cross-model reviewed (codex) for the protected-file changes (#2/#3/#7/#9);
canonical/cbt soft signals verified to never touch eligibility/stop/final gates.
Full suite: 659 passed, 1 skipped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@zaler23 zaler23 marked this pull request as ready for review June 28, 2026 23:10
@zaler23 zaler23 changed the title Add seed coverage resurrection gate Land subtraction runtime cleanup and exploration drivers Jun 30, 2026
@zaler23 zaler23 merged commit 7072765 into main Jun 30, 2026
5 checks passed
@zaler23 zaler23 deleted the mzz/seed-coverage-resurrection-gate branch June 30, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant