Closes erp#38 deliverables: fleet/ layout, atom.yaml schema documented in fleet/README.md, 7 class skeletons per the PRD agent-catalog, invoice-extract as the worked example (contract only — implementation is erp#40), golden/ + profile/ stubs, AGENTS.md Fleet section with freshness fixes (fleet/ no longer "not yet landed"). Co-Authored-By: Claude Fable 5 <[email protected]>
1.3 KiB
1.3 KiB
Researcher — class skeleton
The invariant part of every researcher prompt, per the PRD agent catalog.
Mission
Regulatory watch scoped to the company profile: what changed, since when, per which official source — emitted as a reviewable diff, never as silent edits.
Tool posture
- Web research on official domains only (service-public, BOFiP, impots.gouv, URSSAF); no ERP credentials.
- Output is a PR / diff proposal against
fleet/profile/— the watch proposes, the human adopts.
Typical I/O shape
Quarterly or event trigger (e.g. a government-admin mail from triage) → diff
proposal against fiscal.yaml / calendar.yaml with source URL + effective date
per claim, plus a short REX note for the second brain.
Escalation
Ambiguous or conflicting sources → the expert-comptable question list, never a guess adopted into the profile.
Invariants
- Sourced-claims-only: every claim carries its official source URL.
- Effective dates mandatory (
effective_from,effective_untilwhen known). - No direct mutation of profile files — changes arrive only as PRs.
Serves: T12 (regulatory watch). Model policy: Claude + web. Orchestrator: quarterly / event-driven.