Skip to content

Commit e233776

Browse files
author
Your Name
committed
knowledge: compound refresh supervision cycle [2026-08-01]
1 parent 68d268f commit e233776

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

docs/superskills/DPS_v5/knowledge/CONTEXT.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# CONTEXT.md — Domain Knowledge
22

3+
## Ubiquitous Language
4+
5+
- **InputCatalog**: the shared inventory and fingerprint set for source files, coverage inputs, and non-source context/configuration that can change indexing semantics. <!-- from ADR: ADR-0001 -->
6+
- **Full reconciliation**: a refresh that compares durable input state and chooses changed-file, context rebuild, or full-index work instead of trusting an event path list. <!-- from ADR: ADR-0001 -->
7+
- **WatcherSupervisor**: the bounded-retry runtime that treats the OS file watcher as an accelerator and retains periodic reconciliation when observation is degraded. <!-- from ADR: ADR-0001 -->
8+
9+
## Architectural Decisions
10+
11+
- Filesystem events are an optimization; `calm-core` owns refresh classification and durable input fingerprints so missed events or input drift cannot silently establish freshness. <!-- from ADR: ADR-0001 -->
12+
- Watcher lifecycle/freshness health is separate from the last completed indexing phase and is exposed independently through `indexing_status`. <!-- from ADR: ADR-0001 -->
13+
14+
## Domain Gotchas
15+
16+
- `indexing_phase == ready` only describes the last completed build; it does not prove that future filesystem changes are currently observed. <!-- from ADR: ADR-0001 -->
17+
- Configuration and context files can change the meaning of unchanged source bytes; they must be included in refresh fingerprints and reconciliation decisions. <!-- from ADR: ADR-0001 -->
18+
319
<!-- Version: 1 — populate via domain-alignment skill, then keep updated via knowledge-compound -->
420

521
## Ubiquitous Language

docs/superskills/DPS_v5/knowledge/compound-wiki.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Compound Wiki
22

3+
---
4+
date: 2026-08-01
5+
sprint: vheatm-tier2-refresh-supervision
6+
adr: ADR-0001 in docs/superskills/DPS_v5/ADR.md
7+
modules: [calm-core, calm-server, scip, watcher]
8+
---
9+
10+
## Cycle: core-refresh-catalog-and-watcher-supervision
11+
12+
### New Domain Terms Added to CONTEXT.md
13+
14+
- `InputCatalog`: shared input inventory and fingerprints ✅
15+
- `Full reconciliation`: durable-input-aware refresh escalation ✅
16+
- `WatcherSupervisor`: bounded watcher retry and degraded fallback ✅
17+
18+
### Bug Patterns
19+
20+
- Missed filesystem events or non-source input drift can leave a completed index stale: observed and resolved in ADR-0001; no recurring PATTERN-DEBT entry created.
21+
22+
### Gotchas Captured
23+
24+
- A ready last build is not proof of future observation → added to `CONTEXT.md` Domain Gotchas ✅
25+
- Context/configuration changes can alter unchanged source semantics → added to `CONTEXT.md` Domain Gotchas ✅
26+
27+
### Architectural Decisions Promoted
28+
29+
- Core owns refresh classification and durable input fingerprints; watcher health is a separate axis → added to `CONTEXT.md` Architectural Decisions ✅
30+
31+
### Nothing extracted
32+
33+
No new PATTERN-DEBT entry was warranted by this single cycle.
34+
35+
---
36+
337
Auto-populated by: knowledge-compound skill (run after every adr-commit)
438
Queried by: kb-query skill
539
MCP-ready: YAML frontmatter per entry for future semantic KB import

0 commit comments

Comments
 (0)