Skip to content

docs: document workers and local rule trust flow in AGENTS.md #23

@boldsbrainai

Description

@boldsbrainai

Summary

AGENTS.md is the canonical reference for AI agents and contributors, but two critical subsystems are undocumented:

  1. Workerswarm-up-worker.ts, parse-worker.ts, cache-write-worker.ts: their responsibilities, message protocol, and when each is spawned are not described.
  2. Local Rule Trust Flow — the pending → review → approve → reload lifecycle is not explained anywhere, making it opaque for contributors testing custom rules.

Fix

Add two sections to AGENTS.md:

  • ## Workers — describe each worker, its message contract, and lifecycle
  • ## Local Rule Trust Flow — document the trust state machine with a short example

Effort estimate

~2 hours

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions