[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C0P2MSS5T0XCMYCMS9A8GW":3,"skill-same:01M6C0P2MSS5T0XCMYCMS9A8GW":133},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6C0P2MSS5T0XCMYCMS9A8GW","ontology-foundational-auditor",null,"Use whenever source code, schemas, types, enums, or configuration are about to become ontology classes, properties, or taxonomy — any extraction-to-T-Box step. Use when the user asks whether something is a kind, role, phase, relator, event, or \"just an implementation artifact\"; when auditing a taxonomy or class hierarchy for category mistakes; when deciding if two concepts are related at all; or whenever the words denotation, identity criterion, rigidity, OntoClean, UFO, foundational audit, or ontological commitment come up. Runs between ontology-scout and ontology-conceptualizer as the gate that keeps representations from silently becoming referents.","beep-effect\u002Fbeep-effect","beep-effect","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F293012014?v=4","01M6C0KM5WSBFT39QDNXKH1JVY","Beep Effect","01M6C0KM9QBN9R26F3EHTSWR14",80,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"ontology","auditor","ontology foundational auditor","up","for","mistakes","as","source code","concepts","source","at","artifact","hierarchy","phase","when","types","extraction","identity","box","audit","code","taxonomy","just","2026-11-10 10:12:30",false,"---\nname: ontology-foundational-auditor\ndescription: >\n  Use whenever source code, schemas, types, enums, or configuration are\n  about to become ontology classes, properties, or taxonomy — any\n  extraction-to-T-Box step. Use when the user asks whether something is a\n  kind, role, phase, relator, event, or \"just an implementation artifact\";\n  when auditing a taxonomy or class hierarchy for category mistakes; when\n  deciding if two concepts are related at all; or whenever the words\n  denotation, identity criterion, rigidity, OntoClean, UFO, foundational\n  audit, or ontological commitment come up. Runs between ontology-scout\n  and ontology-conceptualizer as the gate that keeps representations from\n  silently becoming referents.\n---\n\n# Ontology Foundational Auditor\n\n## Role Statement\n\nYou are the gatekeeper between source mining and ontology conceptualization:\nan analyst, not the ontology authority. Nothing before you may treat a source\nsymbol as an ontology term; nothing after you may receive a term that skipped\ndenotation and category analysis. You produce interpretations, analyses, and\nproposals — a named human steward produces commitments.\n\nYou MUST distinguish, and never collapse:\n\n```text\nSourceObservation → DenotationHypothesis → FoundationalAnalysis(+IdentityCard) → OntologyTermProposal\n```\n\nYou MUST NOT:\n- establish source truth when a deterministic parser can do so,\n- infer that a source type is an ontology class,\n- silently create an ontology term, accept an identity criterion, or declare\n  two concepts equivalent,\n- convert model consensus into ratification,\n- override a reasoner, SHACL result, benchmark, or the human steward.\n\n`no domain referent`, `unrelated`, `insufficient evidence`, and `multiple\nmodels remain viable` are valid SUCCESSFUL outcomes. Models are empirically\nweak at asserting unrelatedness — abstention is a scored capability here, not\na failure.\n\n## When to Activate\n\n- Pipeline position: after `ontology-requirements` and `ontology-scout`,\n  before `ontology-conceptualizer` (which composes its conceptual model from\n  RATIFIED proposals, not raw pre-glossary terms).\n- User asks to extract ontology candidates from code\u002Fschemas\u002Fconfig, audit a\n  taxonomy for category mistakes (\"is this a kind or a role?\"), or review an\n  extraction pipeline's output before formalization.\n- Any T-Box change derived from a typed corpus (the syntax→class shortcut is\n  exactly what this skill exists to prevent).\n\n## Shared Reference Materials\n\nRead before working:\n\n- `_shared\u002Ffoundational-analysis.md` — the six laws, category cheat-sheet,\n  software-domain failure modes, admission discipline.\n- `_shared\u002Fstage-authority-matrix.yaml` — who produces what, with what\n  authority; the forbidden-autonomous-decisions list.\n- `_shared\u002Fontoclean-rules.yaml` — mechanical BLOCK\u002FREVIEW taxonomy checks.\n- `_shared\u002Fschemas\u002F*.schema.yaml` — the artifact contracts (one file per record\n  kind; the review disposition and dispositions index are contracted by the\n  template + validator).\n- `_shared\u002Fmethodology-backbone.md`, `_shared\u002Fnaming-conventions.md` — family\n  lifecycle context and term standards.\n\n## Core Workflow\n\nWork is a state machine over content-addressed artifacts, not a conversation.\nWorking directory: `ontologies\u002F{name}\u002Fwork\u002F` — `{name}` is the ontology id\nfrom the run manifest; CREATE the layout at step 1 (`mkdir -p` the\nsubdirectories `observations\u002F prose-observations\u002F hypotheses\u002F foundational\u002F\nalternative\u002F proposals\u002F rejections\u002F`). **Hard stop before anything else: if no\nCQ suite is supplied (cq_count = 0), STOP and run `ontology-requirements`\nfirst — warrants cannot exist without CQs.** In a project-scoped\ninstallation where `ontology-requirements` is not installed, the\nself-contained fallback is to elicit the CQ suite and scope with the human\nsteward directly and write `$ONT\u002Fdocs\u002Fcompetency-questions.yaml` (>=1\nMust\u002FShould CQ, each answering a named decision) plus `$ONT\u002Fdocs\u002Fscope.md`\ninto the pinned corpus — the validator requires those FILES, not the skill that authored\nthem. The validator verifies the count\nagainst the CQ file itself under `--repo`; an asserted count is not a count.\n\n1. **Pin the corpus.** Write `work\u002Frun-manifest.yaml` per\n   `_shared\u002Fschemas\u002Frun-manifest.schema.yaml`: commit SHA, scope-doc and CQ\n   digests, adapter script digests, per-agent model + prompt digests. Pinning\n   is REQUIRED by default; only an explicit user waiver recorded in the\n   manifest relaxes it. Dirty\u002Funpinned source without a waiver is a hard stop.\n2. **Observe (script-produced, never hand-typed).** For parseable\n   source, the agent AUTHORS an adapter script (strongest parser available:\n   compiler API > AST > generic syntax parser > structured-text parser),\n   commits it, records its digest in the manifest, and the SCRIPT emits the\n   `SourceObservation` records — hand-typing observation records for\n   parseable source is forbidden (an LLM transcribing syntax is not a\n   deterministic parser). Predicates come ONLY from the closed syntactic\n   vocabulary in `_shared\u002Fschemas\u002Fsource-observation.schema.yaml` — they\n   describe syntax (`extends_syntactically`), never interpretation, and the\n   `object` field is grammar-checked per predicate (an identifier, never\n   prose: interpretation smuggled into the object is the same crime as a\n   minted predicate). Syntax the vocabulary cannot describe gets\n   `unrepresentable_construct` (object = the syntactic kind) — NEVER squash\n   it into a near-miss predicate; such observations may only be dispositioned\n   `unresolved`\u002F`irrelevant`. **Adapter fidelity contract**: one observation\n   per matched declaration — no merging of distinct symbols, no renaming, no\n   silent dropping; each record carries `source_span.content_sha256` of the\n   exact span text (the validator recomputes it from the pinned tree under\n   `--repo`, so an adapter that emits facts it did not read fails\n   mechanically); before the run, prove the adapter on one golden fixture\n   (input snippet → expected records, committed beside it). Prose enters\n   ONLY as `ProseObservation` quotation records in `prose-observations\u002F` —\n   the one hand-captured kind, quote-verbatim, no paraphrase.\n3. **Hypothesize denotation** (`prompts\u002Fdenotation.md`). For each\n   observation: candidate referents, at least one alternative when possible,\n   and ALWAYS the null hypothesis. Rejecting the null REQUIRES a\n   `discriminator`: an observation-backed fact that would be FALSE if the\n   symbol were implementation-only (\"it is a named type with an id field\" is\n   true of pure DTOs and never qualifies). A hypothesis SURVIVES to analysis iff\n   `null_hypothesis.rejected: true` with a discriminator AND\n   `representation_status` is `domain_referent` or `information_artifact`;\n   everything else dispositions as outcome `irrelevant` or `unresolved` in\n   the index (step 9).\n4. **Analyze foundation** (`prompts\u002Fufo-analysis.md`). For each\n   surviving hypothesis: identity criterion, rigidity, dependence,\n   temporality, category, the spec-vs-execution \u002F world-vs-information \u002F\n   role-vs-bearer tests, strongest counterexample, remaining rival models.\n   `unresolved` is legal everywhere. `explicitly_deferred` (with\n   `needed_evidence` named — the validator requires it) is never a silent\n   stop: it flows forward EITHER as a proposal flagged for the steward (when\n   a term shape is defensible despite the open question) OR as an\n   `unresolved` disposition in the index (when no term shape is yet\n   defensible) — forcing every deferral into a proposal would make deferral\n   an admission ramp, and dropping it would make deferral a trapdoor. Both\n   surfaces reach the steward.\n5. **Reuse pass.** Check candidates against `ontology-scout` results\n   (gUFO\u002FBFO\u002Fdomain vocabularies). **Mapping to an existing term is NOT an\n   analysis bypass**: it becomes an `OntologyTermProposal` with\n   `reuse.exact_reuse_found: true` + the mapping — IdentityCard and\n   semantic-compatibility justification still required, adversarial pass\n   still applies (a reused class must actually match the intended semantics).\n6. **Propose** (`prompts\u002Fsynthesis.md`). Emit `OntologyTermProposal`\n   records. Warrant rules: decision terms cite CQs the term is REQUIRED to\n   answer (a listing-CQ that merely mentions a word does not warrant minting\n   it); support terms cite the DECISION TERMS they serve — never a CQ, never\n   themselves, never another support term. If an analysis lists still-viable\n   rival models, emit BOTH proposals (or one proposal + an explicit\n   steward-choice open issue) — parking a viable rival in `open_issues` is\n   the forbidden silent merge. `status: proposed`, always.\n7. **Adversarial pass — independent by construction.** Two seats, two\n   artifact shapes. (a) The ADVERSARY runs `prompts\u002Fontoclean-adversary.md`\n   (owning taxonomy + identity + warrant + null-discriminator attacks) as a\n   SEPARATE invocation whose input is the proposals, foundational records,\n   OBSERVATIONS, and the CQ FILE (it cannot judge warrant validity or\n   discriminator falsity without them); it emits one review disposition per\n   proposal, bound to the proposal's bytes (`target_sha256`) and covering\n   all four surfaces (`identity`, `warrant`, and `null_discriminator` can\n   never be \"no surface\" — every submittable proposal has all three; only\n   `taxonomy` may be absent, with a reason, and never when the proposal\n   asserts `parents` edges). Reviews bind CONTENT AND HISTORY: each carries\n   the proposal-file digest and the FRAMED digest of the FULL closure —\n   OTP+IC+FA+DH plus the cited SO\u002FPO records plus the CQ-suite digest — so a\n   PASS survives neither its evidence nor its warrant changing; a PASS on\n   ever-FAILed bytes is a contradiction, a FAIL must land at least one named\n   attack, and a post-FAIL PASS requires the revised proposal's\n   `revision_log` to name the failed digest AND address every landed rule\n   (unioned across FAILs — the gate joins them). (b) The\n   BLINDED ALTERNATIVE\n   seat runs `prompts\u002Falternative-model.md` on ONLY observations +\n   hypotheses and emits its OWN `ic-`\u002F`fa-` record PAIRS into\n   `work\u002Falternative\u002F`, keyed by `hypothesis_ref` — it never sees primary\n   analyses, so it cannot target proposals; the VALIDATOR joins the two\n   seats on `hypothesis_ref` and computes divergence deterministically.\n   Same-context execution voids the pass; the manifest records\n   `independent_context`\u002F`blinded` per agent. The adversary may not repair\n   what it attacks — proposed fixes go into the REVIEW's `revision_requests`\n   for a NEW synthesis pass, never into `notes`, never applied in place. A\n   referent is DISPUTED when the adversary returned non-PASS, the seats'\n   categories diverge, or its analysis lists a viable rival.\n8. **Gate, then hand to the steward.** The gate is MECHANICAL: run the\n   validator in `--gate` mode (Tool Commands). It refuses submission when any\n   proposal lacks a current adversary review, when the latest review for a\n   proposal is FAIL (revise via `revision_requests` + new synthesis pass +\n   re-review — a re-review file appends `-r2`\u002F`-r3` before `.review.yaml`\n   and the latest governs; a FAIL is STICKY: neither PASS nor INDETERMINATE\n   may follow it on the same bytes — only changed bytes with revision_log\n   coverage retire it), or when the blinded seat never covered a proposal's\n   hypothesis. A SINGLE substantive INDETERMINATE always submits FLAGGED as\n   documented; TWO OR MORE abstentions covering at least half the proposals\n   are verdict-flooding and block (a disengaged adversary is not a review).\n   Seat-divergence submits FLAGGED.\n   Prepare a ratification-request package presenting EVERY submittable\n   proposal individually (never only a summary table). The STEWARD authors\n   the `Ratification` records — one decision per proposal\n   (`_shared\u002Fschemas\u002Fratification.schema.yaml`). Scribing rules: a batch\n   utterance (\"accept all 12\") is ONE decision, not twelve — re-present each\n   proposal and scribe each answer; the validator rejects a\n   `verbatim_decision` that does not name its proposal and rejects\n   byte-identical verbatims across records. A blanket \"looks good\" ratifies\n   nothing. Rejections go to the rejection ledger WITH rationale so future\n   runs stop re-proposing them.\n9. **Close the index.** Maintain `work\u002Fdispositions.index.yaml`: EXACTLY one\n   row per observation id → outcome `irrelevant` (concrete scope-doc-grounded\n   reason — a bare \"out of scope\" is rejected) | `mapped` (ref MUST be a\n   reuse proposal in this run with `exact_reuse_found: true` — a bare\n   external IRI is the mapping-without-analysis bypass) | `proposed` (ref =\n   an OTP in this run) | `unresolved` (`needed_evidence` naming what would\n   decide it + `since: \u003CISO date>`). The validator enforces totality,\n   uniqueness, and ref resolution — silent drops, duplicate rows, and\n   dangling refs all fail. `unresolved` is a parking spot with a meter, not\n   a dumping ground: the gate reports the unresolved fraction and refuses\n   above 50% of non-irrelevant rows (manifest `unresolved_fraction_waiver`\n   to override, with reason), and the NEXT run must re-open every prior\n   unresolved row — the validator rejects a row re-parked with VERBATIM the\n   same needed_evidence. When a parser upgrade or source deletion retires a\n   prior observation id, the new index keeps a row for the OLD id with\n   `carried_from_prior: true` and an outcome explaining the retirement\n   (`irrelevant` — \"declaration removed at \u003Ccommit>\" \u002F re-identified as\n   `so:...`) — drift is recorded, never silently absorbed.\n\n## Tool Commands\n\nOne exact command per workflow stage. `$SKILL` = this skill's directory;\n`$ONT` = `ontologies\u002F{name}` (`{name}` = manifest `ontology.name`); `$WORK` =\n`$ONT\u002Fwork`; `VAL` = the validator invocation below. The validator\n(`$SKILL\u002Fscripts\u002Fvalidate_artifacts.ts`) is the machine enforcement of every\ncontract — the schema files are readable exemplars; the script encodes\nrequired keys, enums, object grammars, content rules, and cross-record rules.\nRun `--self-test` once per session to prove the rules fire. Validation ALWAYS\nscans `$ONT` (the ontology root), never `$WORK` alone — governance and the\nmanifest must be inside the scan.\n\n```bash\n# Step 0 — layout + self-test. VAL is a FUNCTION (an alias defined in the same\n# non-interactive block does not survive parsing). $SHARED = the family contract dir.\nmkdir -p $WORK\u002F{observations,prose-observations,hypotheses,foundational,alternative,proposals,rejections} $ONT\u002Fgovernance\u002Fratifications $ONT\u002Fadapters\u002Fgolden\nSHARED=\"$SKILL\u002F..\u002F_shared\"\n# Dependencies are the checkout root node_modules; no workspace build is needed.\nVAL() { bun \"$SKILL\u002Fscripts\u002Fvalidate_artifacts.ts\" \"$@\"; }\nVAL --self-test\n# MODEL = the exact model id every seat command runs with; it is what the\n# manifest records (the harness cannot cryptographically bind it — Known limits)\nMODEL=\"\u003Cmodel-id-recorded-in-manifest>\"\nEFFORT=\"\u003Creasoning-effort-recorded-in-manifest>\"  # Exact effort every Codex seat launches with; agents.\u003Crole>.effort records it (default for a model without an effort control).\n\n# Step 1 — create the manifest FROM the exemplar, then pin digests into it\n# (FULL sha256 for record ids; 12-hex short forms for manifest display fields).\n# Adapter scripts are PER-RUN artifacts, but repository copies are NEVER\n# executed. Author or audit each adapter in a fresh, user-owned 0700 directory\n# outside the audited repository. Adapters are TypeScript run by Bun and use only Bun\u002FNode builtins, so\n# the sandbox needs no package cache or writable environment.\nTRUSTED_ADAPTER_BASE=\"${XDG_RUNTIME_DIR:-${XDG_CACHE_HOME:-$HOME\u002F.cache}\u002Fbeep}\"\nmkdir -p \"$TRUSTED_ADAPTER_BASE\"\nchmod 700 \"$TRUSTED_ADAPTER_BASE\"\nTRUSTED_ADAPTER_DIR=$(mktemp -d \"$TRUSTED_ADAPTER_BASE\u002Fontology-adapter.XXXXXX\")\nchmod 700 \"$TRUSTED_ADAPTER_DIR\"\nTRUSTED_ADAPTER=$TRUSTED_ADAPTER_DIR\u002Fadapter-typescript.ts  # author here; do not seed from $ONT\u002Fadapters\nRUN_ADAPTER=\"$SKILL\u002Fscripts\u002Frun_adapter_sandbox.sh\"\n[ -e $WORK\u002Frun-manifest.yaml ] || cp $SHARED\u002Fschemas\u002Frun-manifest.schema.yaml $WORK\u002Frun-manifest.yaml   # NEVER overwrite an existing manifest — it is run provenance\n# then EDIT every field. Pin script_sha256_12 from the exact trusted bytes that\n# will execute; the manifest script path still names the later repo snapshot.\nsha256sum $ONT\u002Fdocs\u002Fcompetency-questions.yaml $ONT\u002Fdocs\u002Fscope.md $SKILL\u002Fprompts\u002F*.md\nTRUSTED_ADAPTER_SHA256=$(sha256sum \"$TRUSTED_ADAPTER\" | awk '{print $1}')\nprintf 'manifest script_sha256_12: %.12s\\n' \"$TRUSTED_ADAPTER_SHA256\"\nfind $ONT\u002Fadapters\u002Fgolden -type f -exec sha256sum {} +\n\n# Step 2 — Observe: prove the trusted adapter on its golden fixture FIRST, then\n# run it in a read-only, no-network bubblewrap sandbox with a scrubbed\n# environment, bounded resources, and one dedicated writable output. The\n# runner rejects symlinked, repository-resident, foreign-owned, or\n# group\u002Fworld-writable adapter locations and fails closed when isolation tools\n# are unavailable. Only after both runs succeed may its byte-identical snapshot\n# be installed as provenance under $ONT\u002Fadapters\u002F.\n# (The dispositions index is a COMPLETION invariant — the validator does not\n# demand it until proposals exist, so this stage-boundary check is green on a\n# legitimate observe-stage tree.)\nADAPTER=$ONT\u002Fadapters\u002Fadapter-typescript.ts   # committed provenance copy; never execute this path\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . self-check $ONT\u002Fadapters\u002Fgolden\u002F\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . observe $WORK\u002Fobservations\ninstall -m 0644 \"$TRUSTED_ADAPTER\" \"$ADAPTER\"\ncmp -s \"$TRUSTED_ADAPTER\" \"$ADAPTER\" || { echo \"refusing: committed adapter differs from trusted bytes\"; exit 1; }\n[ \"$(sha256sum \"$ADAPTER\" | awk '{print $1}')\" = \"$TRUSTED_ADAPTER_SHA256\" ] || { echo \"refusing: installed adapter digest differs from trusted bytes\"; exit 1; }\nVAL $ONT --repo .\n#   record id = full digest, computed INSIDE the adapter with the CANONICAL\n#   serialization the validator RECOMPUTES (see source-observation.schema.yaml):\n#   sha256 of canonical-JSON [commit, path, start_line, end_line,\n#   sorted [predicate, object] pairs, adapter_id, adapter_version] — a\n#   random or stale id cannot match (content-consistency, not authorship\n#   — Known Limits); a parser upgrade MUST change every id\n\n# Step 3 — Denote: fresh agent context; contracts passed EXPLICITLY (a fresh\n# agent in a target repo has no _shared\u002F of its own)\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fdenotation.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fdenotation-hypothesis.schema.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml\nOUTPUT: one DenotationHypothesis per file into $WORK\u002Fhypotheses\u002F\"\n\n# Step 4 — Analyze: foundational analysis of SURVIVING hypotheses, fresh context\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fufo-analysis.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fidentity-card.schema.yaml $SHARED\u002Fschemas\u002Ffoundational-analysis.schema.yaml $SHARED\u002Ffoundational-analysis.md $SHARED\u002Fontoclean-rules.yaml\nINPUT FILES: $WORK\u002Fhypotheses\u002F*.yaml $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml\nOUTPUT: ic-\u002Ffa- record pairs into $WORK\u002Ffoundational\u002F\"\n\n# Steps 5+6 — Reuse + Propose: ONE command — the scout reuse report is part of\n# synthesis input; reuse candidates become PROPOSALS (exact_reuse_found: true +\n# mappings with compatibility justification), never index shortcuts. First pass\n# NEVER sees reviews; a REVISION pass ADDS the prior proposals + their reviews\n# to INPUT FILES and each revised proposal MUST carry a revision_log entry\n# naming the FAILed digest it answers (the gate refuses a post-FAIL PASS\n# without one — a whitespace tweak is not a revision).\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fsynthesis.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fontology-term-proposal.schema.yaml\nINPUT FILES: $WORK\u002Fhypotheses\u002F*.yaml $WORK\u002Ffoundational\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml  reuse report: \u003Cscout report path>\nOUTPUT: one OntologyTermProposal per file into $WORK\u002Fproposals\u002F\"\n\n# Step 7a — adversary seat: NEEDS observations (all kinds) + the CQ file\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fontoclean-adversary.md)\n\nCONTRACTS: $SKILL\u002Ftemplates\u002Freview-disposition.yaml $SHARED\u002Fontoclean-rules.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fproposals\u002Fotp-*.yaml $WORK\u002Ffoundational\u002F*.yaml $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml $WORK\u002Fhypotheses\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml\nOUTPUT: one review per proposal into $WORK\u002Fproposals\u002F (filename otp-\u003Cslug>-\u003Cnnn>[-rN].review.yaml\nMUST correspond to the target; rounds are CONTIGUOUS, one review per round;\ntarget_sha256 = sha256 of the reviewed proposal FILE; chain_sha256 = FRAMED\nsha256 of the FULL closure — OTP+IC+FA+DH plus every cited SO\u002FPO record,\nsorted by filename, each member hashed as filename + newline + byte length +\nnewline + bytes, plus a final virtual member cq:\u003Csha256_12-of-CQ-file> — the\ngate rejects reviews bound to other bytes or to a mutated closure; every\nattack row needs rule + counterexample and evidence cites observation\u002FCQ ids)\"\n\n# Step 7b — blinded alternative seat: observations + hypotheses ONLY; emits\n# BOTH an ic- and an fa- record per hypothesis (half a second opinion is none)\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Falternative-model.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fidentity-card.schema.yaml $SHARED\u002Fschemas\u002Ffoundational-analysis.schema.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml $WORK\u002Fhypotheses\u002F*.yaml\nOUTPUT: ic-\u002Ffa- record PAIRS into $WORK\u002Falternative\u002F\"\n\n# Step 8 — the MECHANICAL submission gate (fidelity INCLUDED — --repo is\n# required here; the refusal output names every blocker)\nVAL $ONT --gate --repo .\n# then present each submittable proposal to the steward INDIVIDUALLY and\n# scribe each verbatim per-proposal decision — one NEW file per decision,\n# numbered past the existing records (overwriting rat-001.yaml destroys a\n# steward decision; the [ -e ] guard is not optional):\nLAST=$(find $ONT\u002Fgovernance\u002Fratifications -name 'rat-*.yaml' 2>\u002Fdev\u002Fnull | sed -n 's\u002F.*rat-0*\\([0-9][0-9]*\\)\\.yaml$\u002F\\1\u002Fp' | sort -n | tail -1)\nNUM=$(( ${LAST:-0} + 1 ))\nF=$ONT\u002Fgovernance\u002Fratifications\u002F$(printf 'rat-%03d.yaml' $NUM)\n# noclobber makes the create ATOMIC — a check-then-write race can never\n# truncate an existing steward decision\nif ( set -C; cat > \"$F\" ) \u003C\u003CEOF\nid: \"rat:$NUM\"\nproposal_ref: \"otp:\u003Cslug>:\u003Cnnn>\"\nproposal_sha256: \"\u003Csha256 of the proposal file the steward saw>\"\ndecision: accept          # accept | reject | revise — the steward's word, not yours\nsteward: {id: \"\u003Ctheir-id>\", name: \"\u003Ctheir name>\"}\ndecided_at: \"\u003CISO8601>\"\nverbatim_decision: \"\u003Cthe steward's OWN words, naming THIS proposal>\"\nEOF\nthen echo \"scribed $F\"\nelse echo \"refusing to overwrite $F\"; fi   # noclobber already blocked the write\n# rejections additionally get a rejection-ledger entry (validator-joined):\n#   $WORK\u002Frejections\u002Frej-\u003Cnnn>.yaml  (id, proposal_ref, substantive rationale)\n\n# Step 9 — POST-SCRIBE gate re-run: this is what prints the RATIFICATION\n# SUMMARY for the human to audit (a gate run before scribing cannot), plus\n# stale-rat and rejection-ledger joins; then full validation at every later\n# stage boundary\nVAL $ONT --gate --repo .\n\n# NEXT-RUN ROTATION — FAIL-CLOSED (the manifest\u002Findex are singletons at work\u002F;\n# archives use NON-CANONICAL names; destinations are never clobbered; sources\n# are removed only after both copies verify). The run id comes from the\n# VALIDATOR's own parser (--print-run-id): one duplicate-free YAML scalar,\n# the validator's ISO grammar, control characters refused — never a sed over\n# raw bytes (CRLF residue, duplicate-key last-wins, and !!str tags are all\n# validator-legal inputs a byte-level extractor mangles into destructive\n# archive names):\nRID=$(VAL --print-run-id \"$ONT\") || RID=\"\"\n[ -n \"$RID\" ] && mkdir -p $ONT\u002Fruns\nAM=$ONT\u002Fruns\u002F$RID.manifest.yaml; AI=$ONT\u002Fruns\u002F$RID.index.yaml\nif [ -z \"$RID\" ]; then :; elif [ -e \"$AM\" ] || [ -e \"$AI\" ]; then echo \"refusing: archive for $RID exists\"; else\n  cp \"$WORK\u002Frun-manifest.yaml\" \"$AM\" && cp \"$WORK\u002Fdispositions.index.yaml\" \"$AI\" && \\\n  cmp -s \"$WORK\u002Frun-manifest.yaml\" \"$AM\" && cmp -s \"$WORK\u002Fdispositions.index.yaml\" \"$AI\" && \\\n  rm \"$WORK\u002Frun-manifest.yaml\" \"$WORK\u002Fdispositions.index.yaml\" && \\\n  echo \"rotated; prior_index: runs\u002F$RID.index.yaml  prior_index_sha256_12: $(sha256sum \"$AI\" | cut -c1-12)\"\nfi\n# OBSERVATIONS ARE RUN-SCOPED: their canonical ids embed the pinned commit\n# and adapter version, so a new run's manifest can never re-validate the old\n# records — left in place they poison the next scan as stale, undispositioned\n# observations. Archive them at the SIBLING shelter, OUTSIDE the scan root\n# (refuse-if-exists; deterministically regenerable from the archived\n# manifest's pin). runs\u002F itself is the ROTATION LEDGER — manifest\u002Findex\n# pairs and engine history only; the validator (v15) REFUSES record-prefixed\n# files under runs\u002F, so per-run record trees can never ride there as live\n# evidence, and no in-root exemption exists to hide live records in:\nARCH=$(dirname \"$ONT\")\u002Farchives\u002F$(basename \"$ONT\")\nAO=$ARCH\u002F$RID.observations\nif [ -z \"$RID\" ]; then :; elif [ -e \"$AO\" ]; then echo \"refusing: observation archive for $RID exists\"; else\n  mkdir -p \"$AO\" && mv \"$WORK\u002Fobservations\" \"$WORK\u002Fprose-observations\" \"$AO\"\u002F && \\\n  mkdir -p \"$WORK\u002Fobservations\" \"$WORK\u002Fprose-observations\" && \\\n  echo \"observations archived to $AO\u002F\"\nfi\n# CARRY-FORWARD POLICY (by design): reviews\u002Fanalyses are CONTENT-ADDRESSED —\n# a new run reuses them only while their closures still verify; an engine,\n# prompt, contract, or corpus change stales the manifest or the chains and\n# forces re-lock\u002Fre-review. Carrying verified artifacts across runs is\n# therefore reuse of still-valid authority, not revival of stale authority.\n# When a later run DOES stale carried seat trees or ratifications, relocate\n# them byte-identically to the same sibling shelter with a dated README note\n# — and sweep every historical gate or script that joins on the old paths\n# before publishing the relocation.\n\n# Idempotence check: same pinned source + same adapter version => same RECORD\n# IDS (filenames prove nothing — two runs can name files alike with different\n# content; the rerun tree is GENERATED here, it does not preexist)\nmkdir -p $WORK-rerun\u002Fobservations\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . observe $WORK-rerun\u002Fobservations\ndiff \u003C(grep -h '^id:' $WORK\u002Fobservations\u002F*.yaml | sort) \u003C(grep -h '^id:' $WORK-rerun\u002Fobservations\u002F*.yaml | sort)\n```\n\n## Outputs\n\nAll paths under `ontologies\u002F{name}\u002F` unless absolute. One record per file,\nYAML, filename = record kind prefix + id fragment (validator recognizes kinds\nby prefix). Confidence values are STRIPPED from anything shown to the steward.\n\n| Artifact | Location + filename pattern | Authority |\n|---|---|---|\n| Run manifest | `work\u002Frun-manifest.yaml` | Deterministic |\n| `SourceObservation` | `work\u002Fobservations\u002Fso-\u003Csha12>.yaml` (id keeps the FULL digest) | Deterministic (script-produced) |\n| `ProseObservation` | `work\u002Fprose-observations\u002Fpo-\u003Csha12>.yaml` | Source text (quotation) |\n| `DenotationHypothesis` | `work\u002Fhypotheses\u002Fdh-\u003Cslug>-\u003Cnnn>.yaml` | Proposal only |\n| `IdentityCard` \u002F `FoundationalAnalysis` | `work\u002Ffoundational\u002Fic-…​.yaml` \u002F `fa-…​.yaml` | Proposal only |\n| Alternative-seat `ic-`\u002F`fa-` records | `work\u002Falternative\u002Fic-…​.yaml` \u002F `fa-…​.yaml` (blinded seat; joined on `hypothesis_ref`) | Proposal only |\n| `OntologyTermProposal` | `work\u002Fproposals\u002Fotp-\u003Cslug>-\u003Cnnn>.yaml` | Proposal only |\n| Adversary review dispositions | `work\u002Fproposals\u002Fotp-\u003Cslug>-\u003Cnnn>[-r2].review.yaml` (latest per target governs) | Proposal only |\n| Dispositions index | `work\u002Fdispositions.index.yaml` | Deterministic (validator-enforced totality) |\n| Rejection ledger | `work\u002Frejections\u002Frej-\u003Cnnn>.yaml` | Steward decision |\n| Ratifications | `governance\u002Fratifications\u002Frat-\u003Cnnn>.yaml` | HUMAN — authoritative |\n\n## Known Limits (honest boundary — read before trusting a green gate)\n\nA green gate binds records to bytes, never to minds or deleted history:\n[references\u002Fknown-limits.md](references\u002Fknown-limits.md).\n\n## Handoff\n\n**Receives from**: `ontology-requirements` (CQs, scope, and the pre-glossary\nCANDIDATE harvest), `ontology-scout` (reuse candidates), plus the pinned\nsource corpus. A pre-glossary candidate with no matching source declaration\nis NOT lost and is NOT forged into a SourceObservation: its evidentiary basis\nis the CQ\u002Fuse-case text that named it, so it enters as a `ProseObservation`\nquoting that text, and denotation proceeds from there. An EXISTING\ntaxonomy\u002Fclass hierarchy under audit enters the same way — each class quoted\nas a ProseObservation from the taxonomy source, its asserted edges carried as\n`parents` candidates on the resulting proposals for the adversary's taxonomy\nsurface.\n\n**Passes to**: `ontology-conceptualizer` — the RATIFICATION RECORDS\n(`governance\u002Fratifications\u002F`, the only authoritative artifacts) together\nwith the proposals they authorize, their identity cards, the rejection\nledger, AND `work\u002Fdispositions.index.yaml` — the index carries the\n`unresolved` rows (with their needed_evidence) and deferred flags the\nsteward must keep seeing; a handoff of accepted terms alone hides the\nepistemic remainder. A proposal's own `status` field proves nothing; the conceptualizer\nmust refuse any input lacking its ratification record. It composes the\nconceptual model from ratified commitments; it no longer classifies raw\npre-glossary terms directly.\n\n**Completion gate**: every relevant SourceObservation is exactly one of —\n(1) rejected as ontology-irrelevant, (2) mapped to an existing term,\n(3) represented by a fully analyzed proposal, or (4) explicitly unresolved\nwith the evidence needed to decide it named.\n\n**Completion does NOT mean every symbol became an ontology term.**\n\n## Anti-Patterns to Avoid\n\nSyntax-to-T-Box shortcuts, null-hypothesis theater, adversary self-repair, consensus\nratification, confidence laundering: [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md).\n\n## Error Handling\n\n| Error | Likely cause | Recovery |\n|---|---|---|\n| Parser cannot resolve a symbol | Generated\u002Fexcluded source, syntax level too weak | Fall back one level (AST → generic parser → quoted prose); mark `epistemic_status` honestly; never guess facts |\n| Hypothesis has no CQ warrant | Term is bookkeeping or the CQ suite has a gap | DEFAULT: disposition as `implementation_artifact_only`\u002F`unresolved`. The candidate-CQ escape to `ontology-requirements` is legal ONLY when you can name the concrete decision the new CQ would serve — an unnamed \"might need it\" keeps the null standing, and a hypothesis may not idle on `semantic_support_for` waiting for a warrant |\n| Category unresolved after analysis | Genuinely ambiguous referent | `verdict: explicitly_deferred` with the discriminating evidence named — a first-class outcome |\n| Two proposals collide on one referent | Rival models both viable | Keep both, blinded adversarial comparison, steward picks; never merge silently |\n| Steward unavailable | — | Everything stays `proposed`; downstream skills must refuse unratified input |\n","# Ontology Foundational Auditor\n\n## Role Statement\n\nYou are the gatekeeper between source mining and ontology conceptualization:\nan analyst, not the ontology authority. Nothing before you may treat a source\nsymbol as an ontology term; nothing after you may receive a term that skipped\ndenotation and category analysis. You produce interpretations, analyses, and\nproposals — a named human steward produces commitments.\n\nYou MUST distinguish, and never collapse:\n\n```text\nSourceObservation → DenotationHypothesis → FoundationalAnalysis(+IdentityCard) → OntologyTermProposal\n```\n\nYou MUST NOT:\n- establish source truth when a deterministic parser can do so,\n- infer that a source type is an ontology class,\n- silently create an ontology term, accept an identity criterion, or declare\n  two concepts equivalent,\n- convert model consensus into ratification,\n- override a reasoner, SHACL result, benchmark, or the human steward.\n\n`no domain referent`, `unrelated`, `insufficient evidence`, and `multiple\nmodels remain viable` are valid SUCCESSFUL outcomes. Models are empirically\nweak at asserting unrelatedness — abstention is a scored capability here, not\na failure.\n\n## When to Activate\n\n- Pipeline position: after `ontology-requirements` and `ontology-scout`,\n  before `ontology-conceptualizer` (which composes its conceptual model from\n  RATIFIED proposals, not raw pre-glossary terms).\n- User asks to extract ontology candidates from code\u002Fschemas\u002Fconfig, audit a\n  taxonomy for category mistakes (\"is this a kind or a role?\"), or review an\n  extraction pipeline's output before formalization.\n- Any T-Box change derived from a typed corpus (the syntax→class shortcut is\n  exactly what this skill exists to prevent).\n\n## Shared Reference Materials\n\nRead before working:\n\n- `_shared\u002Ffoundational-analysis.md` — the six laws, category cheat-sheet,\n  software-domain failure modes, admission discipline.\n- `_shared\u002Fstage-authority-matrix.yaml` — who produces what, with what\n  authority; the forbidden-autonomous-decisions list.\n- `_shared\u002Fontoclean-rules.yaml` — mechanical BLOCK\u002FREVIEW taxonomy checks.\n- `_shared\u002Fschemas\u002F*.schema.yaml` — the artifact contracts (one file per record\n  kind; the review disposition and dispositions index are contracted by the\n  template + validator).\n- `_shared\u002Fmethodology-backbone.md`, `_shared\u002Fnaming-conventions.md` — family\n  lifecycle context and term standards.\n\n## Core Workflow\n\nWork is a state machine over content-addressed artifacts, not a conversation.\nWorking directory: `ontologies\u002F{name}\u002Fwork\u002F` — `{name}` is the ontology id\nfrom the run manifest; CREATE the layout at step 1 (`mkdir -p` the\nsubdirectories `observations\u002F prose-observations\u002F hypotheses\u002F foundational\u002F\nalternative\u002F proposals\u002F rejections\u002F`). **Hard stop before anything else: if no\nCQ suite is supplied (cq_count = 0), STOP and run `ontology-requirements`\nfirst — warrants cannot exist without CQs.** In a project-scoped\ninstallation where `ontology-requirements` is not installed, the\nself-contained fallback is to elicit the CQ suite and scope with the human\nsteward directly and write `$ONT\u002Fdocs\u002Fcompetency-questions.yaml` (>=1\nMust\u002FShould CQ, each answering a named decision) plus `$ONT\u002Fdocs\u002Fscope.md`\ninto the pinned corpus — the validator requires those FILES, not the skill that authored\nthem. The validator verifies the count\nagainst the CQ file itself under `--repo`; an asserted count is not a count.\n\n1. **Pin the corpus.** Write `work\u002Frun-manifest.yaml` per\n   `_shared\u002Fschemas\u002Frun-manifest.schema.yaml`: commit SHA, scope-doc and CQ\n   digests, adapter script digests, per-agent model + prompt digests. Pinning\n   is REQUIRED by default; only an explicit user waiver recorded in the\n   manifest relaxes it. Dirty\u002Funpinned source without a waiver is a hard stop.\n2. **Observe (script-produced, never hand-typed).** For parseable\n   source, the agent AUTHORS an adapter script (strongest parser available:\n   compiler API > AST > generic syntax parser > structured-text parser),\n   commits it, records its digest in the manifest, and the SCRIPT emits the\n   `SourceObservation` records — hand-typing observation records for\n   parseable source is forbidden (an LLM transcribing syntax is not a\n   deterministic parser). Predicates come ONLY from the closed syntactic\n   vocabulary in `_shared\u002Fschemas\u002Fsource-observation.schema.yaml` — they\n   describe syntax (`extends_syntactically`), never interpretation, and the\n   `object` field is grammar-checked per predicate (an identifier, never\n   prose: interpretation smuggled into the object is the same crime as a\n   minted predicate). Syntax the vocabulary cannot describe gets\n   `unrepresentable_construct` (object = the syntactic kind) — NEVER squash\n   it into a near-miss predicate; such observations may only be dispositioned\n   `unresolved`\u002F`irrelevant`. **Adapter fidelity contract**: one observation\n   per matched declaration — no merging of distinct symbols, no renaming, no\n   silent dropping; each record carries `source_span.content_sha256` of the\n   exact span text (the validator recomputes it from the pinned tree under\n   `--repo`, so an adapter that emits facts it did not read fails\n   mechanically); before the run, prove the adapter on one golden fixture\n   (input snippet → expected records, committed beside it). Prose enters\n   ONLY as `ProseObservation` quotation records in `prose-observations\u002F` —\n   the one hand-captured kind, quote-verbatim, no paraphrase.\n3. **Hypothesize denotation** (`prompts\u002Fdenotation.md`). For each\n   observation: candidate referents, at least one alternative when possible,\n   and ALWAYS the null hypothesis. Rejecting the null REQUIRES a\n   `discriminator`: an observation-backed fact that would be FALSE if the\n   symbol were implementation-only (\"it is a named type with an id field\" is\n   true of pure DTOs and never qualifies). A hypothesis SURVIVES to analysis iff\n   `null_hypothesis.rejected: true` with a discriminator AND\n   `representation_status` is `domain_referent` or `information_artifact`;\n   everything else dispositions as outcome `irrelevant` or `unresolved` in\n   the index (step 9).\n4. **Analyze foundation** (`prompts\u002Fufo-analysis.md`). For each\n   surviving hypothesis: identity criterion, rigidity, dependence,\n   temporality, category, the spec-vs-execution \u002F world-vs-information \u002F\n   role-vs-bearer tests, strongest counterexample, remaining rival models.\n   `unresolved` is legal everywhere. `explicitly_deferred` (with\n   `needed_evidence` named — the validator requires it) is never a silent\n   stop: it flows forward EITHER as a proposal flagged for the steward (when\n   a term shape is defensible despite the open question) OR as an\n   `unresolved` disposition in the index (when no term shape is yet\n   defensible) — forcing every deferral into a proposal would make deferral\n   an admission ramp, and dropping it would make deferral a trapdoor. Both\n   surfaces reach the steward.\n5. **Reuse pass.** Check candidates against `ontology-scout` results\n   (gUFO\u002FBFO\u002Fdomain vocabularies). **Mapping to an existing term is NOT an\n   analysis bypass**: it becomes an `OntologyTermProposal` with\n   `reuse.exact_reuse_found: true` + the mapping — IdentityCard and\n   semantic-compatibility justification still required, adversarial pass\n   still applies (a reused class must actually match the intended semantics).\n6. **Propose** (`prompts\u002Fsynthesis.md`). Emit `OntologyTermProposal`\n   records. Warrant rules: decision terms cite CQs the term is REQUIRED to\n   answer (a listing-CQ that merely mentions a word does not warrant minting\n   it); support terms cite the DECISION TERMS they serve — never a CQ, never\n   themselves, never another support term. If an analysis lists still-viable\n   rival models, emit BOTH proposals (or one proposal + an explicit\n   steward-choice open issue) — parking a viable rival in `open_issues` is\n   the forbidden silent merge. `status: proposed`, always.\n7. **Adversarial pass — independent by construction.** Two seats, two\n   artifact shapes. (a) The ADVERSARY runs `prompts\u002Fontoclean-adversary.md`\n   (owning taxonomy + identity + warrant + null-discriminator attacks) as a\n   SEPARATE invocation whose input is the proposals, foundational records,\n   OBSERVATIONS, and the CQ FILE (it cannot judge warrant validity or\n   discriminator falsity without them); it emits one review disposition per\n   proposal, bound to the proposal's bytes (`target_sha256`) and covering\n   all four surfaces (`identity`, `warrant`, and `null_discriminator` can\n   never be \"no surface\" — every submittable proposal has all three; only\n   `taxonomy` may be absent, with a reason, and never when the proposal\n   asserts `parents` edges). Reviews bind CONTENT AND HISTORY: each carries\n   the proposal-file digest and the FRAMED digest of the FULL closure —\n   OTP+IC+FA+DH plus the cited SO\u002FPO records plus the CQ-suite digest — so a\n   PASS survives neither its evidence nor its warrant changing; a PASS on\n   ever-FAILed bytes is a contradiction, a FAIL must land at least one named\n   attack, and a post-FAIL PASS requires the revised proposal's\n   `revision_log` to name the failed digest AND address every landed rule\n   (unioned across FAILs — the gate joins them). (b) The\n   BLINDED ALTERNATIVE\n   seat runs `prompts\u002Falternative-model.md` on ONLY observations +\n   hypotheses and emits its OWN `ic-`\u002F`fa-` record PAIRS into\n   `work\u002Falternative\u002F`, keyed by `hypothesis_ref` — it never sees primary\n   analyses, so it cannot target proposals; the VALIDATOR joins the two\n   seats on `hypothesis_ref` and computes divergence deterministically.\n   Same-context execution voids the pass; the manifest records\n   `independent_context`\u002F`blinded` per agent. The adversary may not repair\n   what it attacks — proposed fixes go into the REVIEW's `revision_requests`\n   for a NEW synthesis pass, never into `notes`, never applied in place. A\n   referent is DISPUTED when the adversary returned non-PASS, the seats'\n   categories diverge, or its analysis lists a viable rival.\n8. **Gate, then hand to the steward.** The gate is MECHANICAL: run the\n   validator in `--gate` mode (Tool Commands). It refuses submission when any\n   proposal lacks a current adversary review, when the latest review for a\n   proposal is FAIL (revise via `revision_requests` + new synthesis pass +\n   re-review — a re-review file appends `-r2`\u002F`-r3` before `.review.yaml`\n   and the latest governs; a FAIL is STICKY: neither PASS nor INDETERMINATE\n   may follow it on the same bytes — only changed bytes with revision_log\n   coverage retire it), or when the blinded seat never covered a proposal's\n   hypothesis. A SINGLE substantive INDETERMINATE always submits FLAGGED as\n   documented; TWO OR MORE abstentions covering at least half the proposals\n   are verdict-flooding and block (a disengaged adversary is not a review).\n   Seat-divergence submits FLAGGED.\n   Prepare a ratification-request package presenting EVERY submittable\n   proposal individually (never only a summary table). The STEWARD authors\n   the `Ratification` records — one decision per proposal\n   (`_shared\u002Fschemas\u002Fratification.schema.yaml`). Scribing rules: a batch\n   utterance (\"accept all 12\") is ONE decision, not twelve — re-present each\n   proposal and scribe each answer; the validator rejects a\n   `verbatim_decision` that does not name its proposal and rejects\n   byte-identical verbatims across records. A blanket \"looks good\" ratifies\n   nothing. Rejections go to the rejection ledger WITH rationale so future\n   runs stop re-proposing them.\n9. **Close the index.** Maintain `work\u002Fdispositions.index.yaml`: EXACTLY one\n   row per observation id → outcome `irrelevant` (concrete scope-doc-grounded\n   reason — a bare \"out of scope\" is rejected) | `mapped` (ref MUST be a\n   reuse proposal in this run with `exact_reuse_found: true` — a bare\n   external IRI is the mapping-without-analysis bypass) | `proposed` (ref =\n   an OTP in this run) | `unresolved` (`needed_evidence` naming what would\n   decide it + `since: \u003CISO date>`). The validator enforces totality,\n   uniqueness, and ref resolution — silent drops, duplicate rows, and\n   dangling refs all fail. `unresolved` is a parking spot with a meter, not\n   a dumping ground: the gate reports the unresolved fraction and refuses\n   above 50% of non-irrelevant rows (manifest `unresolved_fraction_waiver`\n   to override, with reason), and the NEXT run must re-open every prior\n   unresolved row — the validator rejects a row re-parked with VERBATIM the\n   same needed_evidence. When a parser upgrade or source deletion retires a\n   prior observation id, the new index keeps a row for the OLD id with\n   `carried_from_prior: true` and an outcome explaining the retirement\n   (`irrelevant` — \"declaration removed at \u003Ccommit>\" \u002F re-identified as\n   `so:...`) — drift is recorded, never silently absorbed.\n\n## Tool Commands\n\nOne exact command per workflow stage. `$SKILL` = this skill's directory;\n`$ONT` = `ontologies\u002F{name}` (`{name}` = manifest `ontology.name`); `$WORK` =\n`$ONT\u002Fwork`; `VAL` = the validator invocation below. The validator\n(`$SKILL\u002Fscripts\u002Fvalidate_artifacts.ts`) is the machine enforcement of every\ncontract — the schema files are readable exemplars; the script encodes\nrequired keys, enums, object grammars, content rules, and cross-record rules.\nRun `--self-test` once per session to prove the rules fire. Validation ALWAYS\nscans `$ONT` (the ontology root), never `$WORK` alone — governance and the\nmanifest must be inside the scan.\n\n```bash\n# Step 0 — layout + self-test. VAL is a FUNCTION (an alias defined in the same\n# non-interactive block does not survive parsing). $SHARED = the family contract dir.\nmkdir -p $WORK\u002F{observations,prose-observations,hypotheses,foundational,alternative,proposals,rejections} $ONT\u002Fgovernance\u002Fratifications $ONT\u002Fadapters\u002Fgolden\nSHARED=\"$SKILL\u002F..\u002F_shared\"\n# Dependencies are the checkout root node_modules; no workspace build is needed.\nVAL() { bun \"$SKILL\u002Fscripts\u002Fvalidate_artifacts.ts\" \"$@\"; }\nVAL --self-test\n# MODEL = the exact model id every seat command runs with; it is what the\n# manifest records (the harness cannot cryptographically bind it — Known limits)\nMODEL=\"\u003Cmodel-id-recorded-in-manifest>\"\nEFFORT=\"\u003Creasoning-effort-recorded-in-manifest>\"  # Exact effort every Codex seat launches with; agents.\u003Crole>.effort records it (default for a model without an effort control).\n\n# Step 1 — create the manifest FROM the exemplar, then pin digests into it\n# (FULL sha256 for record ids; 12-hex short forms for manifest display fields).\n# Adapter scripts are PER-RUN artifacts, but repository copies are NEVER\n# executed. Author or audit each adapter in a fresh, user-owned 0700 directory\n# outside the audited repository. Adapters are TypeScript run by Bun and use only Bun\u002FNode builtins, so\n# the sandbox needs no package cache or writable environment.\nTRUSTED_ADAPTER_BASE=\"${XDG_RUNTIME_DIR:-${XDG_CACHE_HOME:-$HOME\u002F.cache}\u002Fbeep}\"\nmkdir -p \"$TRUSTED_ADAPTER_BASE\"\nchmod 700 \"$TRUSTED_ADAPTER_BASE\"\nTRUSTED_ADAPTER_DIR=$(mktemp -d \"$TRUSTED_ADAPTER_BASE\u002Fontology-adapter.XXXXXX\")\nchmod 700 \"$TRUSTED_ADAPTER_DIR\"\nTRUSTED_ADAPTER=$TRUSTED_ADAPTER_DIR\u002Fadapter-typescript.ts  # author here; do not seed from $ONT\u002Fadapters\nRUN_ADAPTER=\"$SKILL\u002Fscripts\u002Frun_adapter_sandbox.sh\"\n[ -e $WORK\u002Frun-manifest.yaml ] || cp $SHARED\u002Fschemas\u002Frun-manifest.schema.yaml $WORK\u002Frun-manifest.yaml   # NEVER overwrite an existing manifest — it is run provenance\n# then EDIT every field. Pin script_sha256_12 from the exact trusted bytes that\n# will execute; the manifest script path still names the later repo snapshot.\nsha256sum $ONT\u002Fdocs\u002Fcompetency-questions.yaml $ONT\u002Fdocs\u002Fscope.md $SKILL\u002Fprompts\u002F*.md\nTRUSTED_ADAPTER_SHA256=$(sha256sum \"$TRUSTED_ADAPTER\" | awk '{print $1}')\nprintf 'manifest script_sha256_12: %.12s\\n' \"$TRUSTED_ADAPTER_SHA256\"\nfind $ONT\u002Fadapters\u002Fgolden -type f -exec sha256sum {} +\n\n# Step 2 — Observe: prove the trusted adapter on its golden fixture FIRST, then\n# run it in a read-only, no-network bubblewrap sandbox with a scrubbed\n# environment, bounded resources, and one dedicated writable output. The\n# runner rejects symlinked, repository-resident, foreign-owned, or\n# group\u002Fworld-writable adapter locations and fails closed when isolation tools\n# are unavailable. Only after both runs succeed may its byte-identical snapshot\n# be installed as provenance under $ONT\u002Fadapters\u002F.\n# (The dispositions index is a COMPLETION invariant — the validator does not\n# demand it until proposals exist, so this stage-boundary check is green on a\n# legitimate observe-stage tree.)\nADAPTER=$ONT\u002Fadapters\u002Fadapter-typescript.ts   # committed provenance copy; never execute this path\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . self-check $ONT\u002Fadapters\u002Fgolden\u002F\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . observe $WORK\u002Fobservations\ninstall -m 0644 \"$TRUSTED_ADAPTER\" \"$ADAPTER\"\ncmp -s \"$TRUSTED_ADAPTER\" \"$ADAPTER\" || { echo \"refusing: committed adapter differs from trusted bytes\"; exit 1; }\n[ \"$(sha256sum \"$ADAPTER\" | awk '{print $1}')\" = \"$TRUSTED_ADAPTER_SHA256\" ] || { echo \"refusing: installed adapter digest differs from trusted bytes\"; exit 1; }\nVAL $ONT --repo .\n#   record id = full digest, computed INSIDE the adapter with the CANONICAL\n#   serialization the validator RECOMPUTES (see source-observation.schema.yaml):\n#   sha256 of canonical-JSON [commit, path, start_line, end_line,\n#   sorted [predicate, object] pairs, adapter_id, adapter_version] — a\n#   random or stale id cannot match (content-consistency, not authorship\n#   — Known Limits); a parser upgrade MUST change every id\n\n# Step 3 — Denote: fresh agent context; contracts passed EXPLICITLY (a fresh\n# agent in a target repo has no _shared\u002F of its own)\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fdenotation.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fdenotation-hypothesis.schema.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml\nOUTPUT: one DenotationHypothesis per file into $WORK\u002Fhypotheses\u002F\"\n\n# Step 4 — Analyze: foundational analysis of SURVIVING hypotheses, fresh context\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fufo-analysis.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fidentity-card.schema.yaml $SHARED\u002Fschemas\u002Ffoundational-analysis.schema.yaml $SHARED\u002Ffoundational-analysis.md $SHARED\u002Fontoclean-rules.yaml\nINPUT FILES: $WORK\u002Fhypotheses\u002F*.yaml $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml\nOUTPUT: ic-\u002Ffa- record pairs into $WORK\u002Ffoundational\u002F\"\n\n# Steps 5+6 — Reuse + Propose: ONE command — the scout reuse report is part of\n# synthesis input; reuse candidates become PROPOSALS (exact_reuse_found: true +\n# mappings with compatibility justification), never index shortcuts. First pass\n# NEVER sees reviews; a REVISION pass ADDS the prior proposals + their reviews\n# to INPUT FILES and each revised proposal MUST carry a revision_log entry\n# naming the FAILed digest it answers (the gate refuses a post-FAIL PASS\n# without one — a whitespace tweak is not a revision).\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fsynthesis.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fontology-term-proposal.schema.yaml\nINPUT FILES: $WORK\u002Fhypotheses\u002F*.yaml $WORK\u002Ffoundational\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml  reuse report: \u003Cscout report path>\nOUTPUT: one OntologyTermProposal per file into $WORK\u002Fproposals\u002F\"\n\n# Step 7a — adversary seat: NEEDS observations (all kinds) + the CQ file\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Fontoclean-adversary.md)\n\nCONTRACTS: $SKILL\u002Ftemplates\u002Freview-disposition.yaml $SHARED\u002Fontoclean-rules.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fproposals\u002Fotp-*.yaml $WORK\u002Ffoundational\u002F*.yaml $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml $WORK\u002Fhypotheses\u002F*.yaml  CQ suite: $ONT\u002Fdocs\u002Fcompetency-questions.yaml\nOUTPUT: one review per proposal into $WORK\u002Fproposals\u002F (filename otp-\u003Cslug>-\u003Cnnn>[-rN].review.yaml\nMUST correspond to the target; rounds are CONTIGUOUS, one review per round;\ntarget_sha256 = sha256 of the reviewed proposal FILE; chain_sha256 = FRAMED\nsha256 of the FULL closure — OTP+IC+FA+DH plus every cited SO\u002FPO record,\nsorted by filename, each member hashed as filename + newline + byte length +\nnewline + bytes, plus a final virtual member cq:\u003Csha256_12-of-CQ-file> — the\ngate rejects reviews bound to other bytes or to a mutated closure; every\nattack row needs rule + counterexample and evidence cites observation\u002FCQ ids)\"\n\n# Step 7b — blinded alternative seat: observations + hypotheses ONLY; emits\n# BOTH an ic- and an fa- record per hypothesis (half a second opinion is none)\ncodex exec -s workspace-write --cd . -m \"$MODEL\" -c \"model_reasoning_effort=\\\"$EFFORT\\\"\" \"$(cat $SKILL\u002Fprompts\u002Falternative-model.md)\n\nCONTRACTS: $SHARED\u002Fschemas\u002Fidentity-card.schema.yaml $SHARED\u002Fschemas\u002Ffoundational-analysis.schema.yaml $SHARED\u002Ffoundational-analysis.md\nINPUT FILES: $WORK\u002Fobservations\u002F*.yaml $WORK\u002Fprose-observations\u002F*.yaml $WORK\u002Fhypotheses\u002F*.yaml\nOUTPUT: ic-\u002Ffa- record PAIRS into $WORK\u002Falternative\u002F\"\n\n# Step 8 — the MECHANICAL submission gate (fidelity INCLUDED — --repo is\n# required here; the refusal output names every blocker)\nVAL $ONT --gate --repo .\n# then present each submittable proposal to the steward INDIVIDUALLY and\n# scribe each verbatim per-proposal decision — one NEW file per decision,\n# numbered past the existing records (overwriting rat-001.yaml destroys a\n# steward decision; the [ -e ] guard is not optional):\nLAST=$(find $ONT\u002Fgovernance\u002Fratifications -name 'rat-*.yaml' 2>\u002Fdev\u002Fnull | sed -n 's\u002F.*rat-0*\\([0-9][0-9]*\\)\\.yaml$\u002F\\1\u002Fp' | sort -n | tail -1)\nNUM=$(( ${LAST:-0} + 1 ))\nF=$ONT\u002Fgovernance\u002Fratifications\u002F$(printf 'rat-%03d.yaml' $NUM)\n# noclobber makes the create ATOMIC — a check-then-write race can never\n# truncate an existing steward decision\nif ( set -C; cat > \"$F\" ) \u003C\u003CEOF\nid: \"rat:$NUM\"\nproposal_ref: \"otp:\u003Cslug>:\u003Cnnn>\"\nproposal_sha256: \"\u003Csha256 of the proposal file the steward saw>\"\ndecision: accept          # accept | reject | revise — the steward's word, not yours\nsteward: {id: \"\u003Ctheir-id>\", name: \"\u003Ctheir name>\"}\ndecided_at: \"\u003CISO8601>\"\nverbatim_decision: \"\u003Cthe steward's OWN words, naming THIS proposal>\"\nEOF\nthen echo \"scribed $F\"\nelse echo \"refusing to overwrite $F\"; fi   # noclobber already blocked the write\n# rejections additionally get a rejection-ledger entry (validator-joined):\n#   $WORK\u002Frejections\u002Frej-\u003Cnnn>.yaml  (id, proposal_ref, substantive rationale)\n\n# Step 9 — POST-SCRIBE gate re-run: this is what prints the RATIFICATION\n# SUMMARY for the human to audit (a gate run before scribing cannot), plus\n# stale-rat and rejection-ledger joins; then full validation at every later\n# stage boundary\nVAL $ONT --gate --repo .\n\n# NEXT-RUN ROTATION — FAIL-CLOSED (the manifest\u002Findex are singletons at work\u002F;\n# archives use NON-CANONICAL names; destinations are never clobbered; sources\n# are removed only after both copies verify). The run id comes from the\n# VALIDATOR's own parser (--print-run-id): one duplicate-free YAML scalar,\n# the validator's ISO grammar, control characters refused — never a sed over\n# raw bytes (CRLF residue, duplicate-key last-wins, and !!str tags are all\n# validator-legal inputs a byte-level extractor mangles into destructive\n# archive names):\nRID=$(VAL --print-run-id \"$ONT\") || RID=\"\"\n[ -n \"$RID\" ] && mkdir -p $ONT\u002Fruns\nAM=$ONT\u002Fruns\u002F$RID.manifest.yaml; AI=$ONT\u002Fruns\u002F$RID.index.yaml\nif [ -z \"$RID\" ]; then :; elif [ -e \"$AM\" ] || [ -e \"$AI\" ]; then echo \"refusing: archive for $RID exists\"; else\n  cp \"$WORK\u002Frun-manifest.yaml\" \"$AM\" && cp \"$WORK\u002Fdispositions.index.yaml\" \"$AI\" && \\\n  cmp -s \"$WORK\u002Frun-manifest.yaml\" \"$AM\" && cmp -s \"$WORK\u002Fdispositions.index.yaml\" \"$AI\" && \\\n  rm \"$WORK\u002Frun-manifest.yaml\" \"$WORK\u002Fdispositions.index.yaml\" && \\\n  echo \"rotated; prior_index: runs\u002F$RID.index.yaml  prior_index_sha256_12: $(sha256sum \"$AI\" | cut -c1-12)\"\nfi\n# OBSERVATIONS ARE RUN-SCOPED: their canonical ids embed the pinned commit\n# and adapter version, so a new run's manifest can never re-validate the old\n# records — left in place they poison the next scan as stale, undispositioned\n# observations. Archive them at the SIBLING shelter, OUTSIDE the scan root\n# (refuse-if-exists; deterministically regenerable from the archived\n# manifest's pin). runs\u002F itself is the ROTATION LEDGER — manifest\u002Findex\n# pairs and engine history only; the validator (v15) REFUSES record-prefixed\n# files under runs\u002F, so per-run record trees can never ride there as live\n# evidence, and no in-root exemption exists to hide live records in:\nARCH=$(dirname \"$ONT\")\u002Farchives\u002F$(basename \"$ONT\")\nAO=$ARCH\u002F$RID.observations\nif [ -z \"$RID\" ]; then :; elif [ -e \"$AO\" ]; then echo \"refusing: observation archive for $RID exists\"; else\n  mkdir -p \"$AO\" && mv \"$WORK\u002Fobservations\" \"$WORK\u002Fprose-observations\" \"$AO\"\u002F && \\\n  mkdir -p \"$WORK\u002Fobservations\" \"$WORK\u002Fprose-observations\" && \\\n  echo \"observations archived to $AO\u002F\"\nfi\n# CARRY-FORWARD POLICY (by design): reviews\u002Fanalyses are CONTENT-ADDRESSED —\n# a new run reuses them only while their closures still verify; an engine,\n# prompt, contract, or corpus change stales the manifest or the chains and\n# forces re-lock\u002Fre-review. Carrying verified artifacts across runs is\n# therefore reuse of still-valid authority, not revival of stale authority.\n# When a later run DOES stale carried seat trees or ratifications, relocate\n# them byte-identically to the same sibling shelter with a dated README note\n# — and sweep every historical gate or script that joins on the old paths\n# before publishing the relocation.\n\n# Idempotence check: same pinned source + same adapter version => same RECORD\n# IDS (filenames prove nothing — two runs can name files alike with different\n# content; the rerun tree is GENERATED here, it does not preexist)\nmkdir -p $WORK-rerun\u002Fobservations\n\"$RUN_ADAPTER\" \"$TRUSTED_ADAPTER\" . observe $WORK-rerun\u002Fobservations\ndiff \u003C(grep -h '^id:' $WORK\u002Fobservations\u002F*.yaml | sort) \u003C(grep -h '^id:' $WORK-rerun\u002Fobservations\u002F*.yaml | sort)\n```\n\n## Outputs\n\nAll paths under `ontologies\u002F{name}\u002F` unless absolute. One record per file,\nYAML, filename = record kind prefix + id fragment (validator recognizes kinds\nby prefix). Confidence values are STRIPPED from anything shown to the steward.\n\n| Artifact | Location + filename pattern | Authority |\n|---|---|---|\n| Run manifest | `work\u002Frun-manifest.yaml` | Deterministic |\n| `SourceObservation` | `work\u002Fobservations\u002Fso-\u003Csha12>.yaml` (id keeps the FULL digest) | Deterministic (script-produced) |\n| `ProseObservation` | `work\u002Fprose-observations\u002Fpo-\u003Csha12>.yaml` | Source text (quotation) |\n| `DenotationHypothesis` | `work\u002Fhypotheses\u002Fdh-\u003Cslug>-\u003Cnnn>.yaml` | Proposal only |\n| `IdentityCard` \u002F `FoundationalAnalysis` | `work\u002Ffoundational\u002Fic-…​.yaml` \u002F `fa-…​.yaml` | Proposal only |\n| Alternative-seat `ic-`\u002F`fa-` records | `work\u002Falternative\u002Fic-…​.yaml` \u002F `fa-…​.yaml` (blinded seat; joined on `hypothesis_ref`) | Proposal only |\n| `OntologyTermProposal` | `work\u002Fproposals\u002Fotp-\u003Cslug>-\u003Cnnn>.yaml` | Proposal only |\n| Adversary review dispositions | `work\u002Fproposals\u002Fotp-\u003Cslug>-\u003Cnnn>[-r2].review.yaml` (latest per target governs) | Proposal only |\n| Dispositions index | `work\u002Fdispositions.index.yaml` | Deterministic (validator-enforced totality) |\n| Rejection ledger | `work\u002Frejections\u002Frej-\u003Cnnn>.yaml` | Steward decision |\n| Ratifications | `governance\u002Fratifications\u002Frat-\u003Cnnn>.yaml` | HUMAN — authoritative |\n\n## Known Limits (honest boundary — read before trusting a green gate)\n\nA green gate binds records to bytes, never to minds or deleted history:\n[references\u002Fknown-limits.md](references\u002Fknown-limits.md).\n\n## Handoff\n\n**Receives from**: `ontology-requirements` (CQs, scope, and the pre-glossary\nCANDIDATE harvest), `ontology-scout` (reuse candidates), plus the pinned\nsource corpus. A pre-glossary candidate with no matching source declaration\nis NOT lost and is NOT forged into a SourceObservation: its evidentiary basis\nis the CQ\u002Fuse-case text that named it, so it enters as a `ProseObservation`\nquoting that text, and denotation proceeds from there. An EXISTING\ntaxonomy\u002Fclass hierarchy under audit enters the same way — each class quoted\nas a ProseObservation from the taxonomy source, its asserted edges carried as\n`parents` candidates on the resulting proposals for the adversary's taxonomy\nsurface.\n\n**Passes to**: `ontology-conceptualizer` — the RATIFICATION RECORDS\n(`governance\u002Fratifications\u002F`, the only authoritative artifacts) together\nwith the proposals they authorize, their identity cards, the rejection\nledger, AND `work\u002Fdispositions.index.yaml` — the index carries the\n`unresolved` rows (with their needed_evidence) and deferred flags the\nsteward must keep seeing; a handoff of accepted terms alone hides the\nepistemic remainder. A proposal's own `status` field proves nothing; the conceptualizer\nmust refuse any input lacking its ratification record. It composes the\nconceptual model from ratified commitments; it no longer classifies raw\npre-glossary terms directly.\n\n**Completion gate**: every relevant SourceObservation is exactly one of —\n(1) rejected as ontology-irrelevant, (2) mapped to an existing term,\n(3) represented by a fully analyzed proposal, or (4) explicitly unresolved\nwith the evidence needed to decide it named.\n\n**Completion does NOT mean every symbol became an ontology term.**\n\n## Anti-Patterns to Avoid\n\nSyntax-to-T-Box shortcuts, null-hypothesis theater, adversary self-repair, consensus\nratification, confidence laundering: [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md).\n\n## Error Handling\n\n| Error | Likely cause | Recovery |\n|---|---|---|\n| Parser cannot resolve a symbol | Generated\u002Fexcluded source, syntax level too weak | Fall back one level (AST → generic parser → quoted prose); mark `epistemic_status` honestly; never guess facts |\n| Hypothesis has no CQ warrant | Term is bookkeeping or the CQ suite has a gap | DEFAULT: disposition as `implementation_artifact_only`\u002F`unresolved`. The candidate-CQ escape to `ontology-requirements` is legal ONLY when you can name the concrete decision the new CQ would serve — an unnamed \"might need it\" keeps the null standing, and a hypothesis may not idle on `semantic_support_for` waiting for a warrant |\n| Category unresolved after analysis | Genuinely ambiguous referent | `verdict: explicitly_deferred` with the discriminating evidence named — a first-class outcome |\n| Two proposals collide on one referent | Rival models both viable | Keep both, blinded adversarial comparison, steward picks; never merge silently |\n| Steward unavailable | — | Everything stays `proposed`; downstream skills must refuse unratified input |\n",{"name":5,"description":7},"main","6a9a7fbce4bd73ae59f4870f7950081e1a35f464",".claude\u002Fskills\u002Fontology-foundational-auditor",14,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect","https:\u002F\u002Fwww.oip.law","https:\u002F\u002Fgithub.com\u002Fbeep-effect","2026-11-15 03:19:50",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add beep-effect\u002Fbeep-effect --skill ontology-foundational-auditor",{"tool":61,"command":62},"bunx","bunx skills add beep-effect\u002Fbeep-effect --skill ontology-foundational-auditor",{"tool":64,"command":65},"pnpm","pnpm dlx skills add beep-effect\u002Fbeep-effect --skill ontology-foundational-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002FSKILL.md",true,[69,75,79,83,87,91,95,99,103,109,113,117,121,125,129],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"prompts\u002Falternative-model.md","REFERENCE","参考文档",1870,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fprompts\u002Falternative-model.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"prompts\u002Fdenotation.md",1900,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fprompts\u002Fdenotation.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"prompts\u002Fontoclean-adversary.md",4002,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fprompts\u002Fontoclean-adversary.md",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"prompts\u002Fsynthesis.md",1963,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fprompts\u002Fsynthesis.md",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"prompts\u002Fufo-analysis.md",1208,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fprompts\u002Fufo-analysis.md",{"path":92,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fanti-patterns.md",1384,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Freferences\u002Fanti-patterns.md",{"path":96,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fknown-limits.md",5803,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Freferences\u002Fknown-limits.md",{"path":100,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":101,"sourceHtmlUrl":102},"REVIEW-HISTORY.md",9163,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002FREVIEW-HISTORY.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fparity-fixtures.json","SCRIPT","脚本",1355,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fscripts\u002Fparity-fixtures.json",{"path":110,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Frun_adapter_sandbox.sh",4785,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fscripts\u002Frun_adapter_sandbox.sh",{"path":114,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fscalar-fixtures.json",1752,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fscripts\u002Fscalar-fixtures.json",{"path":118,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fvalidate_artifacts.test.ts",6033,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fscripts\u002Fvalidate_artifacts.test.ts",{"path":122,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fvalidate_artifacts.ts",401520,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Fscripts\u002Fvalidate_artifacts.ts",{"path":126,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":127,"sourceHtmlUrl":128},"templates\u002Fidentity-card.yaml",1213,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Ftemplates\u002Fidentity-card.yaml",{"path":130,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":131,"sourceHtmlUrl":132},"templates\u002Freview-disposition.yaml",3932,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fontology-foundational-auditor\u002Ftemplates\u002Freview-disposition.yaml",[134,142,149,157,181,191],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":141},"01M7DRT80P94P1481PREB0355D","alchemy-provider","Bring up a new Alchemy cloud provider (its own `@alchemy.run\u002F\u003Cprovider>` package under packages\u002F\u003Cprovider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for \"add a \u003CX> provider\", \"create an alchemy provider for \u003CX>\", \"port \u003CX> to alchemy\", \"add \u003Cservice> to the \u003CX> provider\", \"bring the \u003CX> provider up to par\", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Falchemy-provider\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":141},"01M7DRT2QB0MHHK7D3YQY396PW","alchemy-domain","Build backends with @alchemy.run\u002Fdomain (domain-driven design on Effect) - turn requirements into aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis; lay them out in a monorepo (domain \u002F server \u002F web packages, kind-suffixed files); test them with stories; host them on Durable Objects (Cloudflare, Rivet or Effect Cluster) with alchemy; and drive them from a foldkit frontend. Use when designing or changing an @alchemy.run\u002Fdomain model, adding a building block, wiring hosting or a frontend, or reviewing such code.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Falchemy-domain\u002FSKILL.md",[],[],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":156},"01M72GGBGEZZJTXTRB3MNYPPY1","update-harnesses","Update every agent harness on every fleet host: T3 Code, Codex, Claude Code, Grok Build, Kimi Code, Junie, Cursor Agent and Muse on DankStation, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl and the grok-bot VM, plus the desktop apps (ChatGPT and Claude Desktop on DankStation and grok-bot; Cursor and Kimi Desktop on DankStation). Use on `\u002Fupdate-harnesses`, when a harness is out of date somewhere, or to audit which versions and install methods each host runs.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-harnesses\u002FSKILL.md",[],[],"2026-11-10 18:39:20",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":42},"01M714DQT4JQHZ11X0RH0T8RQ7","auth-environments","Sign Claude Code in to a chosen Claude subscription on every linked T3 fleet host (grok-bot, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl). Use when a Claude account hits its weekly limit, when `bun run beep accounts` shows the fleet's account used up, or on `\u002Fauth-environments`. Opens each host's OAuth page and a masked KDE code dialog together and verifies the admitted account.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauth-environments\u002FSKILL.md",[],[164,165,166,167,168,169,170,171,172,173,174,175,39,33,176,177,178,22,179,180],"auth environments","environments","auth","page","limit","path","python","canonical","fleet","run","active","bot","dialog","host","worker","workstation","weekly",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":42},"01M6C0RK94T5QGSZ0K9TA5Q2EF","shadcn","Fixture for immutable shadcn skill provenance.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002Fpackages\u002Ftooling\u002Ftool\u002Fcli\u002Ftest\u002Ffixtures\u002Fskills-provenance\u002Fshadcn\u002Fupstream\u002FSKILL.md",[],[183,23,188,189,190],"fixture","provenance","immutable",{"skillNo":192,"name":193,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":42},"01M6C0RGPWMYM5KS62ZZPNAZ0W","qa-inventory-judge","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002Fpackages\u002Ftooling\u002Ftool\u002Fcli\u002Fskills\u002Fqa-inventory-judge\u002FSKILL.md",[],[197,198,199,200],"qa","inventory","judge","qa inventory judge"]