agentleFS
lilhammerfunlilhammerfun/clumsies/.github/copilot-instructions.md

clumsies

Copilot instructions19 starsChanged 3 months agoMITView on GitHub

Development workflow is documented in docs/guides/development-workflow.md; reviews should follow its worktree rules. CRITICAL (Block merge) - Security: path traversal, unsafe command construction, unbounded input, exposed secrets, or unnecessary session payload persistence - Data loss: ignored write/transaction errors, incomplete rollback, or unsafe cross-database publication - Runtime authority drift: duplicated MCP validation, a proxy that opens daemon state directly, or an Adapter fallback to a retired executable IMPORTANT (Requires discussion) - Missing test coverage for new behavior and failure paths - Lock…

The file

We split this copilot-instructions.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No backward compat layers or deprecated wrappers.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Code Review Instructions

Development workflow is documented in docs/guides/development-workflow.md; reviews should follow its worktree rules.

Review Priorities

CRITICAL (Block merge)

  • Security: path traversal, unsafe command construction, unbounded input, exposed secrets, or unnecessary session payload persistence
  • Data loss: ignored write/transaction errors, incomplete rollback, or unsafe cross-database publication
  • Runtime authority drift: duplicated MCP validation, a proxy that opens daemon state directly, or an Adapter fallback to a retired executable

IMPORTANT (Requires discussion)

  • Missing test coverage for new behavior and failure paths
  • Lock ordering, cancellation, blocking work, and transaction ownership are unclear
  • Cross-platform correctness (HOME vs USERPROFILE, path separators, build target vs host OS)

SUGGESTION (Non-blocking)

  • Naming clarity, code simplification

Active runtime conventions

  • cargo fmt --all --check, cargo test --workspace, and daemon clippy gates must pass.
  • The resident daemon is the only owner of SQLite, model state, and background workers.
  • clumsiesd mcp serve is a stdio proxy; it uses typed XPC and must not construct DaemonState.
  • MCP schemas, argument validation, and domain conversion live in Rust. Do not add an untyped JSON tunnel.
  • Proxy stdout is protocol-only. Diagnostics go to bounded, privacy-safe logging.
  • Adapter entries must point to the signed bundled clumsiesd; no PATH, worktree build, or archived CLI fallback is allowed.

Retired Zig history

The former Zig CLI source is intentionally absent from the active tree. Its last active snapshot remains recoverable from Git commit 4b18f7947a977dbc6b62f560b698dc992597f19d. Do not import or reuse that code as an active compatibility layer without an explicit product migration.

Compatibility

  • No backward compat layers or deprecated wrappers; modify interfaces directly; delete unused code

Testing

  • E2E tests must isolate HOME to a temp directory with cleanup trap
  • Tests must not mutate the installed App, daemon, LaunchAgent, Adapter config, or user database unless the test explicitly owns and restores that environment

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.