Skip to content

feat: Theodicy - #85

Merged
codecaaron merged 7 commits into
mainfrom
feat/render-oracle
Aug 13, 2026
Merged

feat: Theodicy#85
codecaaron merged 7 commits into
mainfrom
feat/render-oracle

Conversation

@codecaaron

Copy link
Copy Markdown
Owner

No description provided.

codecaaron and others added 7 commits August 12, 2026 01:21
Speculative Render Oracle: package skeleton, DESIGN.md contract, workspace
registration, verify wiring (unit-ts target, no-console override, change-map
row), and the committed rollup-app manifest/styles fixture that backs the
engine-free host-adapter tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The host-independent canonical layer (DESIGN.md \S10): value lattice with
precision/authority as separate axes, normalized guard predicates with
proof-sound scenario-cell partitioning (singleton+open-interval cells),
immutable hashable render worlds and deltas, content-addressed fact graph
with derivation slices, first-class unknown obligations, the unified probe
envelope with fixpoint ledger, dependency-keyed evidence ledger, the six
provider interfaces plus a token provider, and an in-memory host for engine
tests. 104 tests; oracle fixtures are now fmt-ignored (byte-pristine
snapshots of emitted artifacts).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Host adapter (src/host/animus): engine-free pure read of emitted .animus
artifacts — deterministic generated-CSS dialect parser (throws on anything
unrecognized), condition->predicate mapping (breakpoints, modes, container/
supports as deliberately-unbound dimensions), class-suffix origin grammar
joined to byte-exact builder-stage spans via fileFacts, replacement-config
target resolution mirroring resolveClasses, token/mode graph from the emitted
variable blocks, dependency edges, and host obligations for dynamic values,
relational selectors, and geometry-coupled guards.

Engines (src/engines): CSS-correct cascade (layer order incl. sub-layers,
specificity, emission order, !important layer reversal) with defeat reasons;
token-aware value resolution that yields unknowns, never guesses; inspect/
explain/simulate/diff/prove/refine as projections of one fact substrate;
render-equivalence classes; classified semantic diffs with collateral sweep;
bounded proof over scenario cells with harvested cuts and minimized
counterexample witnesses; fixpoint enforcement in the facade.

212 oracle tests; repo TS unit tier green (1519).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ity fix

animus-oracle CLI (bun-shebang, in-process-testable runCli): the six
operations plus classes, human report on stderr / --json envelopes on stdout
(animus stream discipline), verdict-keyed exit taxonomy (0 proved/established/
fixpoint, 1 disproved, 2 usage, 3 environment, 4 conditional/inconclusive/
outside-model), winner-addressed deltas (--remove/--replace) plus exact
--remove-rule for agents. README quickstart.

e2e-demo.test.ts walks DESIGN.md \S12 on the real fixture: inspect with
provenance + defeat reasons, explain naming the intervention witness,
simulate flipping the winner to body-inherited color with a 133-cell
collateral sweep, classified diff, PROVED/DISPROVED with minimized witness
and boundary, FIXPOINT on identical repeat, and geometry questions answered
with addressable obligations instead of numbers.

Fix: prove/simulate domain overrides are now folded into the world as
pin-dimension-domain interventions (pinDomain) so different quantification
domains can never collide in the probe ledger and inherit each other's
answers; regression tests calibrated fail-first.

252 oracle tests; repo TS unit tier green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecaaron
codecaaron merged commit 6d915a4 into main Aug 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant