agentleFS
smithersaismithersai/smithers/.agents/skills/smithers-maintenance/SKILL.md

smithers-maintenance

Skill428 starsChanged 2 months agoMITView on GitHub

Work on Smithers workspace graph, generated documentation, benchmark or eval evidence, or durable flow authoring in this repository.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Graph or root files: read CONTRIBUTING.md, especially root-file and target-index generation.

    line 10
  2. Distinctive:

    Benchmarks or performance claims: read scripts/bench/README.md.

    line 13
  3. Distinctive:

    Evals: read the owning suite's README, including agent and seeded review.

    line 14
  4. Distinctive:

    Step cache migrations: read step-cache. The earlier 1.0 RC migration 2002 identity is accepted explicitly.

    line 20
  5. Distinctive:

    Sync: read sync before changing cursors, subscriptions, or gateway mounts.

    line 22
  6. Distinctive:

    Artifacts: read artifact storage. Its filesystem backend needs trusted host filesystem semantics.

    line 23
  7. Very specific:

    Browser host: read platform-browser. Its bash, filesystem, and jj views must share one volume.

    line 24
  8. Distinctive:

    Bun host: read platform-bun before changing its filesystem or process adapters.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Smithers maintenance

Use the owning source and current docs on the revision being changed. The source CLI (makeCli() in packages/smithers/src/Cli.ts) is the CLI syntax contract; the installed release can be stale. The 1.0 CLI separates target graph commands (smthrs targets, show target, build|test|lint|docs|review|ci) from durable flow commands (smthrs flow list|plan|start, smthrs runs ...). A flow start receipt does not prove completion; inspect its run and action receipts.

  • Graph or root files: read CONTRIBUTING.md, especially root-file and target-index generation. PACKAGE.ts declares targets; generated companions and the whole declaration-set index have explicit checks. Use pnpm run target-index when that contract calls for regeneration.
  • Build/install/cache: read build, workspace remote caching, and cache trust. The install flow currently supports pnpm only; Bun can still run target tools. Install actions use expected filesystem boundaries and do not enter the shared engine cache. The target /ac cache differs from engine step-cache/artifacts; hosted and self-hosted cache implementations need matching route, bound, and credential behavior.
  • Documentation: read apps/docs/README.md and authoring rules. Author in a package's docs/ directory; the subdomain sites listed in apps/docs/shared/manifest.mjs are generated/staged copies, separate from the main apps/site pipeline. Use pnpm run docs:sync and pnpm run docs:check for that fleet. For targets reference pages on the main site, follow targets documentation contribution rules and its ingest-reference.mjs/generate-llms.mjs steps. Do not hand-edit generated projections.
  • Benchmarks or performance claims: read scripts/bench/README.md. Distinguish the deterministic PR gate from scheduled observed timings, review candidate baselines, and retain methods and limitations with any claim.
  • Evals: read the owning suite's README, including agent and seeded review. Keep offline deterministic gates and deliberate baseline updates separate from live model measurements and spending.
  • Flows: read @smthrs/flow and CLI reference. A file flow at flows/<name>/flow.ts default-exports a tagged Flow.make from @smthrs/flow. Export its action implementations as the optional named layer (Declared.toLayer, AgentAction.layer, or Layer.mergeAll); the registry composes it against the local host platform and agent services. Export implementations directly; the host owns Action.Implementations. Acquire extra dependencies during layer construction so missing services are refused at load. Use stable Node.capture callbacks for canonical persisted composition and matching implementationVersion declarations/registrations for sealed idempotent actions. New authoring uses Effect Schema, not retired JSX/Zod task examples. A decision inside a flow (classify, filter, rank, route, yes/no over items) asks Jev through Classifier.make and the host Evaluator, as one request with one question per item, never through an LLM seat; see jev-check.
  • Plans: read plan and plan-store. Node payloads are persisted as plaintext in node_json and approval cards without redaction; keep credentials out and resolve them at dispatch. Persisted plans are verified on write and read, and append uses an immutable-history compare-and-swap over the approved base and running prefix.
  • Generated or untrusted flow declarations: read core planning rules. Graph.build executes bodies and planning callbacks with the caller's process authority; capability/effect metadata does not sandbox that code. Translate validated data into nodes with trusted code, or plan untrusted code in an externally isolated process.
  • Runtime or persistence: read flows runtime, engine, and engine-store. @smthrs/flow declares behavior, the engine makes decisions, and the storage seam changes where state lives. Node and Bun use distinct native host/SQL adapters over the same SQLite migrations, journal, stores, cache, and recovery. Run migrations before SQL-backed services and use one writer for journal/state transitions; demonstrate cross-runtime recovery and cancellation. Browser bundling alone does not establish durable browser execution.
  • Journal and ownership fencing: read journal and run-store. Ownership is arbitrated by the journal's injectable Consensus strategy (SqlConsensus over flows_consensus_leases by default, Consensus.layerLocal in-process); fenced durable emissions join its guard, so the run must be claimed and activated through it, and the journal and run store must share one strategy instance. RunStore mirrors the outcome on flows_runs, so a fixture that forges ownership in SQL writes both. emitDurableUnfenced is only for genuinely ownerless admission or repair, never a bypass for fence_lost. An expired lease alone does not authorize takeover; LivenessEvidence must be current, and an unknown probe counts as alive.
  • Step cache migrations: read step-cache. The earlier 1.0 RC migration 2002 identity is accepted explicitly; preserve its ledger and cached results during upgrade. An unknown migration identity remains a failure, not a reason to delete a runtime database.
  • Time travel: read time-travel before changing fork, rewind, or their receipts. A durable fork reuses completed prefix attempts by their original action identities and gives new work child-scoped keys; rewind archives future waits and refuses crossed irreversible effects or live descendants. Test recovery after an interrupted mutation.
  • Sync: read sync before changing cursors, subscriptions, or gateway mounts. Persist applied cursor progress with consumer state; change feeds are hints and a re-list is authoritative. Preserve rewind generation handling: lineage_changed requires rebuilding the projection. Branch RPC code is not currently mounted by the gateway.
  • Artifacts: read artifact storage. Its filesystem backend needs trusted host filesystem semantics; kernel-guarded filesystem access cannot substitute for them. Treat deletion as explicit and keep engine-store responsible for liveness/reachability.
  • Browser host: read platform-browser. Its bash, filesystem, and jj views must share one volume; the tab uses the memory engine, and reload durability depends on the mount's sync(). Do not infer browser durability from a successful build or import.
  • Bun host: read platform-bun before changing its filesystem or process adapters. Its trusted filesystem boundary runs the native smithers-jj-export helper (build with cargo build --locked --release -p smithers-ffi --bin smithers-jj-export or set an absolute SMITHERS_WORKSPACE_JJ_EXPORT_BINARY); PATH is never searched. Bun's host bundle is not the browser adapter.
  • Node host: read platform-node before changing containment or process recovery. Confined operations require the smithers-jj-export helper built with the Rust toolchain rust-toolchain.toml pins; a missing helper refuses them. ProcessLedger.layerMemory cannot recover escaped children after a host crash, and permission checks belong around the host service bundle.

For TUI changes, read apps/tui/AGENTS.md and its linked README. For app/server work, use their scoped AGENTS.md files. Treat issue state and wiki freshness as separate receipts from code status.

  • Bootstrap landing helper: every authorized pnpm commit --push invocation must pass repeatable --test "<command>" flags. Commands run before VCS mutation with Bash pipefail. For an explicit exception, use --no-test "<reason>"; the helper records Landing-Tests in the commit. Require exit zero and LANDED <sha>, emitted only after fetching remote main and verifying ancestry. Push output alone is not a landing receipt.

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.