agentleFS
avabbbbavabbbb/Iris/.github/copilot-instructions.md

Iris

Copilot instructions148 starsChanged 8 days agoMITView on GitHub

Read AGENTS.md first. The canonical document map is docs/index.md. If an older report, audit, ADR, plan, or comment conflicts with those files, treat the older text as historical. The stable baseline operations are status, workflow.inspect, workflow.selection.get, workflow.apply, and workflow.node.run. CLI + Agent Integration Skill is the default external-agent path; stdio MCP is an optional projection of the same contract. External agents must not write React/Zustand state, browser storage, Provider private APIs or Runtime databases directly. The current Studio layout is…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. avabbbb/Flovart★ 148100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

We split this copilot-instructions.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. Distinctive:

    Read AGENTS.md first. The canonical document map is docs/index.md.

    line 3
  2. Very specific:

    Do not restore Production Crew / Director / Operator, Production Skill Marketplace, old Canvas/Art dual state, or enterprise …

    line 14
  3. Very specific:

    Do not restore JS drawer-inset math, fixed structural viewport patches, legacy rightPanelInset/rightInset, or page-level absolute columns.

    line 36
  4. Distinctive:

    Keep changes narrow, protect existing user changes, and update current-truth docs when a product decision changes.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 3,894 Copilot instructions 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
copilot-instructions.md

Iris Copilot Instructions

Read AGENTS.md first. The canonical document map is docs/index.md. If an older report, audit, ADR, plan, or comment conflicts with those files, treat the older text as historical.

Current product truth

  • Top-level surfaces: Canvas | Cut | Agent (Chinese UI: 画布 | Cut | Agent). The product was renamed Flovart → Iris on 2026-11-20; the second tab was Reverse (逆向) until 2026-11-17, then Iris, and is now Cut; the internal canvasView: 'reverse' value and the reverse directories are unchanged. The old Table view has been removed.
  • Canvas owns the infinite canvas, GenAI generation and the Workflow: nodes, generation tasks, assets, versions.
  • Cut is the implemented in-browser video editor (timeline, subtitles, inspector, proxies, MP4 export) plus the "Storyboard · Reverse" sub-view. Its state lives in services/cut/cutStore.ts; the UI and the iris_cut_* Agent tools share the same operations. The 2026-11-17 plan for a conversation-first "Iris personal agent" tab is archived; do not describe Cut as a coming-soon placeholder.
  • Iris is the product name. Older docs that use "Iris" for the second surface / personal agent (2026-11-17 to 11-20) mean the tab now called Cut.
  • Agent manages agent connections and state: runtimes, models/providers, external agents (Codex, Claude Code, DSH), health and per-agent status. No chat, no run editing.
  • The Canvas Assistant drawer is the built-in Agent's chat, references, tool calls and approvals. Do not embed it inside Agent and do not put Host connection management in it.
  • Visual tokens live in DESIGN.md; interaction behavior in 01-interaction.md. Glass only on floating chrome. Check references (Inspora, Awwwards, GSAP Showcase, Refero) before UI/motion work and cite them in the PR.
  • Do not restore Production Crew / Director / Operator, Production Skill Marketplace, old Canvas/Art dual state, or enterprise org/credits/approval as mandatory product layers.

Code boundaries

  • Root App.tsx composes the Studio surfaces; components/studio/StudioTopMenu.tsx owns the visible Canvas/Cut/Agent switch.
  • Workflow UI/state lives under components/workflow/ (store: components/workflow/store.ts).
  • Cut UI lives under components/cut/ and services/cut/; the storyboard / reverse sub-view still lives under components/reverse/ and services/reverse/ (directory rename is a separate migration).
  • Agent connection UI lives under components/agent/.
  • Shared contextual drawer/chrome lives under components/studio/.
  • Provider and execution logic stays in services/; do not duplicate it in UI or transports.
  • Cross-page state uses existing stores; do not add forwarding Manager/Facade/Coordinator layers without a reproduced need.

Agent integration

The stable baseline operations are status, workflow.inspect, workflow.selection.get, workflow.apply, and workflow.node.run. CLI + Agent Integration Skill is the default external-agent path; stdio MCP is an optional projection of the same contract.

External agents must not write React/Zustand state, browser storage, Provider private APIs or Runtime databases directly.

Layout

The current Studio layout is container-driven (#15). Follow the layout section of Interaction Design.

Do not restore JS drawer-inset math, fixed structural viewport patches, legacy rightPanelInset/rightInset, or page-level absolute columns. Canvas coordinate overlays are a separate concern from page composition.

Build and validation

Use the repository scripts in package.json (command table in AGENTS.md §4): npm test, npx tsc --noEmit (there is no ESLint), npm run docs:check, npm run build. Match validation to the touched surface; for documentation changes run npm run docs:check. Build/mock success is not evidence that a real Provider, coding-agent Host, or Creative Host is certified.

Keep changes narrow, protect existing user changes, and update current-truth docs when a product decision changes.

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.