Skip to content

chore: clear the ABI/FFI leftovers after the scaffold removal - #64

Open
hyperpolymath wants to merge 1 commit into
mainfrom
claude/cool-mendel-n6mzhj
Open

hyperpolymath wants to merge 1 commit into
mainfrom
claude/cool-mendel-n6mzhj

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

#40 removed the unused ABI/FFI scaffold (src/interface/). Several files still described it as present. This PR corrects them and leaves alone the files that already handle the scaffold's absence.

Changes

  • .clinerules, .cursorrules, .windsurfrules, .github/copilot-instructions.md: these no longer point agents at src/interface/{abi,ffi,generated}. They say this repository has no ABI or FFI, and give the estate policy (Idris2 ABI, Zig FFI) if one is ever added.
  • .github/pull_request_template.md: the "ABI/FFI changes validated" checkbox is removed.
  • Justfile: the aspect comment no longer claims the ABI/FFI-contract and thread-safety aspects run. Both are commented out in tests/aspect_tests.sh.
  • .machine_readable/contractiles/Justfile: it is byte-identical to the root again, as docs/onboarding/llm-warmup-dev.adoc requires.
    • It had kept the template's Zig/Idris2 build, test and lint comments, and lacked the check-agda recipe.
    • Its import? set is unchanged, so dust's justfile-imports-in-sync probe still holds.
  • .machine_readable/ai/PLACEHOLDERS.adoc and build/just/provision-lib.sh: these no longer list removed files as where a placeholder is used, or as a path in this repository.
  • CHANGELOG.adoc: a dated entry.

Left as they are on purpose:

  • Template machinery that already handles a missing src/interface/: validate-template.sh, run-proven-suite.sh, assess.just, validate.just and their tests.
  • Estate policy text and template reference docs.
  • TEST-NEEDS.adoc, a dated record whose header notes the removal.

RSR Quality Checklist

  • Commits are signed (verified on GitHub)
  • CHANGELOG updated
  • No licence text, SPDX header or licence choice changed

Testing

  • just test: pass.
  • just quality: pass.
  • just aspect: pass (3 passed, 0 failed).
  • governance_policy_test.sh, runtime_policy_migration_test.sh and the invisible-character check: pass.
  • cmp confirms the two Justfiles are identical, and their import? sets match.
  • run_proven_suite_test.sh fails locally on unmodified main too. The failing check is "runner leaked its temporary benchmark report". The local session's rm wrapper refuses the runner's cleanup, so the temporary report is left behind. CI runs this test on a clean runner.

Screenshots

Not applicable.


Generated by Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated project guidance to reflect that the repository no longer includes an ABI/FFI scaffold and to clarify the policy for any future ABI or FFI work.
    • Clarified which build, lint, testing, and aspect checks apply to the Agda-only project.
  • Chores
    • Added a check-agda command to run the Agda checks.
    • Updated the changelog and project references to reflect the scaffold’s removal.

#40 removed src/interface/, but several files still described it as
present:

- The agent rule files (.clinerules, .cursorrules, .windsurfrules,
  copilot-instructions) pointed at src/interface/{abi,ffi,generated}.
  They now say there is no ABI or FFI here, and give the estate policy
  if one is ever added.
- The PR template asked to validate ABI/FFI consistency. That checkbox
  is dropped.
- The Justfile's aspect comment claimed the ABI/FFI-contract and
  thread-safety aspects run. Both are commented out in
  tests/aspect_tests.sh.
- .machine_readable/contractiles/Justfile had kept the template's
  Zig/Idris2 build/test/lint comments and lacked check-agda. It is
  byte-identical to the root again, as llm-warmup-dev.adoc requires.
  Its import? set is unchanged, so dust's justfile-imports-in-sync probe
  still holds.
- PLACEHOLDERS.adoc and a provision-lib.sh comment named removed files
  as where a placeholder is used, or as a path in this repository.

Template machinery that already handles a missing src/interface/, estate
policy text, and the dated TEST-NEEDS record are left as they are.

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

gitnotebooks Bot commented Nov 30, 2026

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review December 1, 2026 01:32
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-01T01:32:52.956505Z
We couldn’t complete this review. Comment @codex review to try again.
03b2c5f Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Repository owner deleted a comment from coderabbitai Bot Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changes remove stale ABI/FFI scaffold references from repository guidance and placeholder records. They update Justfile documentation, add a check-agda recipe, and revise the changelog and provisioning comment.

Changes: Scaffold reference cleanup

Layer / File(s) Summary
Update scaffold guidance and references
.clinerules, .cursorrules, .github/copilot-instructions.md, .github/pull_request_template.md, .machine_readable/ai/PLACEHOLDERS.adoc, .windsurfrules, CHANGELOG.adoc
Guidance and placeholder records no longer identify the removed ABI/FFI scaffold paths as present. The pull request template no longer asks for ABI/FFI consistency validation. The changelog records these updates.
Align recipes with Agda checks
.machine_readable/contractiles/Justfile, Justfile, build/just/provision-lib.sh
The contractiles Justfile documents Agda checks and adds check-agda, which invokes scripts/check-agda.sh. The root Justfile and provisioning comment no longer describe the removed ABI/FFI files as present.

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

Change: Other

Possibly related PRs

Suggested reviewers: claude

Merge Risk: Minimal · up to 03b2c

This change cleans up stale ABI/FFI references in documentation and guidance and adds a recipe for the Agda check. It does not change runtime behavior, so the risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names a real part of the change: clearing stale ABI/FFI references after the scaffold removal. It uses the chore: prefix and is concise. It does not name the wider set of files (agent rules,…
Description check Passed The description follows the template's main sections: Summary, Changes, RSR Quality Checklist, Testing, and Screenshots. It explains the scope well, lists each changed file, and states what was left u…
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 a real part of the change: clearing stale ABI/FFI references after the scaffold removal. It uses the chore: prefix and is concise. It does not name the wider set of files (agent rules, PR template, Justfiles, placeholders, changelog), so it covers the main theme without every detail, which is acceptable.

Full details: Description check

Explanation

The description follows the template's main sections: Summary, Changes, RSR Quality Checklist, Testing, and Screenshots. It explains the scope well, lists each changed file, and states what was left unchanged on purpose. The checklist is partly ticked, and the description does not state a 'Closes #N' link. It also does not tick the required items such as tests, formatting, linter, SPDX headers, or banned patterns, and the test section reports a known local failure. Most of the template is filled in, so the check passes, but the author should confirm the unticked required checklist items and the failing run_proven_suite_test.sh before merge.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Commits

Reviewing files that changed from the base of the PR and between ad2e624 and 03b2c5f.

Files selected for processing: 10

  • .clinerules
  • .cursorrules
  • .github/copilot-instructions.md
  • .github/pull_request_template.md
  • .machine_readable/ai/PLACEHOLDERS.adoc
  • .machine_readable/contractiles/Justfile
  • .windsurfrules
  • CHANGELOG.adoc
  • Justfile
  • build/just/provision-lib.sh
Files with no reviewable changes: 1

  • .github/pull_request_template.md

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

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.

2 participants