Skip to content

feat(type-theory): exploratory dendrogram → bridge index → ProofTransport receipt panel - #83

Merged
hyperpolymath merged 2 commits into
mainfrom
arena/01a0e044-metamanifold-webui
Sep 27, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
arena/01a0e044-metamanifold-webui

Conversation

@arena-ai-coding-agent

Copy link
Copy Markdown

Adds an exploratory type-theory work section. It is not wired into app routes, the server or the release.

What

  • type-theory/README.md: what the section is for and how it's laid out.
  • type-theory/dendrogram-receipts/DESIGN.md: the design, what already exists across the estate, the selection policy, the DOM-performance rules, a proposed Protoctist.jl export_bridge_index, and open questions.
  • frontend/src/type-theory/dendrogram-receipts/: minimal TS/JSON contract:
    • metamanifold.bridge-index/v1: node → epistemic_domain → receipt stubs. Domain lists are pre-summed over each clade, so a click is one lookup.
    • metamanifold.proof-transport-receipt/v1: statuses, modes and gaps mirror epistemic-types' ProofTransport.a2ml.
    • The boundary parser rejects: a Proof carrying a gap, an OpaqueReceipt claiming Proof, a receipt id that doesn't match its href, and absolute hrefs.
    • The controller uses one delegated listener, resolves the selection synchronously, cancels the previous fetch and drops stale responses, keeps an LRU cache, and makes at most one panel write per animation frame (textContent only).
  • Example fixtures pointing at real theorems in proofs/agda.
  • frontend/tests/unit/type-theory-dendrogram-receipts.test.ts: 8 tests, all passing. The new files type-check under the repo's strict tsconfig.

Not in this PR

  • The Julia producer (proposed only).
  • A JEG adapter: epistemic_domain, the bridge index and JEG aren't defined anywhere in the estate yet, so this PR defines the first two and puts JEG behind a small DendrogramHost interface.
  • Browser-side verification: receipts are displayed, not re-verified.

The open questions are listed in DESIGN.md §7.

…port receipt panel

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: b023bb34-a314-4445-8b4d-2f87093de2fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath merged commit 4c2c79e into main Sep 27, 2026
4 of 6 checks passed
@hyperpolymath
hyperpolymath deleted the arena/01a0e044-metamanifold-webui branch September 27, 2026 04:13
arena-ai-coding-agent Bot pushed a commit that referenced this pull request Sep 27, 2026
main was rewritten to a new root (4c2c79e, PR #83) that shares no history
with the revision this audit was written against (4a848da), and the audited
code moved: Execution.jl +125/-60, estimation.jl +231/-29. ilr_basis.jl,
analysis.jl, provenance.jl and bench/ilr_bases/benchmark.jl are
byte-identical, so their citations are untouched.

Re-verifies all 21 findings against the new tree -- the four headline ones
(M3 dead clr_table, M4 redundant copies, N1 mixed healing scales, W1
is_dangerous not updated on :not_run) by reading the new code rather than
trusting the old line numbers -- and re-locates every citation into the two
files that moved.

Also corrects the catalogue for work that landed after the audit:
glmGamPoi dispersion is now a pure-Julia port (SUPPORTED_DISPERSION gains
"glmgampoi"; only local/mean/pooled remain refused), so
estimation.dispersion_refused no longer says "use parametric" for it. Adds
three entries: the port itself, its unported spline abundance trend, and
its pass-1 fallback; and records in the audit that two pure-Julia kernels
now exist, which bears on question 10 without changing the gate (CI still
has no verdict on any of this code).

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
arena-ai-coding-agent Bot added a commit that referenced this pull request Sep 27, 2026
)

Follow-up to #85, which restored workflow startup. With CI alive again,
the **Source lint** step (`config/ci/lint_source.jl`) produced its first
verdict in two days and failed on two files it had never been able to
run against — neither of them touched by #85:

1. **`test/doi/fixtures.jl`** uses the suite aliases `B`/`P`, which are
`const` bindings defined in `tests.jl` before `include("fixtures.jl")`.
The lint check is deliberately textual and per-file, so an alias
supplied by the includer is invisible to it. The three call sites
(`B.write_checksums!`, `P.prepare!`, `P.publish!`) now go through
`Target.DOIBundles` / `Target.DOIPublications` — the same bindings at
runtime (tests.jl defines them from `Target`), legible in isolation.

2. **`test/unit/test_zero_replacement.jl:215`** broadcast
`Float64.(parse.(Float64, ...))` — the outer map is an identity (`parse`
with a `Float64` target already yields `Float64`), and the `Float64.(`
spelling matches the lint's `Module.member` pattern over test files.
Removing the outer conversion changes no value.

**Validation:** replayed the lint's textual checks (escaped
interpolation, adjacent docstrings, bare-alias member refs, the
`Float64.( pattern`) over both files — all clean. Julia itself isn't
available in this sandbox, so the definitive gate is the CI Source lint
step on this PR.

**Known-red checks NOT addressed here** (pre-existing, not introduced by
this change): repo-hygiene `tsc --noEmit` (frontend, likely #83-era),
the stale apt-Agda 2.6.4.3 `Proofs (Agda)` job inside ci.yml (proofs.yml
— the real gate — is green), and the DOI contracts job.

Co-authored-by: arena-agent <arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
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