Commit graph

1951 commits

Author SHA1 Message Date
c23071e5d9 Merge pull request 'feat(third-door): wire high surprise to DiscoveryCandidate (#20 follow-up)' (#31) from feat/third-door-surprise-discovery-wiring into main
Some checks are pending
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Waiting to run
lane-shas / verify pinned lane SHAs (push) Waiting to run
2026-07-14 00:38:21 +00:00
Shay
995f4fc3b8 feat(third-door): wire high surprise to DiscoveryCandidate (#20 follow-up)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 15m37s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 22m54s
- Physics dual operators set discovery_eligible (γ=0.35); is_discovery_eligible
  pure predicate; no teaching/vault imports in core.physics.surprise.
- teaching.discovery: trigger high_surprise; candidate_from_surprise_dual +
  emit_surprise_discovery (opt-in sink, proposal-only unreviewed, domain=math).
- Boundary tests: threshold gates, determinism, no VaultStore, no teaching import
  in physics. Ledger §6 notes wiring surface (issue #30).

Does not self-install; contemplation consumes via existing DiscoveryCandidateSink.
2026-07-13 17:25:17 -07:00
25f8c14e27 Merge pull request 'feat(third-door): real Cartan–Iwasawa null-point peel + full Kabsch-conformal Procrustes (#16 #17)' (#29) from feat/third-door-cartan-procrustes-fidelity into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 20m11s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Has been cancelled
2026-07-14 00:14:13 +00:00
Shay
2050b77ab2 feat(third-door): real Cartan–Iwasawa null-point peel + full Kabsch-conformal Procrustes (#16 #17)
- Cartan: recover_dilation → peel D → recover_translation → peel T;
  Spin remainder for non-similarities; strict close (no seed-to-rotor);
  recon residual fallback. Flips fidelity xfail.
- Procrustes: full 5-D Kabsch on null-point clouds; field conjugacy via
  raw sandwich + Spin GN; delete word_transition_rotor averaging path.
  Non-vacuous harness fixture.
- rotor_power: null-bivector power (a+B)^α = a^α + α a^{α-1} B so
  translators no longer silently zero under dual-slerp.
- Ledger scorecard: #2 and #3🟢; #4 remains 🟡 (bootstrap deferred).

549 passed (fidelity + ADR-0239 + null_point + 0240 + rotor_power).
2026-07-13 17:07:42 -07:00
4eb54a68ce Merge pull request 'feat(algebra): null-point recovery primitives + frozen CGA null constants (#17)' (#27) from feat/null-point-primitives into main
Some checks failed
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Has been cancelled
lane-shas / verify pinned lane SHAs (push) Has been cancelled
2026-07-13 23:33:03 +00:00
866ed9bee7 Merge pull request 'fix(ci): arm64 runner toolchain — pyrage aarch64 wheel + lane-shas via uv' (#28) from fix/ci-arm64-runner-toolchain into main
Some checks failed
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Has been cancelled
lane-shas / verify pinned lane SHAs (push) Has been cancelled
2026-07-13 23:32:32 +00:00
Shay
1e74313b04 docs: rewrite README opening to establish category-defensive framing
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 35s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 3h11m24s
2026-07-13 06:15:19 -07:00
Shay
dcf1b59586 fix(ci): arm64 runner toolchain — pyrage aarch64 wheel + lane-shas via uv
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 33m18s
The self-hosted Actions runner is aarch64 (Apple M1 Linux); the CI toolchain
assumed x86_64, so every workflow has been failing at environment setup — on
main and every PR, not a code regression.

Two root causes, both arm64:

  * pyrage==1.2.3 publishes no linux-aarch64 wheel, so uv fell back to an sdist
    build and modern uv rejects pyrage's own pyproject.toml ("[project] without
    project.version") — "TOML parse error at line 5". Bump to pyrage==1.2.4, the
    first release shipping a cp39-abi3 manylinux_2_17_aarch64 wheel (x86_64 and
    macOS wheels retained). No source build -> no parse error. Fixes smoke,
    full-pytest, contemplation, ratify-proposal.
    Verified: age/X25519 encrypt+decrypt round-trips on 1.2.4, and the committed
    sealed-holdout artifacts (sealed under 1.2.3) still decrypt
    (tests/test_holdout_encryption.py, tests/test_adr_0119_7_sealed_gsm8k.py —
    7 passed). No ADR pins the patch version; only a size-tally doc referenced
    it (updated).

  * lane-shas used actions/setup-python@v5, which has no arm64 build for the
    pinned 3.12.13 ("version '3.12.13' with architecture 'arm64' was not found"
    -> "python: command not found"). Switch to astral-sh/setup-uv@v5 + uv (uv
    provisions arm64 Python reliably), matching the other four workflows.

Files: pyproject.toml (pyrage 1.2.3->1.2.4), docs/model_dependency_size_tally.md,
.github/workflows/lane-shas.yml. uv.lock is gitignored (uv re-resolves per run).

Separate pre-existing issue (NOT addressed here): with setup fixed, lane-shas
now reaches its SHA check, where 2 demo lanes (demo_composition, public_demo)
drift from their pins. This is content drift on main, unrelated to the toolchain
(public_demo is a known wall-clock/env flake). Left for an explicit re-pin vs
degate decision rather than silently re-pinning.
2026-07-12 17:12:22 -07:00
Shay
26270ed846 feat(algebra): null-point recovery primitives + frozen CGA null constants
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Failing after 59s
lane-shas / verify pinned lane SHAs (pull_request) Failing after 32s
Shared CGA substrate for the #17 conformal-Procrustes/Kabsch and #16
Cartan-Iwasawa decompositions. Adds algebra/null_point.py and hoists the two
conformal null directions to frozen module constants.

algebra/cga.py
  - Add frozen read-only f64 N_O / N_INF constants: the same vectors
    embed_point builds inline (origin embeds to N_O; N_INF is fixed by every
    Euclidean isometry), so the null-point primitives share one exact sign
    definition instead of re-deriving it per call site.
  - Fix header-docstring sign typo: n_o = 0.5*(e5 - e4), not 0.5*(e4 - e5).
    embed_point was already correct; only the module header disagreed.

algebra/null_point.py (new)
  - dilator(scale), translator(a): CGA similarity constructors; both
    round-trip through the recoverers.
  - recover_dilation(V) -> (scale, D): reads V n_inf rev(V), weight-normalised
    so recovery is invariant to a non-unit versor weight (verified vs V -> kV).
  - recover_translation(V) -> (a, T): reads V n_o rev(V), projective
    dehomogenisation.
  - NullPointRecoveryError carries machine-readable reason codes.
  - Fail-closed symmetric similarity gate (_require_similarity): BOTH recoverers
    now reject non-versors (not_a_versor) and non-similarities (not_similarity,
    e.g. transversions). Closes an asymmetry where recover_translation silently
    accepted a transversion / non-versor and returned a plausible translation,
    violating the module's own wrong=0 contract.
  - Orientation-reversing (reflection / det=-1) versors are refused by
    recover_dilation with a distinct reason improper_versor, kept separate from
    degenerate_scale; recover_translation still accepts them (the origin image is
    well defined). conformal_procrustes strips reflections upstream, so this is a
    documented boundary, not a silent one.
  - Default tol=1e-9 documented: matches f64-exact recovery of a cleanly
    assembled versor (~1e-14 round-trip); noisy/SVD callers must pass a wider tol.

tests/test_null_point_primitives.py (new): 33 tests - null-cone/pairing
invariants, constant immutability, constructor round-trips, composed T.D.R peel,
versor-weight invariance, and the full fail-closed matrix (transversion,
non-versor, inversion, reflection asymmetry, non-positive scale, bad vector).

Invariant protected: wrong=0 - no recovery returns a silently wrong value on a
degenerate / non-versor / non-similarity input. Validation: 33/33 new pass;
88 passed / 1 xfailed across the CGA substrate + physics Procrustes consumers
(dynamic_manifold, surprise, versor closure, rotor, holonomy).

Hardened via a 3-lens adversarial verification (soundness / sign-convention /
consumer-contract, each executing counterexample versors, every finding
skeptic-verified): 2 CONFIRMED findings fixed (asymmetric validation gap;
reflection reason conflation); tol-tightness resolved by documentation rather
than a guard-weakening default change.
2026-07-12 16:28:19 -07:00
d376339049 Merge pull request 'feat(third-door): exact metric-orthogonal surprise projection + reconciled polarity (#20)' (#26) from feat/surprise-metric-projection into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 26s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 58s
2026-07-12 22:28:41 +00:00
Shay
30348af942 docs(third-door): clarify sur_norm is the definite Euclidean threshold magnitude (#20 review)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 46s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 1m8s
2026-07-12 15:27:20 -07:00
Shay
efa84002cd feat(third-door): exact metric-orthogonal surprise projection + reconciled polarity (#20)
Finding #20 (Super-Blueprint §3.2). surprise_residual was Euclidean Gram-Schmidt
on flat 32-coefficient vectors — metric-blind (it ignored the (+,+,+,+,-)
signature and the blade grade structure), so "inside the admissible span" was
judged by the wrong geometry.

Operator math (core/physics/surprise.py):
- Exact metric-orthogonal projection: solve the normal equations G c = r
  (G_ij = cga_inner(b_i,b_j), r_i = cga_inner(b_i,x)) via lstsq, under cga_inner
  (32-vec) / eta (5-vec).
- Fail-closed (typed SurpriseResidualError) on a metric-degenerate span, keyed on
  rank(G) < rank(B) — a null direction with no reciprocal (lone n_o). Refines the
  literal "rank(G) < k": mere linear dependence among non-null columns is admitted
  (lstsq projects onto the span), so a redundant live basis [1, source] and the
  non-degenerate pair {n_o, n_inf} are admitted; only a lone n_o is refused. The
  disclosure names the Gram null-space direction (not just zero-diagonal columns).
- Reconciled productivity polarity: productive_transfer = low Procrustes AND low
  surprise (was `sur_norm >= 0.0`, always true). High surprise routes to discovery
  (split follow-up). Corrects the ledger's transfer/discovery conflation.

Adversarial verification (3 independent lenses) found, and this fixes:
- HIGH soundness hole: sur_norm was the reversion pseudo-norm, which VANISHES on
  a nonzero metric-null residual (the n_o/n_inf light cone) -> false-zero surprise
  -> an out-of-span light-cone probe was wrongly admitted as in-span. Now the
  DEFINITE (Euclidean) norm of the residual: the projection stays metric-exact,
  the magnitude is 0 iff nothing is unexplained.
- HIGH regression: the analogical-transfer harness called surprise_residual
  OUTSIDE its try/except, so a degenerate source crashed the whole run. Now
  guarded: records a refused case and continues.
- grade-support `allowed` -> exact-nonzero (removes a spurious-leak edge under
  coefficient amplification of sub-tolerance grade dust).

DiscoveryCandidate wiring into the contemplation loop is split to its own
follow-up (a distinct cross-cutting surface). Off-serving (nothing in
serving/runtime imports core.physics.*). Tests: 15 behavioral tests
(metric-vs-Euclidean divergence, null-cone regression, null refusal +
combination-degenerate disclosure, 5-vector branch, polarity); 139-test physics
sweep green; ruff clean.
2026-07-12 15:27:20 -07:00
19b2c3a5a9 Merge pull request 'refactor(third-door): retire vacuous §3.3 grade-5 pseudoscalar gate (#19)' (#25) from feat/retire-pseudoscalar-gate into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 25s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 59s
2026-07-12 22:20:52 +00:00
Shay
b652a627ba refactor(third-door): retire vacuous §3.3 grade-5 pseudoscalar gate (#19)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Failing after 58s
lane-shas / verify pinned lane SHAs (pull_request) Failing after 4m23s
The Super-Blueprint §3.3 "grade-5 pseudoscalar alignment anchor" is
mathematically vacuous in odd-dimensional Cl(4,1) and cannot be built as
specified (3-agent R&D convergence — Opus/Grok/Terra — ratified):

- I₅ is central in odd dim → V·I₅·Ṽ = ±I₅ for every versor; orientation is
  invariant by construction (nothing to block).
- Field-state versors are even → F[31] ≡ 0; the gated ⟨F·F̃⟩₅ = 0 for the
  source and target of every transition. The gate compares 0 == 0.
- The "even-versor parity gate" repair is equally vacuous (even subalgebra is
  closed under the sandwich; odd-grade mass ≡ 0 on the sanctioned path).

Removes the namesake rather than leaving it masking an absence:
- Delete _PSEUDOSCALAR_IDX + all F[31] reads (dead `ps` history element and
  CoherenceResidual.pseudoscalar — both structural zeros).
- Rename telemetry channel pseudoscalar_floor → autonomy_floor (it was always
  self.floor, the earned-autonomy ceiling).
- Bump telemetry schema goldtether_coherence_v1 → v2 (shape changed).

The integrity-anchor role is subsumed by versor closure + GoldTether harmonized
residual (#24) + biography/identity holonomy. Ledger §5 rewritten with the
vacuity proof, subsumption, and the reusable "would this gate ever fire on the
sanctioned construction path?" meta-criterion.

No serving/runtime path touched (core.physics.* is off-serving). Tests: 33 pass
/ 1 xfail (Cartan #2) across goldtether + fidelity + miner + transfer suites;
ruff clean.
2026-07-12 13:07:17 -07:00
2118726dfe Merge pull request 'feat(third-door): GoldTether harmonized residual + α=Φ(R) constraint control (ADR-0238 §2.3, #18)' (#24) from feat/goldtether-alpha-control-gold-set into main
Some checks failed
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 5s
lane-shas / verify pinned lane SHAs (push) Failing after 22s
2026-07-12 18:19:25 +00:00
Shay
fe278a4b26 feat(third-door): GoldTether harmonized residual + α=Φ(R) constraint control (ADR-0238 §2.3)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 2s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 45s
Implements the ADR-0238 §2.3 / R&D-Revised §2.3 machinery the skeleton omitted
(fidelity finding #4, issue #18):

- Gold-invariant set 𝓘_gold seeded with the primal {identity, n_o, n_inf}
  (R&D §5 bootstrapping seeds), so the geometric term never degenerates at
  cold start.
- goldtether_residual: scale-harmonized R = w·(drift/ε) + (1−w)·(min‖F−I‖/‖F‖),
  both terms scaled to [0, O(1)] so neither masks the other — the exact defect
  §2.3 exists to fix. The raw coherence_residual stays the fail-closed closure
  gate; this is the alignment signal that drives α.
- alpha_constraint = Φ(R_gt; r_floor, r_critical): the smooth-step constraint
  weight, composed with the earned-autonomy ceiling (α_floor = 1 − autonomy)
  and serve-pinned-to-1. supervised_transition rides the exact geodesic (#23).
- promote/prune gold-set hooks (caller-gated; the ADR-0092 replay-verified
  promotion pipeline + principal-axis decay are deferred, per issue #18).

Reconciliation (design): the earned-autonomy ramp (lifetime trust ceiling) and
α=Φ(R) (per-transition blend) compose at two timescales rather than compete —
earned autonomy floors α, Φ(R) modulates within it, serve is never autonomous.
All existing GoldTether behavior/tests preserved; fail-closed + serve-never-
autonomous intact.
2026-07-12 10:59:48 -07:00
fbfac414dd Merge pull request 'feat(algebra): exact fractional powers of non-simple rotors (invariant split)' (#23) from feat/rotor-power-nonsimple-bivector into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 24s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 53s
2026-07-12 17:48:12 +00:00
Shay
1646250b69 chore: drop xfail from test_supervised_blend on PR 15
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Failing after 4s
lane-shas / verify pinned lane SHAs (pull_request) Failing after 18s
2026-07-12 10:47:55 -07:00
Shay
4fc29eb6ff Merge remote-tracking branch 'forgejo/main' into my_temp_branch 2026-07-12 10:47:20 -07:00
38f443fd38 Merge pull request 'feat(third-door): ADR-0238/0239/0240 skeleton — honest re-land of #14 (rename + fidelity ledger)' (#15) from feat/third-door-adr-0238-0240 into main
Some checks failed
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 4s
lane-shas / verify pinned lane SHAs (push) Failing after 1s
2026-07-12 17:46:11 +00:00
9daa1185a9 Merge pull request 'docs: remove dangling reference to deprecated docs/dev/git-forgejo.md' (#22) from chore/fix-dangling-git-forgejo-doc-ref into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 3s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Has been cancelled
2026-07-12 17:45:18 +00:00
Shay
57512c22c0 feat(algebra): exact fractional powers of non-simple rotors (invariant split)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 33s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 54s
rotor_power previously returned the IDENTITY for any non-simple rotor — an
approximation where exactness was available (Pillar II, Semantic Rigor) that
silently collapsed geodesic interpolation (slerp / supervised blend) to a
no-op while closure stayed green. Replace the identity-fallback with the
invariant (bivector) decomposition: a general Cl(4,1) rotor factors into two
commuting simple rotors R = R1 R2, so R^a = R1^a R2^a exactly, each via the
existing simple closed form, with a dedicated closed form for the isoclinic
(coincident-plane) case. Built from the geometric product alone — no scipy,
no GA library (Pillar III, Third Door); exact f64 on the existing product
table (Pillar I, Mechanical Sympathy).

- Simple path is byte-identical (0.0 delta); 66 existing algebra tests pass.
- tests/test_rotor_power_general.py pins R^1=R, (R^.5)^2=R, R^a R^b=R^(a+b),
  R^0=1, closure, isoclinic, and replay determinism across every plane type
  incl e5 boosts (441 pass), to machine precision (<= 6.5e-10).

This is the substrate cause of the Third-Door blend degeneration (fidelity
finding #1, issues #16/#18): with a real rotor_power, supervised_blend and
dual_correction_slerp now interpolate monotonically and land on target. Once
merged, the ADR-0239 blend xfail on #15 flips green.
2026-07-12 09:52:07 -07:00
Shay
3cd056b476 docs: remove dangling reference to deprecated docs/dev/git-forgejo.md
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 3s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 54s
core-bootstrap.md linked docs/dev/git-forgejo.md, which was removed as
deprecated (c0cbd13d) — the git+Forgejo setup lives in AGENTS.md. Drop the
dead link. Surfaced by the main-lineage reconciliation audit.
2026-07-11 23:18:31 -07:00
Shay
65196337d3 docs(third-door): blueprint fidelity ledger — full spec-vs-impl gap analysis
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 23s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 1m22s
Master honest ledger for the ADR-0238/0239/0240 skeleton: per-operator
blueprint spec, actual landed code, precise gap, reproducible evidence, and
what 'done right' requires. Tracks follow-ups #16-#21. Replaces the Mastery
Report framing with a verifiable spec-vs-impl record.
2026-07-11 23:04:02 -07:00
Shay
f176956630 test(third-door): blueprint-fidelity ledger for findings #1-2 (xfail)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Failing after 1s
lane-shas / verify pinned lane SHAs (pull_request) Failing after 10s
Composed-versor tests the ADR-0239 suite never exercises. Two spec-property
tests xfail (strict) citing Super-Blueprint §2.2 / R&D-Revised §2.3; two
characterization tests lock the current degenerate behaviour so a future fix
is forced to update them.

- supervised_blend: no-op for interior alpha on composed (non-simple) versors
- cartan_iwasawa_factorize: raises 'factor R not closed' on composed versors
2026-07-11 22:55:15 -07:00
Shay
896e90a92b fix(third-door): align with perfected package contracts from Downloads artifacts (refs #10 #11 #12 #13)
Some checks failed
smoke / smoke (-m "not quarantine") (pull_request) Failing after 1m1s
lane-shas / verify pinned lane SHAs (pull_request) Failing after 47s
Source artifacts from the multi-model landing package (README + Super-Blueprint
+ ADR-0238/0239/0240 + goldtether/dynamic_manifold/surprise) are now the
contractual surface, implemented on the live algebra/* kernel:

- GoldTetherMonitor.residual/update/may_relax_hitl/force_reset/autonomy
- signature_aware_pca (5×K, null-safe), conformal_procrustes, cartan_iwasawa_extract
- surprise_residual (Minkowski) + dual_procrustes_surprise audit dict

Package stubs (core.algebra.backend placeholders, scipy, identity-only
Procrustes) are replaced with dual-corrected Cl(4,1) operators. ADRs match
package decision language; docs/adr remains canonical with decisions redirects.

34/34 Third-Door tests + 7/7 ADR-0199 arena regression green.
2026-07-11 22:05:02 -07:00
Shay
e6b635c6aa test: Third-Door replay, closure, analogical transfer harness (refs #10 #13)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 1m13s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 1m43s
40 tests covering ADR-0238/0239/0240: practice vs serve bands, floor decay,
signature PCA null classification, Procrustes residual, surprise dual,
biography holonomy order-sensitivity, temporal NOT_YET, miner SPECULATIVE-
only, fixture transfer wrong=0.
2026-07-11 22:01:13 -07:00
Shay
a8e9977cbc feat(physics): GoldTether, dynamic manifold, surprise dual, biography holonomy (refs #11 #12 #13)
Implement Third-Door operators:
- goldtether: coherence residual, dynamic floor, practice/serve autonomy
- dynamic_manifold: signature-aware PCA, Procrustes, Cartan-Iwasawa
- surprise: residual + dual with Procrustes
- biography / temporal_gate / self_authorship: lifelong + proposal-only

All versor outputs enforce versor_condition < 1e-6. Spin left-composition
geodesic for supervised blend. Arena GoldTether (ADR-0199) untouched.
2026-07-11 22:01:13 -07:00
Shay
bad9b87bff docs(adr): land Third-Door Super-Blueprint + ADR-0238/0239/0240 (refs #10 #11 #12 #13)
Canonical ADRs under docs/adr/; thin redirects under docs/decisions/ for
Issue #10 path compatibility. Documents dual GoldTether ontology, residual
namespaces, HITL curve, and Spin left-composition blend geodesic.

Base: forgejo/main @ dbd44a2a
2026-07-11 22:01:08 -07:00
dbd44a2a03 Merge pull request 'feat: GeometricDelta ABI + MetaRHEvidence integration (surgical, ADR-0026/0026.1)' (#7) from feat/geometricdelta-abi into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 1m28s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 3h7m27s
2026-07-11 09:29:10 +00:00
Shay
629bc16382 fix(vault): isolate DeltaStore frontier from caller aliasing (ADR-0026.1)
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 1m26s
smoke / smoke (-m "not quarantine") (pull_request) Successful in 49m39s
DeltaStore.frontier returned the live internal set. A delta built with
parents=store.frontier aliased it, so insert's frontier maintenance
(add + difference_update) emptied the frontier on every insert and
rewrote every stored delta's parents to {} — the CRDT causal chain
degenerated into all-roots. Sopher's bridge now copies on its side
(sopher ADR-0026.1 §2.1); this is the recommended CORE-side defense in
depth: frontier hands out snapshots, and insert copies delta.parents
into the event envelope.

Regression-tested with the exact aliasing pattern (3-delta chain keeps
one head and stable per-delta parents).
2026-07-11 02:16:57 -07:00
Shay
84eb4f8ecf fix: add meta_rh_evidence to evidence bundle and replay fields 2026-07-11 02:16:57 -07:00
Shay
c3a318573e feat: integrate MetaRHEvidence into workbench schemas and journal 2026-07-11 02:16:57 -07:00
Shay
c69096b2c0 feat(abi): Implement GeometricDelta ABI, validator, delta store, and documentation 2026-07-11 02:16:57 -07:00
90347e3361 Merge pull request 'feat: retire fraction_decrease prose regex — frame-scale CGA dilation' (#5) from feat/retire-fraction-decrease-legacy-regex into main
Some checks failed
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Has been cancelled
lane-shas / verify pinned lane SHAs (push) Has been cancelled
Retire legacy "decrease to N/M of" prose regex from problem_frame_contracts.
Geometric dilation now binds from ProblemFrame scale role (KernelFacts
GroundedScalar Fraction) — post-CGA/ProblemFrame pivot realization.
2026-07-09 03:12:54 +00:00
Shay
2a3f7ad125 feat: retire fraction_decrease prose regex — bind dilation from frame scale
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
smoke / smoke (-m "not quarantine") (pull_request) Has been cancelled
The post-CGA / ProblemFrame pivot comes to fruition: geometric dilation for
fraction_decrease is built from the bound scale role's GroundedScalar
(exact Fraction from kernel slash_fraction / pack numerics), not from a
local "decrease to N/M of" regex on evidence spans.

- Remove _build_fraction_decrease_payload_and_bind (legacy overfitting path)
- Add _fraction_decrease_scale_binding + _versor_binding_from_scale_value
- assess_fraction_decrease attaches VersorBindings when runnable
- assess_geometric_proposals uses frame scale only for fraction_decrease
- compose fallback prefers obligation-complete contracts with bindings
- Guard test: contracts source must not reintroduce the prose regex

Invariants: construction-boundary CGA only; versor_condition < 1e-6;
no new derivation-organ prose parser.
2026-07-08 20:09:49 -07:00
6b4bfbe675 Merge pull request 'feat: close 3-lang depth deck (same-turn roots, capability pins, public_demo budget)' (#4) from feat/3lang-depth-deck-close into main
Some checks are pending
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Waiting to run
lane-shas / verify pinned lane SHAs (push) Waiting to run
Merges 3-lang depth deck close + Gemini CGA/fraction_decrease compatibility:

- same-turn he/grc resolve_token_depths for recognition
- capability suite (he/grc exemplars)
- public_demo 60s budget + soft runtime case; lane-shas re-pin
- pack-first geometric dilation scale
- optional contract fallback + multi-fraction hazard on fraction_decrease
- parse_and_solve 9-decimal answer presentation boundary
- ADR-0184 S4b corpus re-pin 937→1087
2026-07-09 03:01:47 +00:00
Shay
268a754c00 fix: fold Gemini CGA/fraction_decrease compatibility into deck PR
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
smoke / smoke (-m "not quarantine") (pull_request) Has been cancelled
Port load-bearing fixes from Gemini worktree (Projects/core draft) onto
forgejo deck branch — reviewed and cleaned for invariants:

- fraction_decrease: optional contract with geometric proposal fallback;
  multi slash-fraction hazard refuse
- parse_and_solve: 9-decimal answer presentation boundary only (matches
  derivation verify uniqueness quantum; not algebra drift repair)
- proportional_decrease family asserts: serving_allowed after Gate A2k
- ADR-0184 S4b: re-pin equivalence corpus 937 → 1087

Not folded: local core-rs uv install (env-only), obsolete 3lang draft
from Gemini tree, double-rounding wrapper noise.
2026-07-08 20:00:51 -07:00
Shay
640dbe8fd7 feat: close 3-lang depth deck — same-turn roots, capability pins, public_demo budget
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Has been cancelled
smoke / smoke (-m "not quarantine") (pull_request) Has been cancelled
Complete residual work after PR #2/#3 merge:
- Same-turn he/grc depth via resolve_token_depths before PropGraph build
- Capability suite (he/grc exemplars, result fields, construction, dilation)
- public_demo: 60s reference budget, soft runtime case (hard raise opt-in)
- Pack-first geometric scale for fraction dilation; legacy N/M retained
- Re-pin public_demo SHA; lane-shas 9/9 green

Invariants: exact pack lookup, immutability, versor by construction, no
prior-turn dependency for first-contact he/grc root canonicalization.
2026-07-08 19:15:34 -07:00
eb846e1ec1 Merge pull request 'fix: address post-merge review MEDIUM items for 3-lang depth (anti-unifier fallback, depth filter)' (#3) from feat/3lang-depth-proposition-graph-unification into main
Some checks failed
lane-shas / verify pinned lane SHAs (push) Failing after 13m20s
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Failing after 21m20s
2026-07-08 15:33:37 +00:00
Shay
7b0c0ae8ce fix(review): address MEDIUM items from final code-reviewer
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 2m34s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 15m21s
- anti_unifier: remove arbitrary root fallback when no agent_node_id (only apply root-form when nid known; primary pipeline path unaffected)
- depth_canonical: filter build_node_depths to he/grc (or nodes with root) so English nodes no longer pollute node_depths with language-only entries

Tests re-run green. Matches review recommendations for the 3-lang depth feature.
2026-07-08 08:31:29 -07:00
3263f5cc93 Merge pull request 'feat: 3-lang (he/grc) depth PropositionGraph unification (roots, node_depths, graph_anti_unify on result)' (#2) from feat/3lang-depth-proposition-graph-unification into main
Some checks are pending
full-pytest / full pytest (-m "not quarantine" -n 2) (push) Waiting to run
lane-shas / verify pinned lane SHAs (push) Waiting to run
2026-07-08 15:28:27 +00:00
Shay
0188af46c0 fix(3lang-depth): remove is_fully_grounded gate from depth enrichment so result always gets node_depths/gau for 3-lang; fix fixture to use combined packs + explicit skip docs; add runtime docstrings for contract; update draft md evidence
Some checks failed
lane-shas / verify pinned lane SHAs (pull_request) Failing after 2m29s
smoke / smoke (-m "not quarantine") (pull_request) Failing after 4h41m33s
- Fixes skeptic gaps on empty fields in some smokes and fixture mismatch.
- Targeted tests green post-fix.
- Fresh captures have required non-empty data + documented skips.
2026-07-08 08:02:01 -07:00
Shay
5d9e2d0748 test+feat: marker/fixture for depth packs; top-level node_depths+graph_anti_unify on CognitiveTurnResult; docstrings+pr draft; verifs captured
- Addresses review items + goal plan acceptance.
- Real tests committed driving shipped pipeline+result.
- All per verification plan + checklist.
2026-07-08 07:54:53 -07:00
Shay
0e6dada09b chore(cleanup): complete post-pickup hygiene, consolidation, and review fixes for 3lang depth unification
- Remove retired HANDOFF-antigravity-2026-07-01.md stray.
- Harden enrich_assessments_with_depth (remove fragile __dict__ fallback; best-effort only).
- Explicit _last_node_depths in ChatRuntime; clean direct propagation from pipeline (remove hasattr/setattr dance + bare excepts).
- Add clarifying propagation contract comments.
- Update plan.md with cleanup section.
- All targeted tests + SHA/claims checks green post-edit.
- Tree clean, ready to roll.

Addresses remaining MEDIUM items from code-reviewer run.
2026-07-08 07:26:03 -07:00
Shay
05348e5a79 refactor: consolidate duplicate depth extraction — graph_planner.get_node_depths now delegates to build_node_depths (single source)
Addresses MEDIUM from code-review: eliminates duplication risk between GraphNode method and pure canonical func.
Tests (graph_anti / node_depths) remain green.
2026-07-08 07:21:17 -07:00
Shay
3d08e10357 chore: archive pickup seeds (NEW_SESSION_PROMPT, COMPACT_STRATEGY, capture script) post progress per strategy 2026-07-08 07:16:20 -07:00
Shay
c5dad6ac52 docs: update plan with 2026-07-08 pickup status + re-pin; archive Jul6 compact (slice progressed per strategy)
- Confirmed integration atop CGA substrate.
- Verifs, re-pin, claims done.
- Depth unification slice complete for current scope.
2026-07-08 07:16:05 -07:00
Shay
73bca055a8 chore: refresh canonical demo lane reports after 3lang depth re-pin 2026-07-08 07:15:46 -07:00
Shay
c57defdba5 chore: re-pin demo_* SHAs and regenerate CLAIMS.md for intentional 3lang depth spine changes
Demos drifted due to PropGraph node_depths, graph_anti, runtime contemplate depth wiring, realizer-adj.
Other 7/9 lanes stable (incl post-CGA substrate).
Per plan/compact: re-pin when slice ready.

Spine tests + construction/oov 545+ green.
Depths visible in 3-lang ctx from "define אמת".
2026-07-08 07:15:37 -07:00