Skip to content

Session 2026-09-27: R0-B pieces 1-2 (Session IR, 14/14 green) + R1 stackcert scaffold + type-family coherence links - #2

Merged
hyperpolymath merged 1 commit into
mainfrom
arena/01a0e2de-occupancy-types
Sep 28, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
arena/01a0e2de-occupancy-types

Conversation

@arena-ai-coding-agent

Copy link
Copy Markdown

What

The 2026-09-27 session per ULTRAPLAN, in four blocks:

  1. R0-B Piece 1 — Session IR spec + executable checker. 10-construct typed IR (Var,Let,Lam,App,Pair,Fst,Snd,Inl,Inr,Case,Close), 5 unit rules (var/let/case/close/epoch), R0-B unit, integer epoch stamps (step §4.3.1), store/step semantics with the epoch rule, resource counting + 3 demo lemmas, plus a stdlib-only Python package (src/session_ir) checked against examples/session_ir/manifest.json — 14/14 fixtures green, incl. 3 expected-rejection controls and a regression for the ordered-unpack fingerprint.
  2. R0-B Piece 2 — New Exclusion Boundary §6. Explicit no-imports list (unknown families are not dependencies); open = session-only, never heap resources.
  3. R1 — Stackcert scaffold (pinned, complete-by-construction). StackcertCore.lean (max-plus certificates, forward/reverse conjunctive (height,delta) passing, cert_sound — UNVERIFIED, #print axioms slot deliberately unfilled until lake env runs), OCaml stack-frame parsers with 4 expected-rejection controls (negative frame size, differing pushed-regs, negative delta, truncated header), gcc .su/.ci fixtures (no .o), Zephyr fixture request pinned in the retraction ledger. Kill question answered by CONJECTURE in src/stackcert/README.adoc.
  4. Docs & coherence. docs/EXPLAINME.adoc claims map C1–C6 (honest TESTED/UNVERIFIED/CONJECTURE labels), session report, ULTRAPLAN §9 decision log, kill-test block audit gate (--audited), and the type-family map cross-links (last commit).

Honesty labels (as of this PR)

Claim Status
Session IR checker, 14/14 fixtures TESTED (just check-ir)
Kill-test block audit vs doc claims TESTED (gate-green)
Occ spike / cert_sound / stackcert parser UNVERIFIED — no Idris2/Lean toolchain; fixture requests pinned; check FAILS loudly by design, check --runnable-only is green
Kill questions answers CONJECTURE, labelled as such

Commits are unsigned (no signing key in the sandbox); push was hook-validated.

Type-family coherence (context)

Tracked by nextgen-typing#118. Per-repo coordination issues filed: kategoria#76, typell#62, absolute-zero#175, januskey#137, secret-types#2. This PR's last commit is this repo's reciprocal half: README family-map section, glossary deferral to the estate shared glossary, ULTRAPLAN decision-log entries (registration + naming errata: tropical-resource-typing = tropical-types; katagoria → ideas-to-alphas ≠ kategoria).

How to check

just check-ir          # 14/14 + audit + shape gates — green
just check             # full gate — FAILS loudly at idris2/lean until fixtures land (by design)

@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: 749d1e5d-e90d-4246-8eaa-fb8416908496

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.

@arena-ai-coding-agent
arena-ai-coding-agent Bot enabled auto-merge (squash) September 28, 2026 14:10
Coherence without code coupling: README gains the family-map section
(question this repo asks + boundaries), glossary defers to the estate
shared glossary for cross-family reading, ULTRAPLAN decision log records
the registration and the naming errata (tropical-resource-typing =
tropical-types; katagoria -> ideas-to-alphas is NOT kategoria).

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@arena-ai-coding-agent
arena-ai-coding-agent Bot force-pushed the arena/01a0e2de-occupancy-types branch from 1004e49 to dafa491 Compare September 28, 2026 19:46
@hyperpolymath
hyperpolymath enabled auto-merge (squash) September 28, 2026 23:16
@hyperpolymath
hyperpolymath enabled auto-merge (squash) September 28, 2026 23:17
@hyperpolymath
hyperpolymath enabled auto-merge (squash) September 28, 2026 23:17
@hyperpolymath
hyperpolymath merged commit 1b3578b into main Sep 28, 2026
2 checks passed
@hyperpolymath
hyperpolymath deleted the arena/01a0e2de-occupancy-types branch September 28, 2026 23:20
hyperpolymath added a commit that referenced this pull request Sep 29, 2026
…patia compare (#3)

## Why this PR exists

The compare
[main...coderabbit/fix-hypatia-scan-failures/f36ac704](main...coderabbit/fix-hypatia-scan-failures/f36ac704)
**cannot become a PR**. GitHub reports *no common ancestor* (HTTP 404):

- `main` is `1b3578b`
- `coderabbit/fix-hypatia-scan-failures/f36ac704` is parentless commit
`40296f6` (“Initialize coderabbit/fix-hypatia-scan-failures/f36ac704”)
created 2 seconds after the initial commit.

That orphan tree is an older RSR-template snapshot (with legacy
`machine-readable/`, missing `www/`, deleted modern scripts, and
AGPL-3.0 text). Merging it would destroy modern repository structure and
the Session IR / stackcert research code.

The actual Hypatia ignore entries from
[rsr-template-repo#89](hyperpolymath/rsr-template-repo#89)
(`RE001`/`RE005`/`RE008`) are already on `main` in `.hypatia-ignore`.

**Owner action:** Delete the remote branch
`coderabbit/fix-hypatia-scan-failures/f36ac704`.

## CI fixes in this PR

| Check | Root Cause | Fix |
|---|---|---|
| Hypatia Security Scan | Reusable workflow at `da2c748` clones
`hypatia@HEAD` and runs `mix escript.build`. Scanner build failed
upstream on `hypatia@HEAD` (`hypatia#863` / `standards#1014`, same ~31s
failure estate-wide). The scanner never ran. In addition, the caller
workflow was missing `secrets: inherit`. | Added `secrets: inherit` in
`.github/workflows/hypatia-scan.yml`. Scanner build will succeed once
upstream HEAD is cleared. |
| Workflows dying with `startup_failure` on `main` (CodeQL, Pages, etc.)
| Dependabot PR #1 bumped `codeql-action` to 4.38.2 (`2892aa5`) and
`haskell-actions/setup` to `v2.12.1` in the YAML without updating
`actions.lock`. That desync causes GitHub Actions to reject runs at
startup (creating 0 jobs and reporting "This run likely failed because
of a workflow file issue."). Furthermore, `codeql-action` v4.38.1/4.38.2
is blocked estate-wide (`nexia-list#100`). | Reverted
`codeql-action/init` and `analyze` to
`b96794f015dfd88f77b49b1c93e0fa7110f94c63` (v4.38.0). Reverted
`haskell-actions/setup` to `v2.12.0`. |
| Lock Sync Gate | YAML pins now strictly match `actions.lock`. | All 4
lock-sync clauses pass (verified against `actions.lock`). |
| Repo Map Determinism Gate | `REPOSITORY-MAP.adoc` had not been
regenerated after PR #2 added `ULTRAPLAN.md` and populated `examples/`.
| Regenerated via `scripts/gen-repo-map.sh`
(`tests/shape/repo_map_determinism_test.sh` PASS). |

Full write-up added in `docs/status/HYPATIA-GATE.adoc`.
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