agentleFS
EvilFreelancerEvilFreelancer/zaezd/AGENTS.md

zaezd

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

Trip engine that starts from a reason to travel. A person does not know where to go, they know why. The first vertical is IT conferences: the event catalogue (confcal MCP) says where and when, Tutu MCP supplies transport and lodging, and a deterministic composer turns both into at most three explainable packages on one screen. The product specification lives in specs/ and is authoritative. Read specs/README.md first; it indexes all ten documents and names the three things that are…

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    All five layers are written, specified and deployed: the pure core, the confcal and Tutu clients, the three optional enrichments, the …

    line 15
  2. Very specific:

    write the Gherkin scenario in features/.

    line 49
  3. Distinctive:

    add step definitions until it runs and fails for a real reason.

    line 50
  4. Distinctive:

    add failing unit tests for the pure rules it depends on.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

Zaezd - agent brief

Trip engine that starts from a reason to travel. A person does not know where to go, they know why. The first vertical is IT conferences: the event catalogue (confcal MCP) says where and when, Tutu MCP supplies transport and lodging, and a deterministic composer turns both into at most three explainable packages on one screen.

The product specification lives in specs/ and is authoritative. Read specs/README.md first; it indexes all ten documents and names the three things that are never cut: the return leg, the deterministic date algorithm, and honest checkout link labels.

State of the repository

All five layers are written, specified and deployed: the pure core, the confcal and Tutu clients, the three optional enrichments, the orchestrator, the trip board and the three MCP tools with the ui:// widget. It ships as a container and runs behind whatever reverse proxy a deployment happens to have; npm run verify covers all of it offline against fixtures/.

ideas/ holds the reconnaissance the specs were built from. It ships with the public repository as history, not as product code, and nothing under src/ may import from it. research/ holds raw probes and review transcripts and stays out of git.

Commands

npm install          # once
npm start            # the server, ZAEZD_MODE=live or replay
npm run bdd          # executable Gherkin specifications (features/)
npm test             # unit tests (tests/)
npm run typecheck    # tsc over the Node tree and the browser tree
npm run lint         # eslint
npm run rules:sync   # regenerate .cursor/rules from .claude/rules
npm run docs:check   # every command the documentation names really exists
npm run build        # compile to dist/ and copy static assets
npm run verify       # all of the above except build, the gate before calling anything done

Runtime dependencies are added as the layer that needs them is built: zod with src/sources/normalize.ts, @modelcontextprotocol/sdk with the clients, @modelcontextprotocol/ext-apps with the ui:// resource. Leaflet and the Kite token extract are vendored under src/web/public/vendor/ with their licences, not installed. Unused dependencies are a scored defect here.

How work is delivered

Specification first, then tests, then code. For any new behavior:

  1. write the Gherkin scenario in features/;
  2. add step definitions until it runs and fails for a real reason;
  3. add failing unit tests for the pure rules it depends on;
  4. implement from the innermost layer outward;
  5. npm run verify, update the docs in the same change, sync the rule trees.

Details in .cursor/rules/workflow.mdc and .claude/rules/workflow.md.

Layers

Dependencies point downward only.

LayerLocationNature
L0src/composer/{types,dates,selection,feasibility,pricing,hotels,packages,checkout-labels}.tspure, deterministic, no I/O, no clock
L1src/sources/confcal and Tutu clients, normalization, cache, replay
L2src/enrich/production calendar, geocoding, weather, all optional
L3src/composer/{build-trip,build-checkout,trip-id}.tsorchestration, budgets, live checkout, public link
L4src/web/, src/mcp/delivery adapters, no business logic

Repository map

specs/      the product specification (authoritative)
features/   executable Gherkin specifications and step definitions
tests/      unit tests over the pure layer
src/        product code, by layer (see above)
fixtures/   recorded source payloads for specs, tests and replay mode
scripts/    record.ts and one-off tooling
docs/       user guide, architecture, decision log
ideas/      research, not part of the product
research/   raw probes and reviews, not part of the product

Non-negotiables

  • Nothing is invented. A field a source did not return is rendered as missing, never guessed. This is the product's promise, and it is also how Tutu's own instructions describe the biggest failure mode of travel agents.
  • Dates, prices and feasibility are computed in code, never left to a model. Three identical live runs produced three different night counts and a 1.5x price spread.
  • The hotel price is a whole-stay total and is never multiplied by nights.
  • A checkout button is labelled from the kind Tutu actually returned.
  • Specifications and tests run offline against fixtures/. The venue network is not a dependency. In replay the reference date is the fixture's recorded_at, so recorded events never turn into past events.
  • Walking time comes from an OSRM foot profile or it is not shown. A car route relabelled "N мин пешком" is the same class of lie as an invented field.
  • The web page and the ui:// resource share one client renderer, never one finished document: the App receives its data from the host, not from us.
  • Tool names are identical in code, README, user guide and diagrams: find_event_trips, get_trip_details, create_trip_checkout.

Rules

RuleScope
workflowalways
bdd-specsalways
architecturealways
code-stylealways
testingtests/**/*.ts
implementation-ordersrc/**/*.ts
composer-coresrc/composer/**/*.ts
data-sourcessrc/sources/**/*.ts, src/enrich/**/*.ts
mcp-layersrc/mcp/**/*.ts
web-uisrc/web/**/*.{ts,html,css}

Each rule exists twice, as .claude/rules/<topic>.md and .cursor/rules/<topic>.mdc. .claude/rules/ is the source of truth and the Cursor tree is generated from it by npm run rules:sync; npm run rules:check runs inside npm run verify and fails the build if the trees drift. Never hand-edit a file under .cursor/rules/. The Rules Sync section of the workflow rule covers what the generator cannot do.

Codex reads the Cursor tree through the hook bridge in .codex/. Run /hooks in Codex once per clone, and again after any edit to .codex/hooks.json or .codex/hooks/attach_rules.py, otherwise the hook is silently skipped as untrusted.

Language

Code, comments, rule files and this brief are written in English. Product copy and chat replies are in Russian.

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.