Skip to content

§ PR-β : phase-a/09 foundation-baseline (σ-enforce ⊕ recognizer ⊕ foundation-crates×5)#9

Open
Apocky wants to merge 1 commit into
cssl/session-11/T11-W18-L8-DXIL-DIRECTfrom
pr-beta/foundation-baseline
Open

§ PR-β : phase-a/09 foundation-baseline (σ-enforce ⊕ recognizer ⊕ foundation-crates×5)#9
Apocky wants to merge 1 commit into
cssl/session-11/T11-W18-L8-DXIL-DIRECTfrom
pr-beta/foundation-baseline

Conversation

@Apocky
Copy link
Copy Markdown
Owner

@Apocky Apocky commented May 15, 2026

§ Scope

Phase-a/09 production-baseline. Lands the foundation crates, σ-enforce-FFI machinery, and the recognizer-fix path. All gates green.

§ Deliverables

▸ Foundation crates (5 new)

  • cssl-cas — BLAKE3-32 content-address (Cid) substrate (D-001 ratified)
  • cssl-hgraph — hypergraph IR primitives
  • cssl-grades — graded modality typing
  • cssl-iccombs — interaction-combinator runtime substrate
  • cssl-prov — provenance / proof-carrying value layer

▸ σ-enforce-FFI

  • cssl-mirsigma_enforceffi_abi_checkstructured_cfg
  • cssl-hir — σ-row plumbing

▸ Recognizer-fix

  • cssl-parse + cssl-lex — recognizer-pipeline corrections
  • csslc/tests/recognizer/* — recognizer corpus
  • T11-W11 + T11-W15 advancement tests

▸ Host edits (σ-enforce + IMPL_06 corrigendum doc-rebrand)

  • cssl-host-*, cssl-mycelium-chat-sync, loa-host, cssl-ui

▸ Workspace

  • Cargo.toml + Cargo.lock regenerated · .gitignore extended

§ Gates

  • cargo check --workspace
  • ◐ workspace clippy/test logs from earlier commits remain tracked (out-of-scope cleanup)

§ Excludes (carved to companion PRs)

  • IMPL_00..06 specs → PR-α pr-alpha/IMPL_00-06-specs
  • iccombs toy-harness (3 crates) → PR-γ pr-gamma/iccombs-toy-harness (stacked on this)

§ Retired (per IMPL_06_CORRIGENDUM ; ⊑ existing substrate)

  • cssl-ocapcssl-caps (HostCap + verify_cap)
  • cssl-effects-rowcssl-effects (28 effects + Ω-rows + banned_composition + sub_effect_check)
  • cssl-consentcssl-ifc (validate_egress + label-flow)
  • cssl-pd-checkcssl-effects.bannedcssl-ifc.validatecssl-caps.HostCap

…er-fixes ⊕ foundation-crates×5 ⊕ host+mycelium+loa-host edits

Lands the production-ready phase-a/09 infrastructure baseline :

  FOUNDATION CRATES (5) : cssl-cas · cssl-hgraph · cssl-grades · cssl-iccombs · cssl-prov

  σ-ENFORCE-FFI : cssl-mir sigma_enforce + ffi_abi_check + structured_cfg passes

  RECOGNIZER-FIX : cssl-parse + cssl-lex + csslc/tests/recognizer{,/*.cssl} + t11_w11/w15 advancement tests

  HOST EDITS : cssl-host-* + cssl-mycelium-chat-sync + loa-host + cssl-ui (σ-enforce-driven + corrigendum doc-rebrand)

  WORKSPACE : Cargo.toml + Cargo.lock + .gitignore additions

GATES : cargo check --workspace ✓

Excludes : specs/Upgrade/impl/* (PR-α) + cssl-iccombs-toy-{elab,cli} + cssl-lower-iccombs (PR-γ stacked on this branch)
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d332354e17

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

walk_block_returns(body, declared, params, interner, out);
}
HirExprKind::Paren(inner) => walk_expr_for_returns(inner, declared, params, interner, out),
_ => {}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Traverse nested expression operands for returns

This fallback skips child expressions for calls, binary/unary ops, casts, assignments, ranges, arrays, struct fields, if conditions, match scrutinees/guards, etc., so a mismatched return can still bypass the new primitive-shape gate whenever it is nested there, e.g. fn f(x: u32) -> i64 { g(return x) }. Since the pass is explicitly meant to catch any return <expr> that inference would otherwise collapse, please recurse through all HirExprKind children rather than only block-like forms.

Useful? React with 👍 / 👎.

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