Skip to content

check_ont_ratchet.sh probes a BARE pv (pvbin="$(command -v pv)") — on a fleet-clobbered runner (pv 0.65.2, no census) it reads 'no consumer' and REDs an honest anchored rise; check_apr_bin_pinned.sh is blind to the form #3679

Closed as not planned

Description

@noahgift

What happened (measured 2026-09-21, #3669 guard-tree job 106269529439, head 55b123f2f)

check_ont_ratchet.sh FAILed: contracts_anchored rose 3 -> 6 while consumer_present=false. The consumer probe (scripts/check_ont_ratchet.sh:45-57) is:

pvbin="$(command -v pv 2>/dev/null || true)"
help_out="$("$pvbin" --help 2>&1 || true)"
grep -qE '^[[:space:]]+census[[:space:]]' <<<"$help_out" || return 1

That's a bare pv from PATH. On intel the fleet pin is being clobbered to 0.65.2 (paiml-implement#315), and 0.65.2 has no census. So the probe answers "no consumer" about the runner, not about the tree. In-tree pv has census (ONT-1 landed: contracts/census.json is produced by it). It's the same class as #3567 (the shapes gate on an unpinned pv), and it's the sibling that #3567's repair didn't touch.

The pinned-binary guard is blind to this form. check_apr_bin_pinned.sh:503 must-match table: 'PV=$(command -v pv)' 'require_tool pv "x"' 'which pv'. It has no row for <anyvar>="$(command -v pv …)", so a lowercase variable name and a redirect walk past it.

done_when

Found by the cop while triaging #3669's reds. #3669 takes the restamp (make ont-ratchet with a census-capable pv); this row is the root cause. Refs #3567, paiml-implement#315.

Activity

  1. added this to the 0.70.0 milestone on Sep 21, 2026
  2. added
    bugSomething isn't working
    P0Critical priority
    on Sep 21, 2026
  3. added
    ont-0.70Ontology spec work that must finish in 0.70 (operator 2026-09-23)
    on Sep 23, 2026
  4. noahgift commented on Sep 23, 2026

    @noahgift
    MemberAuthor

    triage 2026-09-23 (aprender-dd): kept in 0.70.0 and labelled ont-0.70. Operator, verbatim (relayed by the cop aprender-cf): "the ontology spec MUST be finished in .7". Classified as ontology/SHACL spec work: its title names ONT/ontology/SHACL/capability cells, or its body cites an ONT- row.

  5. noahgift commented on Sep 25, 2026

    @noahgift
    MemberAuthor

    a2 (0.70.0): all three done_when items are met on batch/0.70.0 via 719bf1a. Re-verified at a49b6f3:

    • check_ont_ratchet.sh --self-test: 45/45.
    • Mutant (line 92 reverted to command -v pv): 3 rows go RED (rc 1).
    • check_apr_bin_pinned.sh --self-test: 83 regex cases + 9 surface probes OK, including the pvbin="$(command -v pv 2>/dev/null || true)" and x=$(command -v pv) must-match rows.
      No new code needed. This closes when the batch merges.
  6. modified the milestones: 0.70.0, 0.71.0 on Oct 4, 2026
  7. noahgift commented on Oct 12, 2026

    @noahgift
    MemberAuthor

    evidence for close: 989cb01 (#4655), ancestor of main 6bd89b0. Checked all three done-when bullets at main: scripts/check_ont_ratchet.sh:92 resolves pv via resolve_fleet_pv (pinned candidates, version proved against the pin) and prints "unmeasured pin-mismatch|incapable" instead of consumer_present=false; its self-test (#3679 block, ~line 583) plants a stale stub pv without census on PATH plus a pinned stub with census; scripts/check_apr_bin_pinned.sh:551-552 carries the must-match rows pvbin="$(command -v pv 2>/dev/null || true)" and x=$(command -v pv).

  8. added
    P1High priority
    and removed
    P0Critical priority
    on Oct 14, 2026
  9. noahgift commented on Oct 14, 2026

    @noahgift
    MemberAuthor

    P0 to P1 (2026-10-14 P0 triage): P0 now means it blocks the next release or carries the operator's own words on it; this issue does neither, so it stays on the 0.71.0 milestone at P1. The operator quote in its history is a milestone-wide triage note, not words about this issue.

  10. noahgift commented on Oct 14, 2026

    @noahgift
    MemberAuthor

    Folded into #5308 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it. Pushed branch: fix/3679-ont-ratchet-pinned-pv.

    Agent: aprender-clerk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High prioritybugSomething isn't workingont-0.70Ontology spec work that must finish in 0.70 (operator 2026-09-23)owner:aprender-a7owner sessionsize:MK̂ 3-4 h

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions