PARS is an evidence-bounded reasoning and verification architecture for research, audits, hard-constrained artifact work, and exact-binary provenance. It preserves hard requirements, explores competing mechanisms, attacks weak assumptions, reconstructs after new evidence, and verifies the final artifact before making a claim.
This repository packages PARS as the installable Codex skill $apply-pars-deep and includes the public specification, whitepaper, operational references, prompt protocols, and reusable evidence templates.
Important
PARS v1.25.0-candidate.6 is experimental and unpromoted. The candidate source identifies candidate.4 as the current passing candidate pending prospective gates, while its Control Integration section separately preserves PARS v1.24.2 as the authoritative parent for that experimental layer. This repository does not collapse those context-specific lineage statements into a stronger authority claim.
- Install the skill
- Invoke PARS
- Read the candidate specification
- Read the public whitepaper
- Review the source and authority boundary
- Use an evidence template
PARS treats difficult work as a contract-preservation and evidence-classification problem, not merely an answer-generation problem. Its canonical reasoning cycle is:
Parse -> Branch -> Transform -> Perturb -> Test -> Reconstruct -> Build
The stages remain available throughout the task. Changed evidence can send the process backward instead of forcing commitment to a defective conclusion or artifact.
flowchart LR
P["Parse: freeze the contract"] --> B["Branch: distinct mechanisms"]
B --> T["Transform: expose structure"]
T --> A["Perturb: hostile tests"]
A --> E["Test: discriminating evidence"]
E --> R["Reconstruct: rebuild affected state"]
R --> G["Final Invariant Gate"]
G -->|"all active invariants pass"| U["Build: produce the result"]
G -->|"fail or unverifiable"| R
U --> Q["Post-Build replay"]
Q --> C["Evidence-bounded claim"]
Q -->|"materialization defect"| R
- Freeze the real task. Separate facts, assumptions, preferences, unknowns, failure conditions, prohibited paths, and the narrowest defensible claim.
- Preserve hard constraints. Convert every acceptance-critical requirement into an explicit invariant with a stable ID, predicate, scope, verifier, and status.
- Explore mechanisms, not paraphrases. Maintain genuinely different branches and a NULL/OTHER possibility when an unmodeled mechanism could change the result.
- Attempt falsification. Apply hostile perturbations capable of breaking the leading explanation, artifact, provenance claim, or search policy.
- Prefer discriminating evidence. Proof, exact comparison, independent measurement, controlled tests, and held-out predictions outrank plausibility or confidence.
- Reconstruct after changed evidence. Remove invalid influence, rebuild affected dependencies, rerun downstream checks, and preserve the failure history.
- Verify the exact final object. Replay every active invariant immediately before Build and every materialization-sensitive invariant after Build.
- Bound the claim. Report only what the evidence supports, including explicit limitations and unresolved properties.
The Control layer allocates reasoning effort without deleting required capabilities:
COVERAGE_CHALLENGEasks what plausible mechanism or observation could still change the action or claim.TEST_VALUEprioritizes tests by decision-relevant value relative to cost.RISK_GUARDprotects severe low-probability NULL/OTHER risks when a feasible discriminating check exists.CONTINUE,STOP, andINCONCLUSIVE_CONTROLdescribe the evidence-acquisition state;STOPdoes not replace Build.
PARS may expand a difficult branch into a bounded subcycle when doing so can reduce decision-relevant uncertainty, reveal a new mechanism, distinguish actions, or repair a known failure. Recursive search preserves:
- parent/child or merge lineage;
- inherited hard constraints;
- evidence provenance without double-counting;
- test targets and failure modes;
- NULL/OTHER coverage;
- stopped and rejected subtrees;
- explicit work or search budgets.
Recursive breadth is not a goal by itself. Duplicate branches are penalized, and search stops when further work cannot materially change the decision or claim.
Before Build, PARS instantiates the exact final candidate and evaluates every ACTIVE hard invariant:
| Result | Required action |
|---|---|
PASS |
Preserve the verification receipt. |
FAIL |
Mark INVALID_FINAL_STATE, block Build, and return to Reconstruction or search. |
UNVERIFIABLE |
Obtain evidence or return an explicit inconclusive result. |
| Contradictory contract | Return INCONSISTENT_CONTRACT to Parse; do not weaken a requirement silently. |
If serialization, packaging, rendering, compression, compilation, or writing can change an invariant, PARS performs a post-Build replay on the materialized artifact. A mutation-induced failure is INVALID_BUILT_ARTIFACT and blocks delivery.
PARS distinguishes four learning claims:
| Class | Meaning |
|---|---|
RL0 |
Evidence changes search or reasoning during the current task. |
RL1 |
A reusable strategy is retained with scope, evidence, failures, and provenance. |
RL2 |
A controller change is promoted after frozen parent-versus-child evaluation. |
RL3 |
Model parameters are changed through an actual training mechanism. |
Prompting, context, memory, recursive search, repeated inference, and controller edits do not establish RL3. Strategy and controller promotion require objective, held-out, independent, or otherwise separated evidence rather than self-approval.
The public whitepaper applies PARS to freehand exact-binary generation: experiments in which the complete byte representation of a machine-consumable artifact is authored under a frozen contract while specified conventional generation paths are excluded from the claimed path.
This is an operational research definition, not a claim that the term is an established external standard.
| Plane | Function |
|---|---|
| Generation / Reasoning | Decide the artifact semantics and complete byte representation. |
| Materialization | Decode an already-complete frozen representation without adding executable information. |
| Evidence | Hash, compare, inspect, execute, capture, and audit the artifact. |
A tool is classified by the information it contributes, not by its name. If a step decides opcodes, labels, addresses, executable structure, relocations, or linked content, it is generation rather than literal materialization.
| Class | Supported claim |
|---|---|
BP0 |
The exact artifact identity is established. |
BP1 |
The frozen recorded representation reconstructs the exact artifact. |
BP2 |
The audited path supports the stated exclusion of conventional compiler, assembler, or linker participation in the claimed path. |
BP3 |
Creation provenance is unknown or inadequately evidenced. |
BP1 does not imply BP2. Successful execution, a strict prompt, or missing toolchain metadata does not prove how the byte stream was created.
| Class | Supported claim |
|---|---|
BV0 |
Exact-byte emitter containing a finished raster, frame sequence, video, or equivalent payload. |
BV1 |
Binary-first builder that first materializes the accepted raster at runtime from structural data. |
BV2 |
Procedural runtime renderer that computes visible pixels or frames and contains no finished output payload. |
BV3 |
Reference-conditioned BV1 or BV2 reconstruction with separately frozen reference identity and rights state. |
A convincing visual is not enough to prove BV1, BV2, or BV3. Those claims require hostile testing for disguised or compressed finished-output payloads.
A maximum-assurance exact-binary experiment follows this sequence:
- Freeze the task contract and hard invariants.
- Author and freeze the complete byte representation.
- Replay every final invariant.
- Materialize the representation literally.
- Replay post-Build invariants.
- Record byte count and SHA-256.
- Inspect format, architecture, entry point, and required structure.
- Reconstruct independently and compare byte-for-byte.
- Audit the generation path.
- Execute the reconstructed artifact under containment.
- Verify runtime behavior and output identity.
- Run hostile provenance or contamination tests.
- Assign BP/BV classes.
- Return
PASS,FAIL, orINCONCLUSIVE.
See exact-binary-protocol.md and prompt-protocols.md for the complete operational workflow.
When external works or versions determine the permitted scope, PARS separates copyright evidence from tool capability and platform policy. It records the exact work, version, jurisdiction, date, relevant sources, and one of these scoped states:
VERIFIED_PUBLIC_DOMAINPARTIAL_PUBLIC_DOMAINLICENSED_OR_PERMISSIONEDRIGHTS_UNCERTAINCOPYRIGHT_PROTECTED
A downstream tool refusal does not automatically change the legal evidence. Conversely, public-domain status does not bypass unrelated safety, privacy, publicity, trademark, contract, or platform restrictions. This module is an evidence protocol, not legal advice.
See rights-and-reference-use.md.
Clone the repository directly into the personal Codex skills directory.
git clone https://github.com/rookepoole/PARS.git "$env:USERPROFILE\.codex\skills\apply-pars-deep"git clone https://github.com/rookepoole/PARS.git "${CODEX_HOME:-$HOME/.codex}/skills/apply-pars-deep"To update an existing Windows installation:
git -C "$env:USERPROFILE\.codex\skills\apply-pars-deep" pull --ff-onlyTo update an existing macOS or Linux installation:
git -C "${CODEX_HOME:-$HOME/.codex}/skills/apply-pars-deep" pull --ff-onlyThe repository folder may be named apply-pars-deep; the skill identity comes from the name: apply-pars-deep frontmatter in SKILL.md.
Invoke it explicitly with $apply-pars-deep:
Use $apply-pars-deep to audit this decision, preserve every hard requirement,
and tell me the strongest conclusion supported by the evidence.
Use $apply-pars-deep to identify and perform the next best research move on
this project. Preserve completed work and do not erase failed hypotheses.
Use $apply-pars-deep to classify this exact-binary evidence package. Distinguish
artifact identity, reconstruction identity, runtime success, and BP2 provenance.
Use $apply-pars-deep to design a preregistered comparison between ordinary
prompting and PARS-FEBP under a frozen model, task bank, and resource envelope.
PARS normally executes the user's task without narrating its internal process. Ask for an audit trail, invariant ledger, evidence receipt, or benchmark preregistration when you need a durable record.
| Task | Read |
|---|---|
| General PARS execution, control, recursion, invariants, or adaptation | architecture-and-execution.md |
| Exact binaries, provenance, exact repair, binary visuals, or containment | exact-binary-protocol.md |
| Public-domain, licensing, version scope, or reference-conditioned work | rights-and-reference-use.md |
| Audits, case studies, historical evidence, CCEBS, or benchmark design | evaluation-and-evidence.md |
| Minimal, strict, maximum-assurance, BV2, repair, or audit prompts | prompt-protocols.md |
| Version status, attribution, or validation claims | source-authority.md |
The assets/ directory contains fillable Markdown templates:
Copy a template into the experiment output; keep the original unchanged. Record missing evidence as missing or unverifiable rather than inventing prompt text, hashes, provenance, or test execution.
PARS/
|-- SKILL.md
|-- agents/
| `-- openai.yaml
|-- assets/
| |-- pars-ecs-case-study.md
| |-- pars-febp-benchmark-preregistration.md
| `-- pars-febp-evidence-receipt.md
|-- references/
| |-- architecture-and-execution.md
| |-- evaluation-and-evidence.md
| |-- exact-binary-protocol.md
| |-- rights-and-reference-use.md
| |-- prompt-protocols.md
| |-- source-authority.md
| |-- PARS_CANDIDATE_v1.25.0-candidate.6.md
| |-- PARS_WHITEPAPER_PUBLIC_RELEASE_v1.0.pdf
| `-- PARS_WHITEPAPER_PUBLIC_RELEASE_v1.0.txt
|-- README.md
|-- LICENSE
|-- .gitattributes
`-- .gitignore
The repository preserves byte-identical copies of the supplied primary sources:
| Source | SHA-256 |
|---|---|
PARS_CANDIDATE_v1.25.0-candidate.6.md |
85A40A6E9FD6F0B275A5B9A38058FCF6473446B16739ABEEF41E2E4B9EDD8A0E |
PARS_WHITEPAPER_PUBLIC_RELEASE_v1.0.pdf |
52DF9C59198999FA1ECB812FA6433D06C185172E547FEC8CEFB192A2B6CBF85F |
The extracted .txt copy exists for search and context loading. Use the PDF when figures, pagination, tables, or visual layout matter.
The whitepaper defines a prospective comparison among naive prompting, explicit exact-binary prompting, PARS-FEBP Minimal, and PARS-FEBP Strict/Maximum Assurance. Its paper-defined composite endpoint, CCEBS, requires all applicable structural, behavioral, reconstruction, invariant, provenance, classification, and post-Build predicates to pass.
The whitepaper does not report that prospective comparison as completed. Historical Starship, LHC Collider, WASM Hyperlattice, Binary Brains, PARS-VM/4, House of the Rising Sun, and BVIS-001 records are Type C historical/development evidence unless regenerated under a frozen prospective protocol. They illustrate methods and failure boundaries; they do not estimate overall success probability or prove PARS superiority.
Validate the skill structure with Codex's skill-creator validator:
python "$env:USERPROFILE\.codex\skills\.system\skill-creator\scripts\quick_validate.py" .python "${CODEX_HOME:-$HOME/.codex}/skills/.system/skill-creator/scripts/quick_validate.py" .Before publishing a change:
- Validate YAML frontmatter and skill naming.
- Verify every linked reference and template exists.
- Preserve source hashes unless intentionally versioning a source artifact.
- Test an inconsistent-contract case.
- Test a provenance-gap case that must remain inconclusive.
- Test a prospective benchmark prompt for correct claim boundaries.
- Statically inspect unknown or newly generated binaries before execution.
- Use a disposable, non-root, credential-free environment.
- Deny outbound networking by default and apply resource limits.
- Execute the independently reconstructed artifact, not an unrelated development copy.
- Treat rights analysis as evidence handling rather than legal advice.
- Do not present exact-byte research as a replacement for ordinary compilers, assemblers, linkers, reproducible builds, or maintainable software engineering.
Issues and pull requests are welcome. Changes should preserve the architecture's evidence discipline:
- Do not silently weaken user constraints or final invariants.
- Keep experimental, historical, prospective, and authoritative claims distinct.
- Preserve failed candidates, counterevidence, and rollback history when relevant.
- Add objective or held-out tests for strategy or controller promotion claims.
- Do not infer BP2 from BP1, BV2 from visual plausibility, or RL3 from prompting or memory.
- Keep
SKILL.mdprocedural and concise; place detailed domain material inreferences/. - Update
agents/openai.yamlwhen the skill's user-facing identity changes.
If you reference the public whitepaper, use:
@techreport{poole2026pars,
author = {Rooke Alan Poole},
title = {PARS: A Constraint-Driven Reasoning and Verification Architecture for AI Freehand Exact-Binary Generation},
year = {2026},
version = {Public Release v1.0},
url = {https://github.com/rookepoole/PARS}
}PARS welcomes rigorous technical discussion, reproduction attempts, criticism, experiments, and contributions.
Please read our Code of Conduct before participating in the community.
Released under the MIT License. Copyright (c) 2026 Rooke Alan Poole.