Skip to content

Latest commit

 

History

History
124 lines (81 loc) · 4.29 KB

AGENTS.md

File metadata and controls

124 lines (81 loc) · 4.29 KB

Repository Operating Instructions

Startup order

Before creating, moving, renaming, or deleting files:

  1. Read REPO.yaml.
  2. Read this file.
  3. If coordination is enabled, read .coord/micro/STATE.md and the tail of .coord/micro/SCRATCHPAD.md.
  4. If the work spans repositories, read .coord/macro/LINK.yaml and .coord/macro/MACRO_STATE.md.
  5. Run python3 .repo/scripts/repo_check.py before making structural changes to understand existing drift.

Root policy

Do not create a new root directory unless it is allowed by the selected .repo/profiles/<type>.json profile or explicitly added to REPO.yaml.

Do not place reports, design docs, PDFs, generated outputs, screenshots, exports, or temporary notes in root.

Canonical-document policy

Do not create _final, _new, _updated, _revised, _copy, numbered-copy, or similar versions of active documents. Update the canonical file or archive the superseded file with provenance.

Generated-output policy

Generated reports/results belong in the profile's artifact/result root, not alongside source.

Archive policy

Archive is provenance-preserving. Do not silently edit archived material. If an archived record must change, document why in the active coordination bus/handoff.

Micro coordination

Micro coordination lives under .coord/micro/.

  • Before work: set a role and read state + scratchpad tail.
  • During work: use the scratchpad for material task assignment, blockers, decisions, and handoff notes.
  • Before stopping: save state and sign out.

Do not create alternate scratchpads or parallel hidden coordination buses.

Macro coordination

Macro coordination lives under .coord/macro/ and is used only when a build spans repositories/systems. It may point to a shared build hub. Do not use macro coordination as a permanent organization inventory.

Git behavior

  • Prefer small, intentional commits.
  • Do not force-push the protected default branch.
  • Do not bypass repository validation just to merge.
  • Structural moves should be isolated where practical so link/import breakage is reviewable.

Validation

Before handoff or PR:

python3 .repo/scripts/repo_check.py --ci

stickypads — check the shared board

Before starting work, check the shared operational board for tasks assigned to you or this repo:

python3 ~/Developer/_control/stickypads/scripts/check_in.py --agent <your-name>

Or clone the ello-ops repo and run from there. The board has:

  • TODOs across all repos
  • Memos/notes from other agents and the owner
  • Current session state

If you discover work that can't be completed immediately, create a task or drop a note:

# Create a formal task
python3 ~/Developer/_control/stickypads/scripts/create_task.py \
    --title "Specific actionable title" \
    --project <this-repo-name> \
    --owner <your-name>

# Drop a quick memo (no format required)
python3 ~/Developer/_control/stickypads/scripts/drop.py \
    --from <this-repo-name> \
    "Quick note about what needs attention"

At session end or meaningful completion, reconcile this repo's coord kit state into stickypads:

python3 ~/Developer/_control/stickypads/scripts/reconcile_coord.py \
    --repo-path . --dry-run

Filesystem MCP — REQUIRED for file operations

This is a core framework/search/ello/product repository. When performing file operations, prefer the Filesystem MCP tools over ad-hoc shell commands:

  • list_directory / directory_tree — structured directory traversal
  • search_files — glob-pattern file search within allowed paths
  • read_multiple_files — batch file reads (failures do not stop the batch)
  • edit_file with dryRun: true — preview structural changes before applying

Allowed paths: ~/Developer, ~/.config/devin, ~/.config/sigrank, ~/Desktop

For single-file reads and edits, native tools are acceptable. For multi-file operations, directory exploration, and structural changes, use the Filesystem MCP.

Context7 MCP — SUGGESTED for library code

When writing code that uses external library APIs, consider querying Context7 to verify current patterns instead of relying on training data:

  1. resolve-library-id — find the library
  2. query-docs — ask the specific question

Supported libraries include Cloudflare Workers, Supabase, Next.js, Hono, Playwright, Pydantic, Python, and more.