agentleFS
flytohubflytohub/flyto-indexer/AGENTS.md

flyto-indexer

AGENTS.md4 starsChanged 4 months agoApache-2.0View on GitHub

Before changing this repository, read STATE.md, ARCHITECTURE.md, DECISIONS.md, and the latest entry in handoffs/_registry.md. - flyto-indexer is the local code intelligence and verification tool for Flyto2 repositories. - Keep analysis local by default. Do not introduce network calls for audit, indexing, or verification paths unless explicitly designed and documented. - Prefer deterministic static analysis, typed impact, dependency, taint, and project-profile checks over ad hoc text scans. - Generated index artifacts must stay out of source control. - Do not store…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,266 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 repository2 other files it gives its agents.

The file

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

8 rules. About 1 is common, 4 are distinctive, and 3 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Very specific:

    Before changing this repository, read STATE.md, ARCHITECTURE.md, DECISIONS.md, and the latest entry in handoffs/_registry.md.

    line 3
  2. Distinctive:

    Keep analysis local by default.

    line 8
  3. Distinctive:

    Prefer deterministic static analysis, typed impact, dependency, taint, and project-profile checks over ad hoc text scans.

    line 10
  4. Common:

    Do not store credentials, customer source excerpts beyond necessary test fixtures, or local login details in docs, handoffs, tests, or …

    line 13
  5. Very specific:

    Run bash scripts/lint-project-memory.sh after editing project memory files.

    line 15
  6. Very specific:

    Do not edit or enter the blocked phase while the gate is false.

    line 21
  7. Distinctive:

    Every Flyto2 repository must keep this project-memory scaffold current:

    line 33
  8. Distinctive:

    When changing behavior, public copy, deployment, security posture, or frontend UX, update the relevant memory files in the same change.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Agent Rules

Before changing this repository, read STATE.md, ARCHITECTURE.md, DECISIONS.md, and the latest entry in handoffs/_registry.md.

  • flyto-indexer is the local code intelligence and verification tool for Flyto2 repositories.
  • Keep analysis local by default. Do not introduce network calls for audit, indexing, or verification paths unless explicitly designed and documented.
  • Prefer deterministic static analysis, typed impact, dependency, taint, and project-profile checks over ad hoc text scans.
  • Generated index artifacts must stay out of source control.
  • Do not store credentials, customer source excerpts beyond necessary test fixtures, or local login details in docs, handoffs, tests, or scripts.
  • Run bash scripts/lint-project-memory.sh after editing project memory files.

Gate Remediation Loop

  • A gate result with pass=false blocks only the requested phase; it does not terminate the task and must not be reported as task completion.
  • Do not edit or enter the blocked phase while the gate is false. Execute every in-scope item in required_actions, update current_state with the exact requested keys, and immediately run the same gate again. Repeat until pass=true.
  • Missing impact, dependency, test review, or change-plan state is agent-owned remediation, not a user blocker.
  • Pause for the user only when remediation requires credentials or other required input, unavailable external authorization or state, or an irreversible human decision.

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 use YYYY-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:

  1. Ignoring accessibility: every interactive control needs keyboard access, visible focus, semantic HTML or ARIA, sufficient contrast, and useful alt/labels.
  2. Missing responsive design: verify mobile, tablet, and desktop; no clipped text, overflow, hidden primary actions, or broken navigation.
  3. Weak visual hierarchy: users must immediately see page purpose, primary action, status, and next step.
  4. Template-looking UI: reuse Flyto2 design tokens and local components, but tailor layout and copy to the actual product surface.
  5. Useless elements: remove decorative or placeholder UI that does not help the workflow, trust, navigation, or comprehension.
  6. Unclear hierarchy: controls, cards, tables, panels, and modals must have clear grouping, spacing, headings, and state.
  7. Unintuitive navigation: current location, back/forward paths, and cross-links to docs/blog/product pages must be obvious.
  8. 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.

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.