Skip to content
EN · PT

anchors watch

The background watcher: sees changes and QUEUES work.

The watcher (PROPAGATION §6) observes the repo and, for each file that changes,
classifies the change and QUEUES a task in .anchors/tasks/ (with the suggested next
step). It does NOT execute nor call AI — whoever works pulls the task with 'anchors
next'. That is the inversion: the watcher only turns "it changed" into "there is work".
Runs in the BACKGROUND — the terminal stays free. Control it with the subcommands:
anchors watch start starts the watcher (daemonizes, returns the terminal)
anchors watch status is it running? since when? paused?
anchors watch stop shuts it down
anchors watch pause pauses (stops reacting, without shutting down)
anchors watch resume resumes
anchors watch logs shows what the watcher reported
Terminal window
anchors watch

Show the watcher log.

Terminal window
anchors watch logs [flags]
Flag Default What it does
--root . project root

Pause the watcher (without shutting it down).

Terminal window
anchors watch pause [flags]
Flag Default What it does
--root . project root

Resume the paused watcher.

Terminal window
anchors watch resume [flags]
Flag Default What it does
--root . project root

Start the watcher in the background.

Terminal window
anchors watch start [flags]
Flag Default What it does
--root . project root

Watcher state.

Terminal window
anchors watch status [flags]
Flag Default What it does
--root . project root

Shut down the watcher.

Terminal window
anchors watch stop [flags]
Flag Default What it does
--root . project root

Commands of the same family — what tells each apart:

Command What it does
anchors next Pull and claim the next item from the queue (the worker calls this)
anchors queue List live tasks (the work the watcher queued)
anchors work Emit the work prompt of a stage (spec|code|feature|test|review) for a target
anchors done Close claimed task(s) (moves to the .anchors/done/ history)
anchors drop Discard a task from the queue without completing it (removes; does not archive)
anchors reclaim Return to the queue the tasks stuck in claimed (dead worker)
anchors deliver Record the delivery of a stage — the review trigger
anchors decided Release the card escalate --for-user stopped, once the decision is made
anchors discard Take off the board the card that no longer makes sense, without deleting it
anchors unblock Open the work card that unblocks a card stuck in needs-user
anchors escalate Open the issue for a change needed in the plan or the spec
anchors report-bug Report a bug in Anchors itself at github.com/co2-lab/anchors
anchors synthesize Two PRs conflicting in CONTENT become a synthesis card
anchors watch The background watcher: sees changes and QUEUES work
anchors monitor Watch the project’s long processes: one line when one starts, stalls, dies or ends
anchors flow Operate the work flows (the puzzle of actions and results)
anchors board The project board — published by the pipeline, or served live