Skip to content

kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478 - #290

Merged
hyperpolymath merged 3 commits into
mainfrom
claude/new-session-ywdrth-sibling-repin
Nov 17, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
claude/new-session-ywdrth-sibling-repin

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

This PR moves two sibling pins in scripts/fetch-siblings.sh:

  • resource-algebra goes from 0b338c9 to f0818f2;
  • occupancy-types goes from 8f09c0b to ead4478, which is occupancy-types#25.

The script asks for one commit per pin, but these two have to move together. At f0818f2, the kernel's _≤_ is a record over a relation defined by recursion on ℕ, so that it checks under --cubical-compatible. There, z≤n and s≤s are functions rather than constructors, and occupancy-types builds against that only from ead4478. Moving either pin alone fails the kernel gate.

Changes

  • scripts/fetch-siblings.sh: the two new pins.
  • Grade-kernel headers (ResourceAlgebra*.idr, typed-wasm.ipkg, tests/reject/MinMaxIsLoss.idr): they name f0818f2. They also say what is unchanged since cf9235c, the commit first transcribed: the definitions and law statements. Upstream has since restated proofs, added lemmas and adopted the §2.1 flags.
  • ResourceAlgebra/Nat.idr: the header no longer claims that _≤_ and Idris2's LTE agree clause for clause. They are logically equivalent, and every lemma statement reads the same.
  • Occupancy headers (Occupancy.idr, HWM.idr, typed-wasm.ipkg, tests/reject/{CostIsOccupancy,DriftIsPeak}.idr): each names ead4478 as the checked pin and af95728 as the commit the code was ported from. Timeline, Reclaim, Witness and both rejection files are byte-identical between those two commits.
  • tests/transcription/ops.tsv: only the header pin changes. The regenerated rows are identical.
  • LEVEL-STATUS.adoc: names the pins and the §2.1 flags. The v1.2 history row keeps af95728.
  • CHANGELOG.adoc: new entry.

RSR Quality Checklist

Required

  • Tests pass (see Testing)
  • No banned functions

As Applicable

  • Documentation updated
  • CHANGELOG updated

Testing

I ran these locally with Idris2 0.8.0 and Agda 2.6.3, using ALLOW_ANY_AGDA=1. CI runs Agda 2.6.4.3.

  • tools/check-kernel-proofs.sh --regen printed OK: kernel proofs — build, 16 rejection(s), table, and 4 negative control row(s). That run covers:
    • resource-algebra's own gate at the pin;
    • occupancy-types' own gate against the resource-algebra pin;
    • choreographic-types' KCut slice;
    • the 34-module Idris2 build;
    • 269 table equalities, accepted by Agda refl and by Idris2 Refl.
  • tools/check-grade-kernel.sh passes.
  • A run with resource-algebra at f0818f2 and occupancy-types still at 8f09c0b failed with Could not parse the left-hand side ≤-step (s≤s p). That failure is why the pins move together.

This PR edits a LEVEL-STATUS.adoc line next to one that typed-wasm#289 changes. Whichever merges second may need a small merge.


Generated by Claude Code

…4478

scripts/fetch-siblings.sh pins resource-algebra at f0818f2 (was 0b338c9)
and occupancy-types at ead4478 (was 8f09c0b). The script asks for one
commit per pin; these two must move together. At f0818f2 the kernel's _≤_
is a record over a relation defined by recursion on ℕ (so that it checks
under --cubical-compatible); z≤n and s≤s are functions there, and
occupancy-types builds against it only from ead4478 (occupancy-types#25).
Either pin alone fails the gate.

Upstream restated proofs, added lemmas and adopted the PROOF-POLICY §2.1
flags. The definitions and law statements the grade kernel transcribes are
unchanged, as are occupancy-types' Timeline, Reclaim, Witness and both
expected rejections; the transcription table regenerates identically.

The module headers that cite a pin name the one the gate checks, and say
what is unchanged since the commit each was ported from. Nat.idr no longer
claims _≤_ and LTE agree clause for clause: they are logically equivalent.
LEVEL-STATUS names the pins and the §2.1 flags; its v1.2 history row keeps
af95728.

tools/check-kernel-proofs.sh: OK — build, 16 rejections, table, and 4
negative control rows (Idris2 0.8.0, Agda 2.6.3 locally; CI runs 2.6.4.3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y6FD63UrriRBHqmhhEca9t
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 0f7cc4cf-2b3b-420b-87a3-4fbcb5ad4be9
Commits

Reviewing files that changed from the base of the PR and between 52ec722 and 46880ef.

Files ignored due to path filters: 1

  • tests/transcription/ops.tsv is excluded by !**/*.tsv
Files selected for processing: 15

  • CHANGELOG.adoc
  • LEVEL-STATUS.adoc
  • scripts/fetch-siblings.sh
  • src/abi/TypedWasm/ABI/Occupancy.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/HWM.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Loss.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MaxPlus.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MinMax.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Nat.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Separation.idr
  • src/abi/typed-wasm.ipkg
  • tests/reject/CostIsOccupancy.idr
  • tests/reject/DriftIsPeak.idr
  • tests/reject/MinMaxIsLoss.idr

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Updated upstream source references and compatibility notes for resource algebra and occupancy-related proofs.
    • Clarified that the relevant definitions remain unchanged while some upstream proofs and lemmas have been restated or added.
    • Updated recorded proof options and source revisions in project documentation and test annotations.

The PR updates the default resource-algebra and occupancy-types commit pins. It revises provenance comments, status records, package-manifest references, the changelog and rejection-test comments. The summaries report no changes to implementation declarations.

Changes: Sibling pin and provenance updates

Layer / File(s) Summary
Update sibling pins
scripts/fetch-siblings.sh, src/abi/typed-wasm.ipkg
The fetch script defaults change to resource-algebra revision f0818f2 and occupancy-types revision ead4478. Package-manifest comments cite the updated revisions.
Revise source provenance
LEVEL-STATUS.adoc, src/abi/TypedWasm/ABI/Occupancy.idr, src/abi/TypedWasm/ABI/ResourceAlgebra.idr, src/abi/TypedWasm/ABI/ResourceAlgebra/*
The status records and module comments update source revisions and describe the recorded history of definitions, law statements, proofs and lemmas. The order-type comment distinguishes logical equivalence from identical definitions.
Update changelog and test references
CHANGELOG.adoc, tests/reject/*
The changelog records the pin updates and related source notes. Rejection-test comments cite the updated source revisions.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • hyperpolymath/typed-wasm#289: It changes occupancy status and provenance text that this PR also updates, including references to the occupancy-types consumer.
Merge Risk: Minimal · previous review 52ec7

This PR moves the sibling dependency pins and updates the documentation that cites them. It does not change runtime declarations. The failing secret scan comes from a file this PR does not touch, so it should be handled separately by that file's owner.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two pin changes, resource-algebra to f0818f2 and occupancy-types to ead4478, which are the main change in the scripts/fetch-siblings.sh and the header and manifest updates. It is s…
Description check Passed The description follows the template sections: Summary, Changes, RSR Quality Checklist, and Testing. The Summary explains why both pins must move together and links the change to the kernel gate failu…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two pin changes, resource-algebra to f0818f2 and occupancy-types to ead4478, which are the main change in the scripts/fetch-siblings.sh and the header and manifest updates. It is specific and in the imperative form. It does not describe the header-only edits in detail, which is acceptable.

Full details: Description check

Explanation

The description follows the template sections: Summary, Changes, RSR Quality Checklist, and Testing. The Summary explains why both pins must move together and links the change to the kernel gate failure. The Changes section lists the affected files. The checklist is ticked for the applicable items. The Testing section gives the commands, toolchain versions, the passing output, and the failing run. The Summary does not use the 'Closes #N' form, but the PR has no linked issue to close. Screenshots are not applicable and are omitted. The description's claim that ops.tsv is regenerated is not in the raw summary, but the file is excluded from review, so this is not a gap in the template.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 83488f42-4eab-4c21-862c-98209034f2cd
Commits

Reviewing files that changed from the base of the PR and between 2f3f7c8 and 52ec722.

Files ignored due to path filters: 1

  • tests/transcription/ops.tsv is excluded by !**/*.tsv
Files selected for processing: 15

  • CHANGELOG.adoc
  • LEVEL-STATUS.adoc
  • scripts/fetch-siblings.sh
  • src/abi/TypedWasm/ABI/Occupancy.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/HWM.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Loss.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MaxPlus.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MinMax.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Nat.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Separation.idr
  • src/abi/typed-wasm.ipkg
  • tests/reject/CostIsOccupancy.idr
  • tests/reject/DriftIsPeak.idr
  • tests/reject/MinMaxIsLoss.idr

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

CI failures not shown inline: 7

GitHub Actions: Secret Scanner / 0_scan _ gitleaks.txt: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1m# fetch-depth: 0 on the checkout is load-bearing HERE. If it ever�[0m
 �[36;1m# regresses to the default depth-1 clone, detect would walk a single�[0m
 �[36;1m# commit, find nothing and report a pass — a gate that cannot fail.�[0m
 �[36;1m# Assert completeness from git itself: gitleaks' own "scanned N�[0m
 �[36;1m# commits" line under-reports and is not proof of depth.�[0m
 �[36;1mif [ "$(git rev-parse --is-shallow-repository)" != "false" ]; then�[0m
 �[36;1m  echo "::error::checkout is shallow -- a history scan here would be vacuous; refusing to report a pass"�[0m
...
 ##[group]Run set -euo pipefail
...
 �[36;1mENFORCE_ADOC_SCAN_FROM="${ENFORCE_ADOC_SCAN_FROM:-2026-08-21}"�[0m
 �[36;1mTODAY="${ADOC_TODAY:-$(date -u +%Y-%m-%d)}"�[0m
 �[36;1mfor pair in "ENFORCE_ADOC_SCAN_FROM=$ENFORCE_ADOC_SCAN_FROM" "ADOC_TODAY=$TODAY"; do�[0m
 �[36;1m  case "${pair#*=}" in�[0m
 �[36;1m    [0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]) ;;�[0m
 �[36;1m    *) echo "::error::${pair%%=*} is not YYYY-MM-DD; refusing to run."; exit 1 ;;�[0m
...
 �[36;1m       "BLOCKING failure on ${ENFORCE_ADOC_SCAN_FROM} (today is ${TODAY})."�[0m
 �[36;1m  echo "NOT YET ENFORCED: AsciiDoc findings present but inside the grace window."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mecho "::error::${count} secret(s) detected in AsciiDoc files."�[0m
...
 These files are invisible to a default gitleaks run because the
 default allowlist drops any path ending in 'doc'. Treat every hit
 above as a real, previously unscanned leak.
 ##[error]1 secret(s) detected in AsciiDoc files.
 ##[error]Process completed with exit code 1.

GitHub Actions: Secret Scanner / scan _ gitleaks: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1m# fetch-depth: 0 on the checkout is load-bearing HERE. If it ever�[0m
 �[36;1m# regresses to the default depth-1 clone, detect would walk a single�[0m
 �[36;1m# commit, find nothing and report a pass — a gate that cannot fail.�[0m
 �[36;1m# Assert completeness from git itself: gitleaks' own "scanned N�[0m
 �[36;1m# commits" line under-reports and is not proof of depth.�[0m
 �[36;1mif [ "$(git rev-parse --is-shallow-repository)" != "false" ]; then�[0m
 �[36;1m  echo "::error::checkout is shallow -- a history scan here would be vacuous; refusing to report a pass"�[0m

GitHub Actions: Secret Scanner / scan _ gitleaks: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1mMIRROR="$RUNNER_TEMP/adoc-mirror"�[0m
 �[36;1mREPORT="$RUNNER_TEMP/adoc-report.json"�[0m
 �[36;1mrm -rf "$MIRROR"; mkdir -p "$MIRROR"�[0m
 �[36;1m�[0m
 �[36;1m# -print0/read -d '' so paths with spaces or newlines survive; the�[0m
 �[36;1m# estate has directories with spaces in them.�[0m
 �[36;1mfound=0�[0m
 �[36;1mwhile IFS= read -r -d '' f; do�[0m
 �[36;1m  dest="$MIRROR/$(dirname "$f")"�[0m
 �[36;1m  mkdir -p "$dest"�[0m
 �[36;1m  cp "$f" "$dest/$(basename "$f").txt"�[0m
 �[36;1m  found=$((found + 1))�[0m
 �[36;1mdone < <(find . -path ./.git -prune -o \�[0m
 �[36;1m              \( -name '*.adoc' -o -name '*.asciidoc' \) -type f -print0)�[0m
 �[36;1m�[0m
 �[36;1mif [ "$found" -eq 0 ]; then�[0m
 �[36;1m  echo "No AsciiDoc files present — nothing to scan."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1mecho "Scanning $found AsciiDoc file(s) via mirror."�[0m
 �[36;1m�[0m
 �[36;1m# Honour the caller's own baseline when it has one, so repo-specific�[0m
 �[36;1m# allowlists still apply to docs exactly as they do to code — and�[0m
 �[36;1m# otherwise fall back to the estate baseline, so docs and code are�[0m
 �[36;1m# judged by the SAME rules. Previously this step honoured a repo�[0m
 �[36;1m# config while the code scan above honoured none, which meant an�[0m
 �[36;1m# allowlist entry could suppress a finding in a `.adoc` file and not�[0m
 �[36;1m# in the `.md` file beside it.�[0m
 �[36;1m#�[0m
 �[36;1m# Absolute paths: this scan's --source is the MIRROR directory, so a�[0m
 �[36;1m# relative config path would resolve against the mirror rather than�[0m
 �[36;1m# the repository. `[extend] path = ".gitleaks-estate.toml"` inside a�[0m
 �[36;1m# repo config resolves against the process CWD (still the repo root),�[0m
 �[36;1m# which is why the estate baseline is staged there.�[0m
 �[36;1mconfig_args=(--config "$PWD/.gitleaks-estate.toml")�[0m
 �[36;1mif [ -f .gitleaks.toml ]; then�[0m
 �[36;...

GitHub Actions: Secret Scanner / 1_scan _ shell-secrets.txt: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run # Patterns: an `export FOO=` or `FOO=` with a quoted literal of meaningful length.
 �[36;1m# Patterns: an `export FOO=` or `FOO=` with a quoted literal of meaningful length.�[0m
 �[36;1m# Restricted to *_TOKEN / *_KEY / *_SECRET / PASSWORD to keep false-positives low.�[0m
 �[36;1mPATTERNS=(�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*TOKEN[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{20,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*API_KEY[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{20,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*SECRET[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{16,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?***"'"'"'][^"'"'"']{6,}["'"'"']'�[0m
 �[36;1m)�[0m
 �[36;1m�[0m
 �[36;1m# Inline pragma patterns — suppress a hit when found on the same or�[0m
 �[36;1m# immediately preceding line.�[0m
 �[36;1mPRAGMA_RE='(scanner-allow:[[:space:]]*shell-secrets|hypatia:[[:space:]]*allow[[:space:]]+security_errors/secret_detected)'�[0m
 �[36;1m�[0m
 �[36;1m# Param-expansion RHS pattern — assignments whose value is a variable�[0m
 �[36;1m# reference rather than a literal are never real secrets.�[0m
 �[36;1m# Matches: ="$VAR"  ="${VAR}"  ="${VAR:-…}"  ="${VAR:?…}"  ='${VAR}'  =$VAR�[0m
 �[36;1mPARAM_EXPANSION_RE='=['"'"'"'"'"']?\$\{?[A-Za-z_][A-Za-z0-9_]*(:[?-][^}]*)?\}?['"'"'"'"'"']?[[:space:]]*(#.*)?$'�[0m
 �[36;1m�[0m
 �[36;1m# Load per-repo ignore globs from .shell-secrets-ignore if present.�[0m
 �[36;1mIGNORE_GLOBS=()�[0m
 �[36;1mif [[ -f .shell-secrets-ignore ]]; then�[0m
 �[36;1m  while IFS= read -r line || [[ -n "$line" ]]; do�[0m
 �[36;1m    # Skip blank lines and comments�[0m
 �[36;1m    [[ -z "$line" || "$line" == \#* ]] && continue�[0m
 �[36;1m    IGNORE_GLOBS+=("$line")�[0m
 �[36;1m  done < .shell-secrets-ignore�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1m# is_ignored <filepath> — returns 0 (true) if path matches any ignore glob.�[0m
 �[36;1mis_ignored() {�[0m
 �[36;1m  local path="$1"�[0m
 �[36;1m  for glob in "${IGNORE_GLOBS[@]}"; do�[0m
 �[36;1m    #...

GitHub Actions: Secret Scanner / scan _ shell-secrets: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run # Patterns: an `export FOO=` or `FOO=` with a quoted literal of meaningful length.
 �[36;1m# Patterns: an `export FOO=` or `FOO=` with a quoted literal of meaningful length.�[0m
 �[36;1m# Restricted to *_TOKEN / *_KEY / *_SECRET / PASSWORD to keep false-positives low.�[0m
 �[36;1mPATTERNS=(�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*TOKEN[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{20,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*API_KEY[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{20,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?[A-Z_]*SECRET[A-Z_]*=["'"'"'][A-Za-z0-9_./+=-]{16,}["'"'"']'�[0m
 �[36;1m  '(export[[:space:]]+)?***"'"'"'][^"'"'"']{6,}["'"'"']'�[0m
 �[36;1m)�[0m
 �[36;1m�[0m
 �[36;1m# Inline pragma patterns — suppress a hit when found on the same or�[0m
 �[36;1m# immediately preceding line.�[0m
 �[36;1mPRAGMA_RE='(scanner-allow:[[:space:]]*shell-secrets|hypatia:[[:space:]]*allow[[:space:]]+security_errors/secret_detected)'�[0m
 �[36;1m�[0m
 �[36;1m# Param-expansion RHS pattern — assignments whose value is a variable�[0m
 �[36;1m# reference rather than a literal are never real secrets.�[0m
 �[36;1m# Matches: ="$VAR"  ="${VAR}"  ="${VAR:-…}"  ="${VAR:?…}"  ='${VAR}'  =$VAR�[0m
 �[36;1mPARAM_EXPANSION_RE='=['"'"'"'"'"']?\$\{?[A-Za-z_][A-Za-z0-9_]*(:[?-][^}]*)?\}?['"'"'"'"'"']?[[:space:]]*(#.*)?$'�[0m
 �[36;1m�[0m
 �[36;1m# Load per-repo ignore globs from .shell-secrets-ignore if present.�[0m
 �[36;1mIGNORE_GLOBS=()�[0m
 �[36;1mif [[ -f .shell-secrets-ignore ]]; then�[0m
 �[36;1m  while IFS= read -r line || [[ -n "$line" ]]; do�[0m
 �[36;1m    # Skip blank lines and comments�[0m
 �[36;1m    [[ -z "$line" || "$line" == \#* ]] && continue�[0m
 �[36;1m    IGNORE_GLOBS+=("$line")�[0m
 �[36;1m  done < .shell-secrets-ignore�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1m# is_ignored <filepath> — returns 0 (true) if path matches any ignore glob.�[0m
 �[36;1mis_ignored() {�[0m
 �[36;1m  local path="$1"�[0m
 �[36;1m  for glob in "${IGNORE_GLOBS[@]}"; do�[0m
 �[36;1m    #...

GitHub Actions: Secret Scanner / 2_scan _ rust-secrets.txt: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run TODAY="${RUST_TODAY:-$(date -u +%Y-%m-%d)}"
 �[36;1mTODAY="${RUST_TODAY:-$(date -u +%Y-%m-%d)}"�[0m
 �[36;1m�[0m
 �[36;1m# An unparseable cutoff would pick the warn branch forever, silently�[0m
 �[36;1m# disarming the widened scan. Refuse to run instead.�[0m
 �[36;1mrequire_date() {�[0m
 �[36;1m  case "$2" in�[0m
 �[36;1m    [0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]) : ;;�[0m
 �[36;1m    *) echo "::error::rust-secrets: $1='$2' is not YYYY-MM-DD."�[0m
...
 �[36;1m    fi�[0m
 �[36;1m  fi�[0m
 �[36;1mdone�[0m
 �[36;1m�[0m
 �[36;1mif [ "$blocking" -eq 1 ]; then�[0m
 �[36;1m  echo "::error::Potential hardcoded secrets detected. Use environment variables instead."�[0m

GitHub Actions: Secret Scanner / scan _ rust-secrets: kernel: re-pin resource-algebra to f0818f2 and occupancy-types to ead4478

Conclusion: failure

View job details

##[group]Run TODAY="${RUST_TODAY:-$(date -u +%Y-%m-%d)}"
 �[36;1mTODAY="${RUST_TODAY:-$(date -u +%Y-%m-%d)}"�[0m
 �[36;1m�[0m
 �[36;1m# An unparseable cutoff would pick the warn branch forever, silently�[0m
 �[36;1m# disarming the widened scan. Refuse to run instead.�[0m
 �[36;1mrequire_date() {�[0m
 �[36;1m  case "$2" in�[0m
 �[36;1m    [0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]) : ;;�[0m
 �[36;1m    *) echo "::error::rust-secrets: $1='$2' is not YYYY-MM-DD."�[0m
...
 �[36;1m    fi�[0m
 �[36;1m  fi�[0m
 �[36;1mdone�[0m
 �[36;1m�[0m
 �[36;1mif [ "$blocking" -eq 1 ]; then�[0m
 �[36;1m  echo "::error::Potential hardcoded secrets detected. Use environment variables instead."�[0m
Additional context used

Code guidelines: 1

.github/copilot-instructions.md — auto-discovered
Path-based instructions: 1

Source excerpt: Annotate and document all files.

CodeRabbit inference engine (.github/copilot-instructions.md)

Files:

  • CHANGELOG.adoc
  • LEVEL-STATUS.adoc
  • scripts/fetch-siblings.sh
  • src/abi/TypedWasm/ABI/Occupancy.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/HWM.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Loss.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MaxPlus.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/MinMax.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Nat.idr
  • src/abi/TypedWasm/ABI/ResourceAlgebra/Separation.idr
  • src/abi/typed-wasm.ipkg
  • tests/reject/CostIsOccupancy.idr
  • tests/reject/DriftIsPeak.idr
  • tests/reject/MinMaxIsLoss.idr

Copy link
Copy Markdown
Owner Author

scan / gitleaks fails on this PR, but the PR didn't cause it. The single finding is in docs/proposals/0007-affine-grade-mode-record-borrow-axis.adoc, which came in with typed-wasm#286. main fails the same way (2f3f7c8), and so does typed-wasm#289. This PR doesn't touch that file.

No fix exists yet. The log redacts the matched value, so the owner needs to look at that file.


Generated by Claude Code

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 16, 2026 19:37
@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 16, 2026 19:37
Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 16, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 16, 2026
CHANGELOG: keep both entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y6FD63UrriRBHqmhhEca9t
CHANGELOG: keep both entries. LEVEL-STATUS merged cleanly. Kernel proof
gate and grade-kernel gate pass on the merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y6FD63UrriRBHqmhhEca9t
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit b83409a into main Nov 17, 2026
46 checks passed
@hyperpolymath
hyperpolymath deleted the claude/new-session-ywdrth-sibling-repin branch November 17, 2026 17:01
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.

3 participants