-
Notifications
You must be signed in to change notification settings - Fork 0
Wiki Watch Config
How the wiki-watch engine is configured. There is no new config file — the watcher reads from three existing sources, each owned by a different layer (honors DC-W2 + DC-8: the vault holds the cross-device index, the on-host marker holds run config, never config in the vault).
Note
Status: pending — wiki-maintenance part 4. Field names and exact shapes below are placeholders to be confirmed against the task-1 and task-3 diffs at /work. Marked _Filled by human._ where the source has not yet landed.
| Config | Source | Layer | Carries | Resolver |
|---|---|---|---|---|
| Enablement | .agentm-config.json |
on-host |
wiki_watch_enabled toggle (host-level on/off) |
_Filled by human._ (modeled on harness_memory.py:_read_config_state_mode()) |
| Run config |
<repo>/.harness/ marker (new, per-repo) |
on-host, per-repo | watch sources + dispatch mode pr | direct
|
_Filled by human._ (modeled on _read_mode_marker()) |
| Wiki target |
repo_registry (<vault>/_meta/repos.json) wiki_path
|
vault (index) | watched repo → which wiki to write | net-new repo→wiki resolver (task 1) |
Host-level on/off. A wiki_watch_enabled toggle (or nested block) read without touching the vault. Off or absent → the watcher no-ops for this host. Mirrors the existing config-state read path; no new file.
A new per-repo marker under <repo>/.harness/ carrying the run config: which sources to watch (the repo plus the active PLAN.md / design / ROADMAP.md — the source files, not the output wiki) and the dispatch mode. This is on-host, per-repo run config — it is never written to the vault (DC-8).
| Field | Values | Meaning |
|---|---|---|
| dispatch mode |
pr (default) | direct
|
pr opens a pull request a human merges; direct commits straight to the wiki — opt-in per trusted repo only. |
| watch sources | _Filled by human._ |
The repo + active PLAN.md / design / ROADMAP.md to diff since the cursor. |
An absent marker, a malformed marker, or an unknown dispatch mode is handled defensively (skip / safe default) — confirm the exact behavior from the task-1 diff. _Filled by human._
Which wiki a watched repo maps to. The registry (<vault>/_meta/repos.json) already carries an optional wiki_path per entry; the resolver (net-new in task 1) maps a watched path/slug → registry entry → wiki_path.
| Case | Behavior |
|---|---|
wiki_path present |
Resolve to that path. |
wiki_path absent |
Fall back to <root>/wiki, or skip. _Filled by human._ (confirm from task-1 diff) |
| repo unregistered | Skip — the watcher no-ops for that repo. |
Cross-repo resolution shells out to agentm's repo_registry.py via path-fallback (mirroring recent-wiki-changes.sh) and graceful-skips if agentm is absent — the watcher no-ops, never hard-fails.
Cursors, the processed-set, and the audit log live under _harness/wiki-watch/ — resolved via harness_memory.py vault-state-path wiki-watch/<file> to <vault>/projects/<slug>/_harness/wiki-watch/ in vault mode, or <repo>/.harness/wiki-watch/ in local mode (DC-W6). The audit log is local and never committed.
- How to run the wiki-watcher (W1) — the task-oriented walkthrough.
- Antigravity limitations — why scheduling (the loop that re-invokes this engine) is Claude-first.
-
Compatibility — supported hosts + per-manifest
supported_hostscontract. - Wiki-watcher (W1) design — the index-vs-run-config split (DC-8) and the rest of the rationale.
🔧 How-to
- Plugin anatomy
- Repo layout
- Compatibility
- CI gates
- Troubleshooting
- Customization Types
- Manifest Schema
- Per-Host Paths
- Hooks
- Evaluator
- Antigravity Limitations
- Wiki Watch Config
- Style-learning loop
- Modify a plugin
- Add a skill
- Add a plugin
- Named plans
- Coordinator roles (pending)
- Obsidian vault backend (pending)
- GitHub Projects
- Testing Conventions
- Releasing Conventions
- Design Docs