flyto-ai
AGENTS.md2 starsChanged 3 months agoApache-2.0View on GitHub
- The public code-mcp / code-serve service is one audited entry. Host-owned lanes surround whichever implementer startup selected: a mandatory Indexer gate before any model edit and again after the source-controlled checks, a mandatory read-only Blueprint discovery lane, and Core validation. All four lanes are configured on every strict public route; none is detachable, and Blueprint and Core may resolve only applied or not-applicable. - Never let model prose assert that a lane, plan step, or gate ran. A lane…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 3 are common, 6 are distinctive, and 3 are very specific to this project.
≈3
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 4
Do not store credentials, API keys, cookies, bearer tokens, screenshots containing secrets, or user passwords in source, tests, docs, …
- Very specific: line 5
Treat flyto-core as the module/runtime authority.
- Very specific: line 8
Keep .flyto-index/, transcripts, evidence, build output, local DBs, and eval results out of commits.
- Distinctive: line 19
Never let model prose assert that a lane, plan step, or gate ran.
- Distinctive: line 22
Do not add a route-bypass flag, do not let a green repository check stand in for the Indexer post-gate, and do not grant the implementer …
- Distinctive: line 44
Verify the current repository reality before editing the map.
- Distinctive: line 47
Keep the product topology visually and textually separate from the runtime-call diagrams.
- Distinctive: line 53
Every Flyto2 repository must keep this project-memory scaffold current:
- Distinctive: line 68
When changing behavior, public copy, deployment, security posture, or frontend UX, update the relevant memory files in the same change.
- Common: line 89
Use Claude Code as an implementation worker, not as a source of credentials or hidden state.
- Very specific: line 91
Prefer MCP tools for project context and flyto-core capability discovery.
- Common: line 94
Do not ask users for secrets through MCP elicitation.
≈ “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.
Files
flyto-ai Agent Rules
flyto-aiis the agent/runtime adapter between LLM providers, Flyto2 Cloud, blueprint learning, andflyto-coreMCP tools.- Do not store credentials, API keys, cookies, bearer tokens, screenshots containing secrets, or user passwords in source, tests, docs, handoffs, evidence, or generated YAML.
- Treat
flyto-coreas the module/runtime authority. Read its MCP schemas and recipes, but do not modifyflyto-corefrom this repo. - All
flyto-coreexecution must flow throughflyto_ai.tools.core_toolsso validation, browser retry, permission checks, and MCP evidence metadata stay consistent. - New agent capabilities need a closed loop: typed contract, guardrail, evidence/trace, test, docs, and rollback notes.
- Keep
.flyto-index/, transcripts, evidence, build output, local DBs, and eval results out of commits. - For deep changes, run flyto-indexer impact/search/verify before finalizing.
Coding Route Rules
- The public
code-mcp/code-serveservice is one audited entry. Host-owned lanes surround whichever implementer startup selected: a mandatory Indexer gate before any model edit and again after the source-controlled checks, a mandatory read-only Blueprint discovery lane, and Core validation. All four lanes are configured on every strict public route; none is detachable, and Blueprint and Core may resolve only applied or not-applicable. - Never let model prose assert that a lane, plan step, or gate ran. A lane outcome must come from a completed allowlisted call recorded in the route receipt.
- Do not add a route-bypass flag, do not let a green repository check stand in for the Indexer post-gate, and do not grant the implementer the audit tool, Blueprint execution authority, or Core danger/browser authority.
- Core execution keeps flowing through
flyto_ai.tools.core_tools. Do not import siblingflyto-core,flyto-blueprint, orflyto-indexersource. - Changing a lane, allowlist, bound, or receipt field is an architecture change:
update
ARCHITECTURE.md,docs/architecture-map.md,STATE.md, andDECISIONS.mdin the same change.
Architecture Invariant: Flytohub Product Topology
The canonical product topology in ARCHITECTURE.md and
docs/architecture-map.md is an architecture invariant, not a drawing.
- Any AI or agent that changes cross-repo ownership, a product role, an
integration arrow, the coding route, or a named repository must update
ARCHITECTURE.md,docs/architecture-map.md,STATE.md, andDECISIONS.mdin the same change. - Preserve the placement of
flyto-cloudparallel to the combinedflyto-code/flyto-enginecolumn at the same level. Never nest Code or Engine below Cloud unless a datedDECISIONS.mdentry explicitly supersedes this invariant. - Verify the current repository reality before editing the map. Label an edge that does not exist yet as planned rather than implemented; do not silently rewrite the map to match an assumption.
- Keep the product topology visually and textually separate from the runtime-call diagrams. The topology records ownership and integration, not that every arrow is a synchronous call.
Flyto2 Project Memory Contract
Every Flyto2 repository must keep this project-memory scaffold current:
AGENTS.md: agent operating rules, repo-specific constraints, verification commands.CLAUDE.md: Claude-facing handoff rules when this repo is edited outside Codex.PROJECT.md: product purpose, owned surfaces, users, and non-goals.ARCHITECTURE.md: module boundaries, runtime shape, data flow, and integration points.STATE.md: current status, known risks, release/deploy state, and last verification.ROADMAP.md: near-term, later, and explicitly out-of-scope work.tasks.md: actionable checklist with owners/status when known.DECISIONS.md: durable architectural/product decisions with dates and rationale.CHANGELOG.md: user-visible or operator-visible changes.docs/README.md: index for durable docs in this repo.workflows/*.md: repeatable agent workflows for idea capture, planning, implementation, bugfix, refactor, investigation, and wrap-up.handoffs/_registry.md: index of handoffs; new handoffs useYYYY-MM-DD-topic.md.
When changing behavior, public copy, deployment, security posture, or frontend UX, update the relevant memory files in the same change. Do not leave stale brand, email, module count, route, or deployment information behind.
Flyto2 Frontend Quality Gate
Any frontend, website, dashboard, extension webview, app screen, or generated UI in this repository must avoid these eight failures:
- Ignoring accessibility: every interactive control needs keyboard access, visible focus, semantic HTML or ARIA, sufficient contrast, and useful alt/labels.
- Missing responsive design: verify mobile, tablet, and desktop; no clipped text, overflow, hidden primary actions, or broken navigation.
- Weak visual hierarchy: users must immediately see page purpose, primary action, status, and next step.
- Template-looking UI: reuse Flyto2 design tokens and local components, but tailor layout and copy to the actual product surface.
- Useless elements: remove decorative or placeholder UI that does not help the workflow, trust, navigation, or comprehension.
- Unclear hierarchy: controls, cards, tables, panels, and modals must have clear grouping, spacing, headings, and state.
- Unintuitive navigation: current location, back/forward paths, and cross-links to docs/blog/product pages must be obvious.
- Hard-to-understand content: copy must be concrete, scannable, current, and consistent with Flyto2 terminology.
Frontend verification must include the relevant automated checks plus manual or screenshot review for responsive layout, accessibility states, navigation clarity, loading/empty/error states, and content readability. Public pages must preserve SEO basics: canonical URL, sitemap coverage, metadata, structured data when relevant, and no broken internal or external links.
Repo notes
Merged from CLAUDE.md so Codex and Claude read one set of rules.
Use Claude Code as an implementation worker, not as a source of credentials or hidden state.
- Prefer MCP tools for project context and
flyto-corecapability discovery. - Require approval before file writes, shell execution, browser actions with live accounts, or any operation that can mutate external state.
- Record tool use as evidence with run id, tool name, module id or recipe name, validation result, and outcome.
- Do not ask users for secrets through MCP elicitation. Secrets must arrive through the active runtime channel only.
- Subagents may investigate or verify, but changes must preserve the public
flyto-aiprovider/tool contracts.
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
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.

