epigov: live epistemic-hygiene runtime — CTEST runner + Bias/Calibration passports (hellgraph#53) - #331
Merged
Merged
Conversation
Turns the standard-rich/runtime-poor Hygiene layer into a standing, teeth-verified producer (hellgraph#53, seated under Crown ADR-0004 / hellgraph#52). tools/hygiene_runtime.py (deterministic, stdlib + jsonschema): - run_ctest(): CTEST runner producing CountertestRunArtifact. No falsifier / no counter-test obligation -> epistemically_void (Crown T1 / SILENT Phase-0, eik#2). Affirming-the-consequent -> confirmed + REJECTED_AFFIRMING_THE_CONSEQUENT (Crown D1 / firewall eik#3). Passing counter-test -> admitted. - produce_bias_passport() / produce_calibration_passport(): emit HygieneRunArtifact passports; a detection lacking a governed id is REJECTED before emission. - id-namespace enforcement against the vendored governed map; every artifact sealed with a proof-artifact-spine SHA-256 receipt. Schemas evolved additively (existing examples stay valid): hygiene finding_type +cognitive_bias/+logical_fallacy, optional finding_detector_id/hygiene_profile/ calibration_state; countertest verdict +epistemically_void, +rejection_code. Vendors tools/epigov/detector-id-map.vendored.json (byte-copy projection of the sociosphere canonical, with source SHA-256s; teeth for the map live in sociosphere CI). Wired into make validate as validate-hygiene-runtime (GitHub-hosted). 15/15 selftest teeth pass; example artifacts + receipts committed. Consume-not-fork.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Turns the standard-rich / runtime-poor epistemic-hygiene layer into a live, teeth-verified producer — the follow-up item 1 named in the Crown constitution (hellgraph#52, ADR-0004). This is hellgraph#53.
tools/hygiene_runtime.py(deterministic; stdlib + jsonschema):run_ctest()→CountertestRunArtifact.epistemically_void(Crown T1 / SILENT Phase-0 gate, eik#2).confirmed_finding+rejection_code: REJECTED_AFFIRMING_THE_CONSEQUENT(Crown D1 = SILENT firewall's affirming-the-consequent guard, eik#3).refuted_finding(claim admitted).produce_bias_passport()and Calibration Passportproduce_calibration_passport()→HygieneRunArtifact(hygiene_profilebias-passport / calibration-passport). A detection lacking a governed id is REJECTED before emission.Teeth (
make validate-hygiene-runtime, GitHub-hostedvalidatejob)--selftestproves both directions: id reconcile + drift rejection; all five set-1 biases resolve to governed ids; passports schema-conformant + sealed; ungoverned / id-less detections rejected; CTEST void / admit / D1 paths; non-conformant runner output rejected; determinism. 15/15 locally.Schema evolution (additive — existing examples stay valid)
hygiene
finding_type+=cognitive_bias/logical_fallacy; optionalfinding_detector_id,hygiene_profile,calibration_state. countertestverdict+=epistemically_void; optionalrejection_code. The existingvalidate-epigov-artifactsjob stays green.Consume-not-fork
Vendors
tools/epigov/detector-id-map.vendored.json— a byte-copy projection of the sociosphere canonical map (standards/epistemic-governance/), with source SHA-256s in_provenance. Teeth for the map itself live in sociosphere PR #554 (validate_detector_id_map.py). CTEST dispatch + Test-Obligation pattern reuse Noeticareasoner.tsCTEST_ROUTING/ PR #570 and the SILENT firewall (eik #2/#3) by reference. Seedocs/epigov-hygiene-runtime.mdfor the bind-upward seat table.