Skip to content

DRAFT: T043: tests/fixtures/health-corpus, 14.9's corpus, and its test (plan 038) - #98

Draft
brettheap wants to merge 4 commits into
mainfrom
r2/t043-health-corpus
Draft

brettheap wants to merge 4 commits into
mainfrom
r2/t043-health-corpus

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Arc: neutral-product-standalone-operability
Lands after T027 (Brett, 6035546708)

T043: tests/fixtures/health-corpus, 14.9's corpus, and its test (plan 038, HA-3)

DRAFT. It does not land before T027 has pinned phase 4's openDox-code commit (N-6 (a)). Refs opensoft/openXfactory#656 (stays OPEN).

TWO FLAGS (the holder asked for both)

  1. The empty stub keeps its header (a deviation from "empty"). empty-stub.md carries title: and summary: and has NO body (the body is blank, which meets data-model.md's criterion "after front matter, the body holds no line that is neither blank nor a heading" under leading_header's convention, the one the adapter and the projection read; a reader that took --- fences for front matter would see the header as body, and no document in this corpus uses a fence). A zero-byte file was not planted because it has no title and, having no heading, none that could be derived, so a second family (missing front matter, non-derivable, human-only) would flag the same document and the stub would not be a document with ONE finding.
  2. The near-duplicate tiebreak pin, for T044: report near-duplicate.md, the greater path. F14.1 commits the corpus in ONE commit, so OQ-H-11's "the later-committed one" is a tie. The pair is compost-bin-sizing.md (the original, which sorts first) and near-duplicate.md (which sorts last). T044's tiebreak MUST raise the ONE finding on near-duplicate.md (the later document by path order). The sibling's name does not contain near-duplicate, so no match by substring selects it too. Measured similarity: word-3-shingle Jaccard 0.953 over each document's whole text (0.943 over the bodies); no other pair of the twelve reaches 0.06 (the maximum is 0.0585; the test's ceiling for those pairs is 0.1). The pin is in the fixture's own notes (README.md) and asserted by test_the_near_duplicate_pair_ties_and_path_order_picks_the_document.

What it adds

tests/fixtures/health-corpus/ (12 documents, each with title: and summary: except the one planted on purpose; every body but the stub's longer than 3 lines):

old id path intended kind class
broken-link broken-link.md broken-link (target moved: reference/rain-barrel-checklist.md now exists once, as garden/rain-barrel-checklist.md) auto-fix
derivable-front-matter derivable-front-matter.md derivable-front-matter (NO title: key at all, a # heading, a summary:) auto-fix
stage-location-mismatch candidate/stage-location-mismatch.md stage-location-mismatch (stage: selection inside candidate/) auto-fix
near-duplicate near-duplicate.md near-duplicate (see flag 2) assisted
(the empty stub) empty-stub.md empty-stub (see flag 1) assisted
human-only-finding human-only-finding.md orphan (nothing links to it) human-only
accepted-finding accepted-finding.md broken-link whose target exists nowhere (archive/shed-plans-2019.md) human-only

Not planted, and not to be flagged: compost-bin-sizing.md (the original), candidate/path-edging-options.md (a control: stage: candidate inside candidate/), garden/rain-barrel-checklist.md (the moved target), and two entry documents, README.md (also the fixture's own notes) and garden/index.md.

Plant derivable-front-matter with NO title: key, never an empty one (R2-INV-P5 § T043, FIX-IN-SLICE, holder 6028138991): an empty title: makes the pinned validator reject the snapshot, generate-and-open then returns non-zero and serves nothing, and F14.1 stops before its first health run. The test shows it, as a control on the check the corpus passes (test_an_empty_title_is_rejected_by_the_check_that_the_corpus_passes).

Two choices OQ-H-8 left open, made here (T044 reads them from the INTENDED table in the test): human-only-finding is an orphan, and accepted-finding is an unmovable broken link. Both are human-only by OQ-H-8. broken-link therefore names two documents of the corpus, different in path and in class; a selection takes the ONE finding whose path is the document and whose kind is the family.

The inbound-link exemption (OQ-H-16), measured and declared. MEASURED: plain-documents/ holds 8 files and 0 links (grep -cE '\]\(|\[\[' reads 0 in each). Its eight documents would be eight orphans under "nothing links to it", and OQ-H-16 exempts only README and index documents, so the corpus does not take plain-documents as its base and reuses none of its files. The corpus holds exactly two entry documents, README.md and garden/index.md, neither with a link pointing at it, so both exercise the exemption; besides them the ONLY document with no inbound link is the planted orphan (test_only_the_entry_documents_and_the_planted_orphan_have_no_inbound_link; the measurement is pinned by test_the_plain_documents_measurement_is_why_it_is_not_the_base).

Other pins in the test: the exact file set (so a missing, extra or engine file fails by name); each old id is the stem of exactly one document; the neutral fields are missing from exactly one document; a document's location is a top-level role-key directory (R2Q11 (a)), and exactly one mismatches; exactly two links resolve to nothing; the declared-vocabulary sweep that test_plain_documents_fixture.py applies; and the corpus generates through the pinned validator.

Files

  • tests/fixtures/health-corpus/** (12 documents; T043 is the single owner).
  • tests/test_health_corpus_fixture.py (new, 40 cases).

No other file is touched. validate.yml's floors are not edited: the pins are floors that only a loss can trip, and SKIPPED is exact (see below).

The falsifier, run (red first)

$ python -m pytest -q tests/test_health_corpus_fixture.py   # corpus absent
E       AssertionError: expected .../tests/fixtures/health-corpus to exist
37 failed, 3 passed in 1.79s
$ python -m pytest -q tests/test_health_corpus_fixture.py   # corpus present
40 passed in 2.66s

opendox generate over a fresh one-commit repository of the corpus (the F14.1 preamble, fresh_repository + run_module), with --strict: exit 0, documents=12, validation: opendox-snapshot: 0 violations. The same corpus with an empty title: line planted on derivable-front-matter.md:

1 × [title-and-summary-are-text] /documents/6/title: '' is shorter than 1
rc=1

Mutants (each applied to the corpus, the suite run, the corpus restored; all KILLED)

mutant result
an EMPTY title: planted in derivable-front-matter.md killed: 2 failed (test_derivable_front_matter_has_no_title_key_and_a_heading, test_the_corpus_generates_through_the_pinned_validator)
a non-empty title: key planted there killed: 4 failed
a missing document (accepted-finding.md) killed: 11 failed (test_the_corpus_holds_exactly_the_declared_files, test_each_planted_document_exists_under_its_old_id[accepted-finding], ...)
a second finding-bearing document under one name (garden/broken-link.md) killed: 3 failed (the exact file set, test_exactly_one_document_answers_to_each_planted_name[broken-link], generate)
a sibling carrying a planted name as a substring (human-only-finding-copy.md) killed: 3 failed
the original renamed to sort AFTER the copy (the tiebreak pin) killed: 9 failed
the orphan linked from the index killed: 1 failed
the empty stub gains a body line killed: 1 failed (test_the_empty_stub_is_empty)
the moved link repaired killed: 1 failed
the stage mismatch removed killed: 1 failed
a declared vocabulary word in a document killed: 1 failed
a second unlinked document killed: 2 failed
the near-duplicate stops resembling its original killed: 1 failed
an engine file (health/dispositions.yaml) planted killed: 3 failed
plain-documents gains a link (the measurement goes stale) killed: 1 failed
the derivable document's heading becomes level 2 (## Staking ...) killed: 1 failed (test_derivable_front_matter_has_no_title_key_and_a_heading)
a nested file in plain-documents/ (the measurement counts every file, recursively) killed: 1 failed
an unrelated pair raised to 0.103 (the old ceiling of 0.2 let it pass; a pair at 0.19 would have) killed: 1 failed (test_the_near_duplicate_pair_ties_and_path_order_picks_the_document)

The whole suite, as CI runs it

At the first tree of this PR (d911049b, the same documents and test file as 860d0e7c), run locally with CI=1 and OPENDOX_TEST_DATABASE_URL at a postgres:16 container: 5687 passed, 11 skipped, 2 warnings in 2223.47s. The triple from the JUnit report: selected=5698 passed=5687 skipped=11 failures=0 errors=0. Collection without this suite's new file reads 5658, so SELECTED rises by exactly 40 and SKIPPED stays 11 (CI's pinned EXPECT_SKIPPED). No case of this suite skips.

Since then the PR changes only tests/test_health_corpus_fixture.py, in the two review rounds below (assertion style, the H1 pin, the recursive measurement, a tighter ceiling), and no case was added or removed: 40 passed at the head, every mutant above killed at the head. The required validate job runs the whole suite at the head; its triple is quoted in the report that follows this PR.

Review rounds

  • SonarCloud at 860d0e7c: 4 new issues, all fixed at adcaf8d9 (0 open at that head): python:S9073 x3 (composite assertions split) and python:S3415 x1 (one expected-first assertion flipped).
  • Copilot at 860d0e7c: COMMENTED, 0 open findings, 0 threads. At adcaf8d9: COMMENTED, 0 threads, with three findings in the review body ("Previously missed"), each a real gap with a simple payload, all FIXED at 0acb6b59: (1) the ceiling on every other pair was 0.2 against a measured maximum of 0.0585 (now 0.1; not the 0.06 it suggested, because the maximum leaves 0.0015 under 0.06 and a prose edit would trip it); (2) the derivable document's heading may not be level 2 to 6 (now a level-1 heading is asserted); (3) the plain-documents measurement read only top-level .md files (now every file, recursively).
  • Lane 3's early review at d911049b (REVIEW-W1): GO (EARLY), 2 NITs. One was the commit-message trailer (moot under a squash landing). The other, the docstring's "on any reading of it", is fixed at the head below (a docstring-only commit; the same wording is corrected in flag 1 above).
  • Codex at 860d0e7c and at adcaf8d9: "Didn't find any major issues", each naming the exact head as "Reviewed commit". At 0acb6b59 and later it answered "You have reached your Codex usage limits for code reviews": no Codex review exists at the later heads (CODEX-SILENT, allowed at DRAFT-CLEAN by the holder's ruling, #656 6069024568 item 4). READY needs Codex at the exact head after the limit resets.

What is NOT done

  • The families and their findings: T044 (tests/test_health_families.py) proves ONE finding per planted document, of the intended kind and class; this suite asserts the layout and the documents only.
  • F14.1's amendment (the selection lines) is T065's; this PR makes its documents findable by path.
  • pack-corpus (lane 3, T055) copies this corpus and adds its own documents; none is added here.
  • It does not land before T027.

🤖 Generated with Claude Code

…t (plan 038, HA-3)

Twelve documents, ONE planted finding per kind and nothing else a neutral
family would flag: broken-link, derivable-front-matter (no title key, a
heading), stage-location-mismatch (in candidate/), near-duplicate, one empty
stub, human-only-finding (an orphan) and accepted-finding (a link to a file
that exists nowhere), plus a clean original, a control, two entry documents and
the moved link's target. Each planted document is named after its old literal
id, so batch Q's selection lines find it by path.

tests/test_health_corpus_fixture.py asserts the layout and the documents, the
inbound-link exemption (OQ-H-16) with the plain-documents measurement (8 files,
0 links), the near-duplicate tiebreak pin (near-duplicate.md, the greater
path), and that the corpus generates through the pinned validator over a fresh
one-commit repository; an empty title: is shown to be rejected by that same
check. T044 proves the findings themselves.

Lane: openxfactory-4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 19:39
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

Adds the health-corpus fixture for plan 038 and a comprehensive 40-case contract test. The fixture deliberately encodes the planned health findings and controls, while the test pins its exact layout, document metadata, links, exemptions, duplicate-selection behavior, vocabulary constraints, and strict snapshot-generation behavior without yet testing the health families themselves.

File-Level Changes

Change Details Files
Adds the complete health-check fixture corpus with deliberately planted and control documents covering the planned finding scenarios.
  • Adds 12 Markdown documents with controlled front matter, links, paths, body sizes, and vocabulary.
  • Plants broken-link, derivable-front-matter, stage-location-mismatch, near-duplicate, empty-stub, orphan, and accepted broken-link cases.
  • Includes README/index entry documents, moved-link target, duplicate controls, and explicit notes for tie-breaking and exemptions.
tests/fixtures/health-corpus/README.md
tests/fixtures/health-corpus/accepted-finding.md
tests/fixtures/health-corpus/broken-link.md
tests/fixtures/health-corpus/candidate/path-edging-options.md
tests/fixtures/health-corpus/candidate/stage-location-mismatch.md
tests/fixtures/health-corpus/compost-bin-sizing.md
tests/fixtures/health-corpus/derivable-front-matter.md
tests/fixtures/health-corpus/empty-stub.md
tests/fixtures/health-corpus/garden/index.md
tests/fixtures/health-corpus/garden/rain-barrel-checklist.md
tests/fixtures/health-corpus/human-only-finding.md
tests/fixtures/health-corpus/near-duplicate.md
Introduces a 40-test fixture contract that validates the corpus structure and its compatibility with the snapshot generator.
  • Pins the exact file set, planted-name uniqueness, Markdown-only content, front-matter omissions, empty-stub semantics, stage/location consistency, link resolution, and declared vocabulary exclusions.
  • Verifies inbound-link exemptions and the measured plain-documents baseline.
  • Asserts near-duplicate similarity and path-order tie-breaking, plus the intended finding metadata table for downstream family tests.
  • Runs strict generation against a fresh repository and confirms the no-title-key case passes while an empty title is rejected.
tests/test_health_corpus_fixture.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T23:27:23.590625Z d6c9f29 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The implementation is explicitly draft and must remain sequenced behind T027 before landing.

0 open findings

What changed in this PR

Adds the plan 038 health corpus and falsifier suite for future document-health family tests.

Changes:

  • Adds 12 documents covering planted findings and clean controls.
  • Adds 40 tests validating layout, metadata, links, similarity, and generation.
  • Pins duplicate ordering and entry-document exemptions.
File Description
tests/​test_health_corpus_fixture.py Validates all corpus invariants.
tests/​fixtures/​health-corpus/​README.md Documents and links the fixture.
tests/​fixtures/​health-corpus/​near-duplicate.md Adds the duplicate candidate.
tests/​fixtures/​health-corpus/​human-only-finding.md Adds the orphan finding.
tests/​fixtures/​health-corpus/​garden/​rain-barrel-checklist.md Adds the moved-link target.
tests/​fixtures/​health-corpus/​garden/​index.md Adds an exempt entry document.
tests/​fixtures/​health-corpus/​empty-stub.md Adds the empty-stub case.
tests/​fixtures/​health-corpus/​derivable-front-matter.md Adds the missing-title case.
tests/​fixtures/​health-corpus/​compost-bin-sizing.md Adds the duplicate original.
tests/​fixtures/​health-corpus/​candidate/​stage-location-mismatch.md Adds the stage mismatch.
tests/​fixtures/​health-corpus/​candidate/​path-edging-options.md Adds the matching-stage control.
tests/​fixtures/​health-corpus/​broken-link.md Adds the movable broken link.
tests/​fixtures/​health-corpus/​accepted-finding.md Adds the unresolvable broken link.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 860d0e7c24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 19:43
… order in the new test (SonarCloud python:S9073 x3, S3415)

Four findings at 860d0e7, all in tests/test_health_corpus_fixture.py; no behaviour moves (40 passed, and every mutant still killed).

Lane: openxfactory-4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: adcaf8d919

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Several assertions do not fully enforce the fixture invariants they claim to pin.

0 open findings

Previously missed (3)

In code that hasn't changed since last review

Medium severity Use the documented 0.06 similarity ceiling

tests/​test_health_corpus_fixture.py:153

This ceiling does not pin the documented measurement that every non-planted pair stays below 0.06. The current maximum is about 0.0585, so a corpus mutation could raise an unrelated pair to 0.19 and still pass, potentially creating an extra near-duplicate finding. Use the declared 0.06 boundary.

Medium severity Require an H1 heading in the fixture

tests/​test_health_corpus_fixture.py:289

The fixture contract specifically requires a # heading so the missing title is derivable, but _HEADING also accepts levels 2–6. Changing this document to ## Staking… would therefore pass this test without preserving the pinned H1 precondition. Assert an H1 here.

Medium severity Enumerate all fixture files recursively

tests/​test_health_corpus_fixture.py:411

This measurement only sees top-level Markdown files, although the assertion and PR contract claim the entire plain-documents/ fixture contains exactly eight files. A nested document or another file would leave the test green while invalidating the measured reason for not reusing that fixture. Enumerate files recursively, as the corpus does.

🧠 Review effort: Balanced

@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 19:49
…the similarity ceiling to 0.1 (Copilot at adcaf8d)

Three findings in Copilot's review of adcaf8d, each a real gap with a simple payload:
- derivable-front-matter's heading may not be level 2 to 6 (a title derives from a level-1 heading);
- the plain-documents measurement read only top-level .md files, so a nested file left it green;
- the ceiling on every other pair of documents was 0.2 against a measured maximum of 0.0585; it is 0.1 (a pair at 0.103 now fails, one at 0.19 did not).

Lane: openxfactory-4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The code appears internally consistent, but this draft has an explicit T027 landing dependency requiring final human verification.

0 open findings

🧠 Review effort: Balanced

@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 21:05
… NIT)

The module docstring claimed the blank body meets data-model.md's criterion on any reading of it; it holds under leading_header's convention, and a reader that took --- fences for front matter would see the stub's header as body. Docstring only; 40 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The code review found no concrete defect, but the draft has explicit external sequencing and exact-head review gates.

0 open findings

🧠 Review effort: Balanced

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-3 (openXfactory-3)

REVIEW-W1 of T043 at d6c9f29c (this PR's DRAFT-CLEAN head): GO.

  • 2 findings: 0 BLOCKER, 0 MAJOR, 0 MINOR, 2 NIT.
  • It follows lane 3's early pass at d911049b.
  • The early NIT 2 is fixed: the docstring now says "under leading_header's convention (src/opendox/runtime/local_git_adapter.py)", and that matches the code.

Findings

  • NIT, the messages of commits 860d0e7c, adcaf8d9 and 0acb6b59.
    • A blank line still separates Lane: openxfactory-4 from Co-Authored-By:, so git interpret-trailers --parse yields only Co-Authored-By. Only d6c9f29c has the pair adjacent.
    • All four commits end Claude Sonnet 5.5, not WRITER-RULES-R2's Opus (1M context) line.
    • Fix: none on the branch, since that would need a force-push. The holder rules on the attribution line, and the landing's merge message carries Lane: and Arc: as real trailers.
  • NIT, tests/test_health_corpus_fixture.py:294-295. The second assertion in test_derivable_front_matter_has_no_title_key_and_a_heading cannot fail while the first ("title" not in header) passes. Both read the same leading lines by the same rule.
    • Fix: delete it, or leave it as harmless.

Checked OK

  • The falsifier is red at main (6827cafc). Lone -x: AssertionError: expected …/tests/fixtures/health-corpus to exist. The full file gives 37 failed and 3 passed, as the body says.
  • The lone CI form at the head: selected=40, passed=40, skipped=0. The test needs no PostgreSQL.
  • CI at d6c9f29c: validate, acceptance and SonarCloud all succeed. The triple is 5698/5687/11, which is 5658 + 40, with the pins at 3977/3966/11. A merge of today's main (with T012 + T013: the landing seam, governance, confirmation and the neutral lander; feature 007's guard admits the landing's fast-forward (plan 038) #90) collects 5846 and merges cleanly.
  • Files against the diff. 13 files changed: the 12 fixtures plus the test. validate.yml, pyproject.toml, the census, the stylesheet pin and plain-documents are untouched. Every file is mode 100644, uses LF, and ends in a newline.
  • The generate probe on a one-commit copy. It reports 12 documents and opendox-snapshot: 0 violations, with and without --strict. An empty title: planted in the derivable document gives rc=1 and title-and-summary-are-text, as the body quotes.
  • Mutants.
    • T1 to T4 and T6 to T9 are killed, and so is T5b.
    • T5, a weak one-phrase edit, survives as expected, because the test uses a similarity floor of 0.9.
    • So are 16 extra mutants, among them heading-level changes, a stub with no title, stage drift, vocabulary additions, nested plain-documents, the ceilings, and the path-order rename (9 red). Two equivalent ones survive.
  • The cites hold:
    • FR-015 (spec.md:937);
    • #1144 box 14.9 and batch Q's selection rule;
    • OQ-H-8, OQ-H-10, OQ-H-11 and OQ-H-16;
    • R2Q11 (a);
    • ADV-17, and the data-model kinds (data-model.md:196);
    • RULED OQ-C;
    • DECLARED_VOCABULARY against test_plain_documents_fixture.py.
  • FIXTURES. Every use joins a named subdirectory or file, and nothing sweeps tests/fixtures.
  • The body. It has the Lane and Arc lines, and its Files line is exactly the 13 files. The mutant table matches the measurement. The cited comments say what the body says, and there is no closing keyword and no host path.

For the holder, not defects. T044 and T065 must honour these:

  • the corpus holds TWO broken-link findings: broken-link.md (auto-fix) and accepted-finding.md (human-only), so selection goes by path;
  • the stage mismatch is candidate/stage-location-mismatch.md;
  • the near-duplicate tie goes to near-duplicate.md, by path order.

Codex. Codex reviewed 860d0e7c and adcaf8d9 ("Didn't find any major issues"). At 0acb6b59 and d6c9f29c it answered "usage limit", so there is no Codex review at the head. READY needs one after the limit resets, or the holder's ruling under 6069024568.

Not reached

  • No full local suite; CI's triple at the head stands in for it.
  • No literal pair built at about 0.103 for the 0.1 ceiling. The 0.05 constant mutant is killed, and the measured maximum is 0.0585.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: d6c9f29c89

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap brettheap left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex expert-panel review of d6c9f29c8919e40495e99de57713f7f5d8882974 against this PR's main base.

No actionable findings. Reviewed fixture layout, planted/control documents, inbound-link exemptions, stage mismatch, near-duplicate separation, neutral vocabulary, and strict-generation coverage. Keeping family-detection assertions in T044/#101 is consistent with this fixture-only slice. Earlier fixture-review adjustments are present in the current code.

Validation: static source/diff/test and review-history inspection. Existing validate, acceptance, and SonarCloud checks report SUCCESS; the fixture test suite was not rerun by this review. Readiness: no code blocker identified in this slice; retain its documented T027/draft landing controls and validate the final integration head before merge. This comment does not change those controls.

This branch has not been deployed

No deployments
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.

2 participants