Skip to content

Programme: estate-aware Hypatia review lane with adjudicated parity to external reviewers #1217

Open

Description

@hyperpolymath

Goal

Replace routine paid code-review passes with an estate-aware, evidence-grounded Hypatia review lane, while retaining external reviewers temporarily as independent benchmarks. This is not a request to trigger paid reviewers indiscriminately on every repository: the estate-wide first pass should be Hypatia's bounded, local/offline baseline, with explicit unknown/unsupported states and controlled opt-in for expensive comparisons.

Build upon existing implementation. In particular, do not recreate the KYAML reader/workflow model, the existing OutcomeTracker qualification machinery, ActionsLock validation, Pons, Plasma, panic-attack or the gitbot-fleet dispatcher. Use them as versioned capabilities with their own owners and evidence limits.

This programme is separate from #984 (E0 outcomes), #971 (single KYAML workflow model), and the closed #1009 (external-review gap ledger). None is reopened or declared complete by this issue.

Existing observation (2026-11-23)

Four bounded @codex review pilots returned on exact PR heads:

PR Reviewed commit Lead to independently adjudicate
hyperpolymath/vocarium#74 0e62000f59 P1 invalid editorconfig checker indentation configuration
catachresis-colloquium/Cytoville#17 0c78d94062 P1 aggregate workflow deadline smaller than producer timeout; P2 security/correctness
metadatastician/first-post#33 12a78f1359 Code review returned no major issues; earlier attempt exhausted credits
stuff-of-awe/awesome-zig#20 50a58cf13 P1 dropped transitive actions.lock coverage for reusable workflow calls

Draft PR #1216 begins with a non-authorising structured review admission boundary. Tests/CI need inspection before readiness. The 4 reviews are a pilot benchmark, not a full estate census.

Architecture: one review path, independently warranted edges

Seam Capability and boundary Owner/source Verification requirement
S-01 Discovery: installed estates, repo/default head, active PRs, source status, current head, required checks GitHub collector / logistics fleet Reproducible inventory, stable identities; pagination; no silently dropped archived/unknown repos
S-02 Format-aware parsing and semantic diff Hypatia.Workflow, kyq, ijson-jcs, the respective normative grammar gates Parse before lint; current-head contract; value/structure equivalence including aliases, folded scalars and workflow permissions
S-03 Domain-specific analysis Hypatia rules, Plasma, Pons, panic-attack, Proven CI/CD, proven-tests-and-benches Each reports capability level: observed, heuristic/dataflow, validated, tested, proven, unsupported; precise source/negative fixtures
S-04 External review import and independent adjudication Draft #1216; future GitHub collector Bot authorship from API; exact reviewed SHA; quota/timeout not clean; external commentary untrusted; never count asserted claims as proven
S-05 Semantic finding identity / JCS receipts Existing stable finding IDs, hyperpolymath/ijson-jcs, E0 receipts Strict I-JSON before duplicate keys collapse; JCS bytes and final LF profile; JSONL framing; producer event IDs and replay/idempotency
S-06 Hypothesis-to-falsifier / neurosymbolic expansion Hypatia hypothesis generation, Echidna and specialist verifiers Rules promoted only after positive + negative counterexample fixtures and independent witness; no model-only proof
S-07 Qualification and learning OutcomeTracker, existing E0 close-out #984 Failed/unverified/incomplete/withdrawn evidence cannot generate positive Bayesian credit or advance maturity
S-08 Action economy / fleet routing gitbot-fleet, bag-of-actions, git-logistics-office, rhodibot where available Capability inventory and tier, budget and lock ownership before routing; keep dispatch quarantine and human reviewed PRs
S-09 Rollout and assurance existing governance / proven-cicd / CI health Per-repo read-only first, benchmark, no automatic rule/gate bypass, independent reevaluation at current head

Future VeriSimDB temporal/provenance identity, VCL-UT admissibility and Odraz JEG support/contradiction exchange must be versioned and separately evidenced before called operational; never force them into the MVP as mandatory infrastructure.

Estate-specific format routing, normative not guesses

Follow standards DATA-FORMAT-ROUTING and the exact currently pinned ANBFs:

  • KYAML/GitHub workflows: use Hypatia.Kyaml + Hypatia.Workflow, differential kyq fixtures. GitHub-fixed .yml filenames remain fixed; no regex reconstruction of YAML document structure.
  • TOML, Dhall: preserve; route to kyq contracted support with tested availability, not invented support.
  • JSON, JSONL/NDJSON, JSON-LD: strictly parse I-JSON and JCS-canonicalise using hyperpolymath/ijson-jcs through pinned kyq, preserve framing and JSON-LD contexts. JCS is not RDF dataset canonicalisation; exclude tool-required JSONC (devcontainer/VSCode) from strict JSON checks and use a context-aware validator.
  • DEED: validate against the DEED ANBF (A2ML retired). Legacy migration proposals need a source-to-target loss report, no blind rename.
  • K9 + coordination.k9: validate against applicable K9 ANBF and coordination protocol ANBF; not generic YAML.
  • Wider projection: kyX, not additional kyq format families.
  • SPDX/REUSE: respect docs CC-BY-SA-4.0 versus code/config MPL-2.0, metadata zones and recognised REUSE locations. The false-positive licence thread on system-et#108 must be in the negative control corpus.

First rule families (each needs positive and negative controls)

  1. Workflow runtime feasibility: startup/zero-job vs true success; broken reusable-workflow references and owner moves; requires checks that can never report; permissions and cancellation semantics; timeouts across dependent producer/aggregate jobs.
  2. actions.lock transitive closure: distinguish direct actions, reusable-workflow callees, pinned transitive actions and generated-lock provenance. Use existing ActionsLock and authoritative generator; never hand-edit lockfile to get green.
  3. Structural format and schema enforcement: KYAML aliases/flow/block scalars, duplicate keys, YAML 1.2 Core on, I-JSON dangerous duplicates/number bounds/UTF-16 sort, JSONC carve-out; rendered-template validity versus source template validity.
  4. Executable correctness: shell continuation, quoting, command position, idempotency and exit semantics; test skip-only/zero-assertion false passes; missing service routes / readiness probes; changed-CI parity before push.
  5. Estate proof obligations: Idris2 ABI and Zig FFI conformance, Rust Creusot/Pearlite/Verus evidence; separate witnessed proof from admitted axioms or missing dependencies. For Agda/Idris2, no unsupported 'proven' badge.
  6. Repository intent profiles: for IDApTIK-style 60Hz deterministic gameplay, test replay and stable entity IDs; for proof libraries test proof-status and postulate ledger; for governance docs check licence zones and normative DEED/K9 status. Profiles select checks without altering cross-estate mandatory gates.
  7. Policy transitions: detect A2ML legacy eligible migration to DEED, reject lossy/misparsed migration; verify policy pin drift and migration ledger; no automatic governance edits.
  8. Security/capability boundaries: supplied secrets, HTTP verb policy, native SNIF/ABI contracts, third-party tool output is data not instructions; no automatic privilege upgrades.

Acceptance: work orders with independent receipts

  • R-01 Baseline census: Enumerate every accessible repo across the four installations, account for pagination/archived/disabled/unknown and record immutable head and scan capability. No claim of full coverage without a denominator.
  • R-02 Pilot evidence ledger: capture all 4 pilot reviews and their exact SHA from GitHub API, plus old quota failure; challenge each reported finding against source and record confirmed/false-positive/unresolved. Ensure source event IDs distinguish attempts. This precedes metric computation.
  • R-03 Admission module: complete and test draft #1216, then separately add authenticated collector and canonical JCS/JSONL persistence; reject spoofed bot authors and unpinned heads.
  • R-04 Semantic format routes: integrate current authoritative format tools with independent golden/negative corpus, verify real binaries vs proposed features. No duplicate YAML parser or DIY JCS.
  • R-05 Rule coverage: implement verified rules for the confirmed pilot defects that do not already exist, plus counterexamples for each. Prefer extending existing rules to introducing modules.
  • R-06 Differential benchmark: compare Hypatia and paid reviewers on a frozen, adjudicated test set and on a held-out repo/PR set. Report confirmed TP/FN/FP, critical misses, unsupported categories, latency/resource/credit cost, provenance/coverage unknowns. Do not treat reviewer consensus as ground truth.
  • R-07 Controlled rollout: read-only/default-branch scan first, PR diff scanner second, repair suggestions only after postcondition verification, draft PRs only; quarantine/unqualified paths remain blocked.
  • R-08 Exit decision: only recommend removing an external reviewer when Hypatia shows repeatable independent detection parity on the adjudicated high-severity corpus and no critical blind spots, its evidence/rollback gates work, and the cost and maintenance savings are measured. Any open unknown or failing source preserves the relevant external control.

Operating constraints / blocking conditions

No new Python or TypeScript. Prefer Elixir orchestration, authoritative Idris2 ABIs, Zig FFI and specialised existing engines. Do not loosen CI, migrate formats on speculative semantics, auto-merge, or treat a comment or model confidence as verification. Work in scoped draft PRs; repair preexisting blockers before relying on downstream evidence. External review credits are finite: no bulk @codex backfill without explicit separate budget/selection. Mark BLOCKED or UNKNOWN rather than silently passing when a tool/parser/verification command is unavailable.

This issue is a cross-cutting implementation tracking programme; the existing issues remain owners of their specific work.

Activity

  1. added
    automation
    decision
    on Nov 23, 2026
  2. whatproblem-ai commented on Nov 23, 2026

    @whatproblem-ai

    The seam table pairs each capability with an owner and a verification requirement, and R-02 is ordered before any metric work. That makes this programme actionable as written.

    In your terms: build an estate-aware Hypatia review lane that runs first as a bounded, offline baseline across the estate. It reuses existing components such as KYAML/Workflow, OutcomeTracker, ActionsLock, Pons, Plasma, panic-attack and the fleet dispatcher. Paid reviewers stay on as independent benchmarks until Hypatia shows adjudicated high-severity parity at measured cost. Unavailable tools surface as BLOCKED or UNKNOWN, never as a pass.

    One thing R-06 and R-08 will need: what threshold counts as parity, for example a minimum confirmed-TP rate and corpus size, and where the cost baseline for paid reviews will come from.

    flowchart TD
        A[📊 S-01 Discovery census] --> B[🔄 S-02 Format-aware parse]
        B --> C[🔄 S-03 Domain analysis]
        D[⚠️ S-04 External review import] --> E[💾 S-05 JCS finding identity]
        C --> E
        F[🔄 S-06 Hypothesis to falsifier] --> C
        E --> G[✅ S-07 Qualification]
        G --> H[🚀 S-08 Fleet routing]
        H --> I[🔒 S-09 Read-only rollout]
        I --> J[R-08 Exit decision]
    
    Loading

    🏆 Clarity Score: 92% - Clear and concise! 🎯

    ⌨️ Commands · 💬 Have feedback? Tell us · 🎯 New here? Add WhatProblem to your repo · 🔒 Privacy

  3. coderabbitai commented on Nov 23, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #1019 - fix(prevention): require execution receipts and apply the governance baseline [merged]
    #1114 - docs(design): propose a rule for merges of findings (merge honesty) [closed]
    #958 - fix(ci): re-point standards callers to metadatastician/standards [merged]
    #985 - fix(E0): prevent unverified outcomes leaking into cross-repo learning [open]
    #1208 - fix(ci): stop piping into a quiet grep (RE011) [closed]
    #1036 - One parsed workflow model (#971); prove RE001's egress decision and the KYAML alias budget [merged]
    #1064 - CI failure triage rules: layered precedence, rerun budget, WF029, replay corpus [closed]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  4. whatproblem-ai commented on Nov 23, 2026

    @whatproblem-ai

    🤖 WhatProblem only responds to issues and comments written by people.

    This one came from coderabbitai[bot], so we skipped it. Automated issues from CI, linters and dependency bots are usually already actionable, and skipping them keeps your monthly allowance for the issues your team writes.

    You'll see this note at most once a month per repository. If you would rather we did respond to automated issues, tell us below.

    ⌨️ Commands · 💬 Have feedback? Tell us · 🔒 Privacy

  5. added
    cicd
    governance
    priority:p3
    refactor
    scope:estate
    on Nov 23, 2026
  6. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    R-01 discovery receipt (2026-11-23; read-only)

    Enumerated all pages of the 4 currently accessible GitHub App installations via list_repositories_by_installation, 100/page, terminating on a short page. The connector's page_offset behaves as a 0-based page index, despite describing itself as an offset; earlier inventory attempts passing 100 instead of 1 incorrectly appeared to end after the first 100 results. The new enumeration tested pages 0,1,2,3,4 for hyperpolymath.

    Installation Page sizes Entries Distinct Archived Public Private
    hyperpolymath (172228604) 100,100,100,100,6 406 406 2 367 39
    catachresis-colloquium (172234155) 35 35 35 0 33 2
    metadatastician (172234232) 52 52 52 0 45 7
    stuff-of-awe (172234265) 37 37 37 0 37 0
    Total 530 530 2 482 48

    Archived: hyperpolymath/rescript, hyperpolymath/linguist. Every returned repository had a default_branch name; this read did not resolve all 530 default-branch commit SHAs. The inventory is a connector-visible census at observation time, not a signed immutable snapshot or proof of comprehensive GitHub ownership.

    R-01 status: repository enumeration complete for current installations; scan baseline NOT DONE (0/530 scan receipts produced by this step). Before marking R-01 accepted, freeze the full ID/name/default-head list, check install access/ruleset differences and identify intentionally excluded archived/empty repos. No paid Codex review backfill has been triggered by this receipt.

    The scope is now 528 non-archived repositories, not the 100-repo first-page sample mistakenly inferred earlier.

  7. whatproblem-ai commented on Nov 23, 2026

    @whatproblem-ai

    The 528 non-archived repository count gives R-01 its denominator. The finding that page_offset is a 0-based page index explains the earlier undercount, where the census stopped after the first 100 repos. R-01 stays open: the 530 default-branch SHAs are not yet resolved or frozen, and 0/530 scan receipts exist. The pagination quirk is a good candidate for an S-01 collector fixture, so that truncation cannot return silently.


    ✅ Nothing further needed. Clarity: 88%

    ⌨️ Commands · 💬 Have feedback? Tell us · 🎯 New here? Add WhatProblem to your repo · 🔒 Privacy

  8. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    R-02 source-level pilot adjudication (not an execution receipt, 2026-11-23)

    Fetched the reviewed commit source rather than treating AI comments as truth.

    Observation Source evidence Provisional disposition
    Vocarium#74 P1, reviewed 0e62000f... .ecrc contains "Disable":{"Indentation":[...]}, an array at the field Codex identifies as boolean in editorconfig-checker v3.2.1. The PR head has since advanced to 245940f7...: compare shows .ecrc deleted and .editorconfig-checker.json added (with "IndentSize": true). Supported source-level defect on reviewed SHA; previous review is now STALE for current head. The proposed replacement's tool compatibility and runtime validation are not yet independently executed.
    Cytoville#17 P1, 0c78d940... scripts/check-ci-gate.sh sets deadline=$((SECONDS + 3300)) = 55 min. rust-ci.yml has windows-native timeout 20 min, a subsequent dependent acceptance call to e2e.yml, and that reusable sets timeout-minutes: 60; rust-ci.yml is in ci/required-workflows.txt. Confirmed source-level timeout incompatibility / feasible false-negative gate. No full timed hosted run performed.
    Cytoville#17 security P2 .github/workflows/ci.yml checks out the PR revision without an explicit trusted ref and then runs tests/workflows/ci_gate_test.sh and scripts/check-ci-gate.sh from the same tree; reviewer points to mutable ci/required-workflows.txt. Supported trust-boundary concern, needs a negative adversarial fixture and branch-protection analysis before qualification.
    Awesome Zig#20 P1, 50a58cf... .github/workflows/actions.lock has governance.yml: [], hypatia-scan.yml: [] and only direct action dependencies. Both corresponding workflows have job-level reusable calls at pinned 1ded685.... The existing scripts/update-actions-lock.sh documents that the extension does not understand reusable-workflow uses and their transitive lock dependencies. Source-level lock-closure gap substantiated; verify against upstream called-workflow dependencies and GitHub startup result before calling runtime-failed.
    First Post#33 Codex most recently reports no major review findings at 12a78f...; older receipts explicitly report review quota exhaustion. The current PR head matches 12a78f.... No findings reported in this scope, not an independently proven clean codebase; earlier quota failures are distinct events.

    Important methodology: these source observations can seed counterexample fixtures but must not create OutcomeTracker successes or falsely promote model output to a proof. Pin the corpus to the reviewed SHAs, add negative controls showing correct configurations, and test against current heads separately. One of four pilot heads (Vocarium) has already moved; current-head equality must be checked every time.

  9. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    Implementation checkpoint — 2026-11-23

    Two draft, unmerged PRs are now open, deliberately stacked:

    1. #1216, feat/review-observation-admission-20261123 at 37cd2b44: pure non-authorising admission, negative tests, format policy note. Main CI, Docs & Code Quality, E2E/Integration, KYAML, proof, CodeQL and other applicable workflows PASS. Security FAILS on Rust dependency advisory RUSTSEC-2026-0592 (separate #1219). All five review threads, including a confirmed P1 rejecting legitimate URLs, have been either bot-resolved or answered and resolved after the corrected code passed tests. PR remains draft.
    2. #1218, feat/review-github-collector-20261123, base feat(review): non-authorising external observations and read-only GitHub collector #1216 branch, currently d60920c9: GET-only bounded GitHub REST intake via an authenticated gh session, pinned numeric bot account identity, exact subject/head double-read, budgeted pagination, strict error treatment, filtered review-comment markers, no output of bot prose, read-only Mix task and injected-API regression tests. No dispatch, auto-fix, learning, JCS receipt, merger or paid review trigger. Stacked PR does not activate the main CI workflow because that workflow is PR-to-main scoped. Other checks are running; do not claim Elixir compile/format passed for feat(review): bounded read-only GitHub bot-review collector #1218 until an applicable runner actually does so. CodeRabbit automatically skipped review of its non-default base; no paid re-trigger was requested.

    Readiness boundary: the two PRs are not approved to merge. The core PR has completed its functional suite but remains security-blocked; the collector is still unverified for its own new Elixir test suite. The external-review benchmark must retain different statuses for "reviewer reported no findings", "quota exhausted", "no bot observations", "stale head" and "current independently verified repair".

    Next: check the latest #1218 integration run for whether its full mix test --include integration executed the new tests; fix any defects; inspect the unrelated security repair work order; use exact recorded API event IDs for the read-only live pilot only after validation. No blanket external-review backfill across 530 repositories has been launched.

  10. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    R-03 collector testing update: stacked draft PR #1218 had a completed successful integration test job at branch commit d60920c9f50a1ab26c2857c57c74d3578e9862af; its runner log reports 3,751 ExUnit tests, zero failures, 3 skipped (246 excluded) from mix test --include integration (job 137443337283). A subsequent minimal hardening commit 4d0e9b11 explicitly pins gh api --hostname github.com and captures CLI errors rather than relaying raw stderr. Its follow-up workflow checks are still in progress, so do not transfer the earlier pass to the new head. No authenticated live collector pilot, no I-JSON/JCS evidence store, no 528-repository scan or paid-review backfill has been executed. Parent #1216 remains draft with all applicable functional workflows passing and Security blocked by the independently verified pre-existing url 2.5.8 advisory (#1219).

  11. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    Authenticated pilot completed — 2026-11-23

    Ran the actual unchanged Hypatia.ReviewGithubCollector.collect/3 source loaded at parent PR #1216 head 6902269cc94f3618cd5d88fe2aa9c7cbb9947cf1 on a connected WSL Elixir/OTP machine against four live GitHub PR REST endpoints. GET-only; no repo writes, no paid reviews triggered, no new comments on the pilot PRs.

    Environment qualification: WSL Elixir 1.18.3/OTP 27 had locally compiled Jason bytecode incompatible with this VM (the first attempt failed during module type checking before collection). For this isolated live transport pilot, a temporary OTP 27 :json.decode/1 adapter fulfilled the Jason.decode/1 interface. No production module or source file was edited to replace Jason. Hypatia's GitHub CI separately compiled and ran the actual Jason dependency successfully. Thus the live pilot verifies the same collector logic and live API interaction but not Jason's local bytecode interoperability.

    Subject Current API head Recognised source events Classification
    stuff-of-awe/awesome-zig #20 50a58cf134341b41b6e5b6a66f7b440c3ffe4e39 4 2 current inline findings, 2 submission-status unknown
    hyperpolymath/vocarium #74 245940f7192f621b376bb81a7b7e0af52a4104f9 10 All observations correctly stale (original review SHA 0e62000f...)
    catachresis-colloquium/Cytoville #17 0c78d94062816a0bf06531a1b8f001613565de30 13 Separate current security/code findings plus stale historical records
    metadatastician/first-post #33 12a78f13591342541a9b5884c21ca1ed4c6377de 2 Current CodeRabbit finding and unavailable submission; no invented clean Codex result

    Independent parity: Queried the GitHub connector for each subject's PR metadata and discussion events after the pilot. 29 of 29 collector-admitted IDs were present, all four live head SHAs matched. This verifies source-event identity and current/stale classifications at these pilot heads, not complete source coverage across missing event categories, not correctness of any finding, not external provider execution attestation, and not strict atomicity during pagination.

    In all observations: qualification=unqualified and merge_approval=false. The collector output has no free-text bot instructions. Repeated reads passed without detected inventory changes on the four pilot requests.

    Remaining R-03/R-04 gates: versioned Codex issue-summary and rate-limit adapters, pre-commit.ci check-run adapter; authoritative I-JSON/JCS/JSONL receipts (no Jason-only canonical claims); independently verified rule detections and adjudication against current code; open Rust security issue #1219. Do not retire paid reviewers based on source-ID parity alone.

  12. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    Next admission seam R-04: canonical review evidence (contract grounded in current estate policy)

    Verified against standards DATA-FORMAT-ROUTING and the current ijson-jcs README, 2026-11-23. The existing collector output is an in-memory Elixir map, not yet a canonical receipt.

    Implementation contract and acceptance:

    1. Materialise a versioned, schema-validated observation envelope containing immutable GitHub repo/pr/source_event_id/original_reviewed_sha, current-HEAD observation, GitHub API actor ID, provider/scope, collection attempt ID, collection revision, API status, qualification=unqualified, merge_approval=false, and explicit review_run_status=unknown. Never include credentials or raw reviewer instructions in a promotion-ready record. A repeated stable REST inventory is not an atomic snapshot.
    2. Validate text before building the canonical receipt; do not parse to a lossy generic map and then pretend duplicate keys or out-of-range numbers could still be detected. Reject duplicate keys, unsafe Unicode, non-finite numbers and other strict I-JSON violations. Verify UTF-16 key ordering and JCS number formatting using authoritative ijson-jcs negative/positive corpus.
    3. Distinguish three byte profiles. ijson-jcs canon emits JCS library/wire bytes with no final LF, suitable for the content hash; a file record must be those bytes + exactly one final LF (ijson-jcs check --profile estate-file); JSONL requires one canonical record per line, no blank lines and one final LF (check-jsonl). Hash the declared byte profile, not whichever string Jason happened to emit. No self-signed “verified” statuses.
    4. Pin the canonicaliser and standards revisions and record the executable identity, hash and version in an inspectable build receipt. Fail closed if unavailable. The authoritative routing document explicitly says kyq’s native binary did not build as of its 2026-11-17 measurement; its 68/68 JavaScript conformance pass does not establish a working kyq CLI. Until native kyq is qualified, use the already specified transitional scripts/check-ijson-jcs.sh / canonical ijson-jcs profile instead of inventing a kyq gate.
    5. Preserve JSONL/NDJSON framing and consumer filenames; JSON-LD document canonicalisation does not mean RDF dataset canonicalisation. DEED/K9/coordination are out of this four-format route and retain their own ANBF validators. Never generate legacy A2ML files.
    6. Add negative fixtures: duplicate keys, over-range integers, surrogate/noncharacter strings, LF/no-LF, blank JSONL records, reordered objects, mismatched SHA/source event, forged learning_eligible, a missing canonicaliser, malformed review summary and non-atomic source pagination. Test both canonical and rejected bytes in CI. Keep the resulting receipt observation-only, not learning-eligible or merger-authorising.

    Status: design contract, not implemented code and not an executable gate; the 29/29 pilot establishes source-event parity only. Implementation should be separately reviewable after the current draft PR and its inherited security blocker #1219 are reconciled.

  13. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    S-03 follow-up is now implemented in draft #1220, stacked on #1216: strict non-authorising restricted ASCII/no-JSON-number envelope, deterministic byte hashing using existing E0 Receipt encoder, negative/positive ExUnit suite and CI registration. Isolated WSL tests: 10/10 passed; exact formatter OK. One positive encoded sample matched cached ijson-jcs 0.1.0 CLI bytes, but this binary lacks modern --profile and is not provenance-pinned; do not claim canonical JCS qualification. Full E2E integration still running; Security on parent #1216 still blocked by #1219. No persistence, signing, merge, dispatch or learning action performed.

  14. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    2026-11-23 follow-up: canonical S-03 gate implemented and inherited RustSec repair independently validated

    S-03 draft #1220: The restricted ASCII/no-JSON-number review-evidence encoder now has a blocking pinned differential job in Hypatia's main CI roll-up. It checks out hyperpolymath/ijson-jcs@1735d68768920f6f59667c9ba2c84769d8d45336, builds the upstream Rust CLI with --locked outside Hypatia's Cargo workspace, compares six generated evidence envelopes byte-for-byte against canon, validates library vs on-disk LF, rejects five malformed I-JSON text inputs, and checks four JSONL framing cases. CI 45149544559 passed the full pinned job and the CI/gate roll-up. Later S-03 HEAD 1a765cc9... corrected an RE011 quiet-grep SIGPIPE finding; its Governance job is now green, with full current-head E2E still completing. No persistence, signatures, merge authority or learning credit has been introduced.

    Security draft #1225: The inherited RUSTSEC-2026-0592 lockfile defect is now a four-line, Cargo-generated dependency update, independent of #1216/#1220. Tool-generated url 2.5.8→2.5.9 and form_urlencoded 1.2.2→1.2.3 with exact registry checksums; cargo metadata --locked succeeded. Security run 45150576721 passed both Rust security gates and its full status roll-up; Rust CI has also passed. Remaining full CI/E2E checks and human review are separate. The issue stays open pending merge to main. No audit bypass.

    Next: complete current-head checks, integrate #1225 into main through reviewed workflow, update/rebase #1216 and its stacked #1220, then progress provider/check-run adapters and evidence persistence with strict idempotency. 29/29 source event parity remains evidence-ingestion coverage only, never independent detection parity.

  15. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    Live negative control for provider-status admission — security PR #1225 (2026-11-23)

    This real PR supplies a useful R-03 fixture without paid re-requesting:

    • PR #1225 modifies only Cargo.lock. The CodeRabbit review-summary post says "Review skipped due to path filters" and lists Cargo.lock excluded by !**/*.lock. This is no review coverage, not a clean result.
    • Its Codex review-summary comment reports code_review.status="failed" at the correct HEAD, with has_any_findings=true and has_unresolved_findings=true, but its human-readable message explicitly says "We couldn’t complete this review" and there are zero identified Codex inline findings in the PR discussion returned by GitHub. The booleans cannot be interpreted as verified findings or successful review completion. Treat the provider attempt as unavailable, with contradiction/missing-source markers; require independently identified inline event IDs before counting findings.
    • The separate Security workflow succeeded (both Rust security gates, Trivy, CodeQL, secret checks, Security Status). These are independent test results for the narrowly generated lock update, not Codex/CodeRabbit coverage.

    Adapter acceptance: model provider-run completion/partial failure, path-excluded files, quota and attempt IDs separately from posted finding events. Never use an external bot has_any_findings flag alone as the source of a positive or negative ground-truth finding. Do not re-request paid Codex/CodeRabbit automatically to resolve ambiguity.

  16. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    S-04 read-only pre-commit.ci check-run seam is implemented in draft #1226, stacked on S-03 #1220. It matches native app ID 68672 / slug pre-commit-ci / exact pre-commit.ci - pr run name and current SHA; twice paginates and refuses bad totals, IDs, head mutation, or API errors. 12 injected tests passed, all three Elixir files formatted. Operational GET-only pilot on awesome-zig #20 correctly reports NOT OBSERVED, not passed; none of five inspected pilot heads had a matching check-run. No provider execution was triggered, and no merged/qualified evidence claimed. Full integrated CI and real positive-provider case remain gates. Existing RustSec issue #1219 separate.

  17. hyperpolymath commented on Nov 23, 2026

    @hyperpolymath
    OwnerAuthor

    S-04 integration checkpoint: draft PR #1226 head a4f3e5ffe5ce5553bb3d7723f868add85a3bccb0. GitHub E2E Elixir step 3,783 tests, 0 failures, 3 skipped (246 excluded); CLI integration passed. Isolated S-04 negative controls: 12/12 pass; all three Elixir files formatted. Authenticated GET-only operator pilot on awesome-zig #20 correctly emits NOT OBSERVED with zero matches; a bounded public positive-event search of four repos (up to six current open PR heads each) found no positive pre-commit.ci app-ID-68672 event, so positive source qualification remains OPEN, not a clean-provider claim. No dispatch, autofix, rerun, PR merge, evidence signing or E0 learning. Parent #1216's independent RustSec #1219 remains blocker. Verification comment.

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

    automationcicddecisiongovernancepriority:p3refactorscope:estate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions