agentleFS
CodySwannGTCodySwannGT/lisa/AGENTS.md

lisa

AGENTS.md4 starsChanged 3 months agoMITView on GitHub

This repository is the Lisa monorepo. It now also contains an in-repository git-native LLM Wiki under wiki/. Before changing wiki structure, ingestion behavior, or setup conventions, read: Codex skills for Lisa wiki work live under .agents/skills/. Lisa is installed into host projects to run software factories — agent-operated production lines that build, verify, and ship software with as few humans as possible. There are four factories: Research, Plan, Implement, Verify. The goal of the factory setup is to let non-technical…

The file

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

12 rules. About 2 are common, 5 are distinctive, and 5 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Before changing wiki structure, ingestion behavior, or setup conventions, read:

    line 5
  2. Very specific:

    Treat wiki/ as a durable source of truth for Lisa project knowledge.

    line 16
  3. Distinctive:

    Keep the wiki inside this existing monorepo.

    line 17
  4. Distinctive:

    Treat the monorepo itself as the primary repository ingestion input.

    line 18
  5. Very specific:

    Treat docs/wiki-inbox/ and transcripts/ as ingestion inboxes.

    line 19
  6. Very specific:

    Update wiki/index.md whenever creating or materially changing wiki pages.

    line 21
  7. Common:

    Do not commit local secrets, MCP OAuth artifacts, tokens, private keys, dependency directories, build outputs, coverage output, or …

    line 23
  8. Distinctive:

    After every successful ingestion, verify, commit only the ingestion changes, push, open a PR targeting main, and enable auto-merge.

    line 24
  9. Distinctive:

    If it is malformed, warn once and ignore it.

    line 54
  10. Common:

    If you can't reach something you need, such as a repository, a secret, an API, or a connector, say exactly what's missing in your first …

    line 58
  11. Very specific:

    If the missing access is discovered after work begins, say exactly what's missing in your next message and stop.

    line 59
  12. Very specific:

    Read every file under .agents/rules/.

    line 65

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

Lisa Agent Instructions

This repository is the Lisa monorepo. It now also contains an in-repository git-native LLM Wiki under wiki/.

Before changing wiki structure, ingestion behavior, or setup conventions, read:

  • wiki/schema/llm-wiki-contract.md
  • wiki/projects/registry.md
  • README.md
  • wiki/documentation/overview.md

Codex skills for Lisa wiki work live under .agents/skills/.

Core Rules

  • Treat wiki/ as a durable source of truth for Lisa project knowledge.
  • Keep the wiki inside this existing monorepo; do not create a wrapper repository.
  • Treat the monorepo itself as the primary repository ingestion input.
  • Treat docs/wiki-inbox/ and transcripts/ as ingestion inboxes. After ingestion, preserve reader-safe source notes under wiki/sources/.
  • Record every ingestion in wiki/log.md.
  • Update wiki/index.md whenever creating or materially changing wiki pages.
  • Preserve unrelated working tree changes. In particular, do not stage or modify .lisa.workspaces.json unless explicitly requested.
  • Do not commit local secrets, MCP OAuth artifacts, tokens, private keys, dependency directories, build outputs, coverage output, or generated distribution files unless the user explicitly requests release artifacts.
  • After every successful ingestion, verify, commit only the ingestion changes, push, open a PR targeting main, and enable auto-merge. If ingestion started on main, create a dedicated ingestion branch before committing.

Lisa-Specific Notes

  • Lisa is a Bun/TypeScript monorepo published as @codyswann/lisa.
  • The repo includes workspace packages for ESLint plugins and template directories for supported project stacks.
  • Whenever adding or changing Lisa features, keep every supported coding agent's implementation in parity — Claude Code, Codex, Cursor, OpenCode, Antigravity (agy), and Copilot — wherever the agent has an equivalent surface. Claude is the reference implementation. If a behavior cannot be represented on some agent, document the gap in code comments, tests, or user-facing guidance instead of silently dropping it.

Purpose

Lisa is installed into host projects to run software factories — agent-operated production lines that build, verify, and ship software with as few humans as possible. There are four factories: Research, Plan, Implement, Verify.

The goal of the factory setup is to let non-technical people create scalable, enterprise-grade software by describing outcomes — the factories supply the engineering discipline. That lowers the floor without capping the ceiling: engineers get leverage from the same machinery, but technical skill stops being the entry requirement. It also creates a communication obligation: everything that crosses a gate outward — blocked reasons, clarifying questions, ticket descriptions, verification reports — must be readable by a non-technical operator, because that is who is standing at the gate.

Humans are not allowed inside a factory. Every handoff happens outside, at the gate: agents, humans, and automations submit inputs to an intake agent, which adversarially evaluates each one — is the input high-quality and unambiguous, and does the factory have the tooling and provable access to that tooling to carry it out? The intake agent first tries to discover the answers to gaps itself; what it genuinely cannot resolve it rejects and raises to a human. In Lisa's vocabulary the gate is the ready-role flip (prd-ready, status:ready) plus intake's adversarial validation gates.

The pipeline: Research creates PRDs → Plan turns a PRD into work units (epics, stories, tickets, tasks) → Implement turns work units into quality software (tests, code, UI, APIs, infrastructure) → Verify produces a go/no-go decision by using the software the way a human would, filing any failures as build-ready tickets that flow straight back into the Implement factory. Prompts and ideation are the main entry points to the Research gate.

The factories run on the current runtime's native scheduler (Claude Routines, Codex Automations, or the equivalent), and three loops feed the pipeline continuously at the appropriate stage: QA (exploratory bugs), Product Planning (ideated PRDs), and Monitoring (observability regressions). Autonomy is the default — loop outputs enter the gates build-ready, and the adversarial intake is the quality control. Humans stand only at explicit exterior gates: promoting drafts they choose to hold back, approving protected deployments, and reviewing low-confidence learnings.

Brownfield projects earn their way in. Greenfield projects start agent-ready; an existing codebase must be made ready first, in two steps. First, knowledge convergence: /lisa:agent-ready builds the initial knowledge wiki from everything the agent can reach (repository, git history, connected systems) under the premise "starting tomorrow you maintain this with zero human input — today is your only chance to ask questions," and writes wiki/gaps.md with the questions only a human can answer. Humans answer inline, a fresh session re-runs the skill, answers are absorbed into the wiki, and the loop repeats until zero gaps remain. Second, standards adoption: apply Lisa's full lint rules, guardrails, and thresholds — expect the project to go red — then agents refactor to conform without changing business logic or functionality, proving behavior is preserved. Only then does the automation fleet run unattended.

Everything else in Lisa — the skills, hooks, quality checks, and guardrails — exists to enforce enterprise-grade quality and verification standards that keep the software maintainable, across every major coding agent platform. When executed properly, end users have zero direct contact with coding agents.

<!-- LISA_PROJECT_LEARNINGS_START -->

Antigravity startup bridge: before normal task work, resolve the canonical machine-managed project-learnings ledger from .lisa.config.json (the optional learnings.file override, else the default .lisa/PROJECT_LEARNINGS.md). Consume it only through the Lisa learnings contract's bounded projection — never read the raw ledger wholesale into context. If it is absent, continue silently. If it is malformed, warn once and ignore it.

Resolved path for this project: .lisa/PROJECT_LEARNINGS.md.

  • If you can't reach something you need, such as a repository, a secret, an API, or a connector, say exactly what's missing in your first message and stop. Don't substitute, mock, or guess. If the missing access is discovered after work begins, say exactly what's missing in your next message and stop.
<!-- LISA_PROJECT_LEARNINGS_END --><!-- LISA_HOST_RULES_START -->

Host Rules

Read every file under .agents/rules/. Make operator-requested rule edits directly; no learning-promotion step is needed. Also read .claude/rules/PROJECT_RULES.md, unless your runtime auto-loads it — Claude Code auto-loads .claude/rules/.

<!-- LISA_HOST_RULES_END -->

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.