Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.94 KB

File metadata and controls

31 lines (27 loc) · 1.94 KB

FileMint Agent Guide

Use SPEC-first development with demand-loaded context.

  1. Read SPEC, the compact product overview and task router.
  2. Match the task's behavior and affected paths to its rows. Read only the selected domain contracts before editing; add domains when scope crosses a boundary. Shared files require the rules for the behavior being edited, not every domain.
  3. Read HARNESS when choosing or running verification; load detailed checklists only for the affected surfaces.
  4. Load AI Playbook only for cross-domain features, handoff, resuming a task or changing this workflow. Small fixes need no task document.
  5. Do not preload domain directories, acceptance history, roadmaps, research, task archives or tool configuration. Follow a link only when the task needs it.

Keep these invariants across all tasks:

  • Update the owning domain SPEC before intentional product behavior changes; bug fixes restore the existing contract. Add regression coverage for behavior.
  • Choose checks by task intent and actual changes using HARNESS. Analysis/planning does not trigger tests; documentation-only edits use documentation checks. Run applicable tests after completing implementation; no mandatory pre-change baseline. Use a targeted pre-change test only for a concrete diagnostic need or explicit request. Report any blocked applicable checks.
  • Keep deterministic rules in CorePackage, Finder APIs in FinderSyncExtension, SwiftUI settings in App/FileMint, and native creation UI in SharedUI.
  • Preserve user files, preferences and authorization boundaries. No folder crawling, clipboard monitoring, path/content logging or unrequested publication.
  • Edit project.yml, then make project; never edit generated FileMint.xcodeproj.
  • Do not add package dependencies without a SPEC rationale. Report observed verification separately from assumptions and old evidence.