Skip to content

chore: add AGENTS.md, drop dead JavaScript-era files#5

Merged
Unisay merged 1 commit into
masterfrom
chore/agents-md-and-canon-ci
Jun 14, 2026
Merged

chore: add AGENTS.md, drop dead JavaScript-era files#5
Unisay merged 1 commit into
masterfrom
chore/agents-md-and-canon-ci

Conversation

@Unisay

@Unisay Unisay commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

This fork's CI is already on the shared canon, so this is docs and cleanup only: it adds the AI-agent instructions and clears out the dead JavaScript-era files.

AGENTS.md + CLAUDE.md:

  • AGENTS.md is the one instruction file the coding agents read natively (Codex, Cursor, Copilot, Gemini CLI, Aider): the build/test/lint commands, the Lua 5.1 constraints, the FFI parenthesisation rule, and the toolchain pins.
  • CLAUDE.md is a one-line @AGENTS.md import so Claude Code reads the same file instead of a second copy that drifts out of sync.

It drops bower.json, package.json left over from the JavaScript build; the toolchain is spago plus nix now.

No src/ change, so there is no tag or package-set bump.

Verification

nix develop -c ./scripts/build, the regression suite, and luacheck are clean locally.

@Unisay Unisay requested a review from Copilot June 14, 2026 16:31
@Unisay Unisay force-pushed the chore/agents-md-and-canon-ci branch from 0491add to 93ff734 Compare June 14, 2026 16:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR performs repository housekeeping for the PureScript→Lua fork by adding agent-facing developer instructions and removing legacy JavaScript-era build metadata that’s no longer used with the current nix+spago toolchain.

Changes:

  • Add AGENTS.md documenting build/test/lint commands, Lua 5.1 constraints, and the Lua FFI parenthesization rule.
  • Add CLAUDE.md to reuse AGENTS.md for Claude Code via an @AGENTS.md import.
  • Remove obsolete package.json and bower.json from the prior JS/pulp workflow.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Removed legacy Node/pulp-era scripts and devDependencies.
bower.json Removed legacy Bower-era package metadata.
AGENTS.md Added canonical agent instructions for nix/spago/pslua, Lua 5.1 constraints, and FFI parsing rules.
CLAUDE.md Added a single-line import to ensure Claude Code reads AGENTS.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Unisay Unisay force-pushed the chore/agents-md-and-canon-ci branch 3 times, most recently from e3f0a7d to 3afcb55 Compare June 14, 2026 17:11
@Unisay Unisay marked this pull request as ready for review June 14, 2026 17:12
AGENTS.md is the single instruction file the coding agents read natively;
CLAUDE.md is a one-line @AGENTS.md import so Claude Code shares it. Also
removes dead bower.json/package.json/.eslintrc.json. CI is already on the
shared canon; no src/ change.
@Unisay Unisay force-pushed the chore/agents-md-and-canon-ci branch from 3afcb55 to 66c3222 Compare June 14, 2026 17:18
@Unisay Unisay merged commit 7d5a65b into master Jun 14, 2026
1 check passed
@Unisay Unisay deleted the chore/agents-md-and-canon-ci branch June 14, 2026 17:43
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