agentleFS
advaitadvait/effect-durable-agent/.agents/skills/project-context/SKILL.md

project-context

Skill4 starsChanged 6 days agoMITView on GitHub

State effect-durable-agent's operating context (who consumes it, what is one-way, what failure costs most), the risk proportion every principle applies in, and the mise tasks. Read before making poteto-mode decisions in this repository.

  • Installs packages

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

Files
SKILL.md

Project context

Status: implemented

Who uses it

effect-durable-agent (EDA) is published publicly as three lockstep npm packages, effect-durable-agent, effect-durable-agent-cloudflare and effect-durable-agent-celld (releasing), but GoGuardian's Gia (goguardian/gia) is its only consumer. Gia pins an exact published version through its pnpm catalog and runs EDA sessions in production Durable Objects. It carries this repository as a submodule but installs EDA from npm, so a change reaches Gia only through a release and a pin bump. With one consumer, favour moving fast over compatibility ceremony: a breaking API change is fine when Gia's pin-bump PR absorbs it.

What is one-way

  • Published versions. npm versions are immutable; never reuse one (releasing).
  • Stored histories. Event logs, reducer and sink checkpoints and transcript tables live in deployed Durable Objects and must stay readable by every later version. Compatibility is forward-only: rolling a host back to an older version after a newer one has written is not supported, so a bad release is fixed forward.
  • Schema migrations. _eda_schema_migrations migrations are forward-only (spec).
  • Wire contracts. The WebSocket protocol (websocket-protocol), the RPC surface and every exported subpath in the three package.json exports maps (CONTRIBUTING).

What failure costs most

A release that misreads, rewrites or fails to replay a stored history in Gia's production Durable Objects: users lose sessions, and the bytes are already published. Every change states in CHANGELOG.md what it does to storage, protocol and API compatibility ("No storage, protocol or API change" when nothing). Treat any change to durable event schemas, reducers, replay or migrations as the high-risk class.

Task runner

mise, from the repository root (mise.toml); tasks wrap the package.json scripts.

TaskDoes
mise run installpnpm install plus the Effect tsgo oxlint patch. Run first in a new checkout.
mise run checkFormat, lint and typecheck every package and the examples.
mise run testUnit, property, example and real workerd/celld host-conformance suites.
mise run ciWhat CI runs: build, check, test, replay-memory, lockstep versions, package check.
mise run package:checkPacks each package and installs it into an isolated Worker.
mise run lint:fixAutomated format and lint fixes.

Follow-ups

List them in the reply. GitHub issues on advait/effect-durable-agent are for users' reports.

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.