2026-06-15 01:09:53 +02:00
# INTENT ↔ SCOPE Gap Analysis
**Repository:** `reuse-surface`
**Artifact:** `docs/IntentScopeGapAnalysis.md`
**Status:** Living analysis
2026-06-16 02:17:07 +02:00
**Updated:** 2026-06-16
2026-06-15 01:09:53 +02:00
**Purpose:** Record alignment, drift, and open gaps between declared intent and
current delivered scope so future workplans can close them deliberately.
2026-06-16 02:17:07 +02:00
**Canon:** Product truth in `INTENT.md` ; delivery truth in `SCOPE.md` .
2026-06-15 01:09:53 +02:00
---
## 1. Summary
2026-06-16 02:17:07 +02:00
`INTENT.md` defines the long-term capability registry product: a reuse surface
that makes capabilities visible, assessable, and consumable for planning and
implementation across repos and organizations.
`SCOPE.md` (refreshed post– WP-0014) describes current delivery:
| Dimension | Delivered today |
|---|---|
| Registry product | 20 helix_forge entries in reuse-surface; maturity model, schema, validation |
| Tooling | CLI **A3+** ; hosted hub HTTP API **A4** at `https://reuse.coulomb.social` |
| Federation | 60 hub registrations; 60 URL sources; 37 composed federated rows |
| Workstation rollout | 60/60 local repos established (`local-repo-roster.yaml` ) |
| Authoring aids | `establish` , `update` , `stats` , optional llm-connect discover |
| Observability | `report cohorts` , catalog/graph UIs, pytest + CI gates |
REUSE-WP-0001 through REUSE-WP-0014 closed the MVP, federation hub, intent
alignment, registry bootstrap, and **local workstation registry rollout** . The
documents remain **directionally aligned** on registry-first reuse, four maturity
dimensions, and human/agent consumers.
**Open gaps** (operator or follow-on workplans):
2026-06-16 21:07:05 +02:00
1. **Planning analytics breadth** — gap report shipped; no roadmap views or
2026-06-16 03:46:01 +02:00
standardization tracker.
3. **Hub automation** — no polling/webhooks for federated refresh.
4. **Managed platform posture** — A6/Postgres/multi-replica not implemented.
5. **Consumer reliability evidence** — catalog mostly R0– R2; thin telemetry loop.
2026-06-16 00:30:53 +02:00
2026-06-16 00:42:50 +02:00
**Current reuse-surface product vector (self-assessment):** `D5 / A4 / C5 / R3`
2026-06-15 01:09:53 +02:00
---
## 2. Alignment Matrix
| Topic | INTENT.md | SCOPE.md | Status |
|---|---|---|---|
2026-06-16 02:17:07 +02:00
| Registry-first boundary | Unregistered capabilities invisible | Same | **Aligned** |
| Four maturity dimensions | D, A, C, R; internal vs external evidence | Same in entries and schema | **Aligned** |
| Human and agent consumers | Registry formats for both | Markdown + YAML + CLI + hub API | **Aligned** |
| Reuse over inventory | Explicit principle | Query, overlaps, federation, dedup plan | **Aligned** |
| Planning vs implementation reuse | Distinct dimensions | Query, vectors, `consumption_modes` | **Aligned** |
| Technical foundation | Eventually technical | CLI A3, hub A4, container A5 artifact | **Aligned** |
2026-06-16 03:46:01 +02:00
| Cross-repo capability visibility | Reuse across repos/products/orgs | 60 repos scaffolded; 20 federated caps | **Partial** |
2026-06-16 02:17:07 +02:00
| Generalized primitives (D7) | Beyond single repo/domain | helix_forge only; no D7 pipeline view | **Partial** |
| Success criteria (8 outcomes) | See §5 | Most met; analytics + normalization partial | **Partial** |
| Repository layout | Tree in INTENT §Initial Repository Role | Matches SCOPE; roster artifact added | **Aligned** |
| State Hub / workplans | Not in INTENT | ADR-001 sync; delivery process | SCOPE-only (OK) |
| Hosting capabilities | Out of scope | Hub stores metadata/URLs only | **Aligned** |
2026-06-15 01:09:53 +02:00
---
2026-06-16 00:30:53 +02:00
## 3. INTENT → SCOPE Gaps (Open)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
What `INTENT.md` still expects beyond current `SCOPE.md` delivery.
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
### 3.1 Cross-repo federation fetch and namespace (Medium)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| INTENT claim | SCOPE reality | Gap |
2026-06-15 01:09:53 +02:00
|---|---|---|
2026-06-16 03:46:01 +02:00
| Capabilities reusable across repos, products, orgs | 60 repos on hub; 20 federated rows | Single domain (`helix_forge` ) |
2026-06-16 21:07:05 +02:00
| Find capabilities before rebuilding at network scale | Hub + compose + roster | — |
2026-06-16 12:35:49 +02:00
| Identify duplicates (success criterion) | `overlaps` + compose (0 duplicate warnings) | — |
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
**Follow-up:** `history/2026-06-16-wp0014-remaining-work-by-repo.md` (Gitea);
`history/2026-06-16-federation-deduplication-plan.md` (reuse-surface dedup).
2026-06-15 01:09:53 +02:00
2026-06-16 00:42:50 +02:00
### 3.2 Planning support breadth (Low– Medium)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| INTENT claim | SCOPE reality | Gap |
2026-06-15 01:09:53 +02:00
|---|---|---|
2026-06-16 03:46:01 +02:00
| Plan prototype/MVP/enhancement/platform work | `report cohorts` , `report gaps` , query | No roadmap views |
| Identify gaps, overlaps, standardization candidates | `overlaps` , `report gaps` | No standardization workflow |
2026-06-16 02:17:07 +02:00
| Track progress to generalized capabilities (D7) | Per-entry `promotion_history` | No cross-entry D7 pipeline |
2026-06-15 01:09:53 +02:00
2026-06-16 00:42:50 +02:00
### 3.3 Hub operations (Low– Medium)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| INTENT claim | SCOPE reality | Gap |
2026-06-15 01:09:53 +02:00
|---|---|---|
2026-06-16 02:17:07 +02:00
| Operational federation | Production hub; `hub sync` | On-demand compose; no webhooks |
| Dependable platform consumption (R4+) | Container deploy doc | SQLite single-replica; no SLO enforcement |
2026-06-15 01:09:53 +02:00
2026-06-16 00:42:50 +02:00
### 3.4 Consumer reliability evidence (Low– Medium)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| INTENT claim | SCOPE reality | Gap |
2026-06-16 00:30:53 +02:00
|---|---|---|
2026-06-16 02:17:07 +02:00
| Reliability from consumer signals | Schema + README checklist | Most entries R0– R2 |
| Trust for important workflows (R4+) | CI + hub smoke | No formal consumer_feedback loop |
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
### 3.5 Owner-repo capability depth (Low — ongoing)
| INTENT claim | SCOPE reality | Gap |
|---|---|---|
2026-06-16 03:46:01 +02:00
| Rich registry across organization | 60 scaffolds; 8 seeded | 52 repos at capability_count 0 |
| Discover mature capabilities network-wide | 20 federated rows | Growth is per-repo, optional |
2026-06-15 01:09:53 +02:00
---
2026-06-16 00:30:53 +02:00
## 4. Closed Gaps (Historical)
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| Workplan / milestone | Gap closed | Evidence |
|---|---|---|
| WP-0003 – WP-0011 | MVP CLI, validation, catalog, federation, hub | Archived workplans; pytest |
| WP-0012 | `hub sync` , cohort reports, INTENT layout, hub hardening doc | `hub_sync.py` , `docs/deploy/` |
| WP-0013 | Registry bootstrap in sibling repos | `establish` , `update` , `stats` |
| WP-0014 | Workstation registry rollout; hub 60 registrations | `local-repo-roster.yaml` ; milestone history |
2026-06-16 12:35:49 +02:00
| WP-0015-T02 | Federated ID deduplication | 2 local entries; 0 compose duplicate warnings |
2026-06-16 03:46:01 +02:00
| WP-0015-T03 | Planning gap report | `reuse-surface report gaps` |
2026-06-16 21:07:05 +02:00
| WP-0015 | Gitea publish + federation polish | 60/60 publish pass; org transfer to `coulomb/` |
2026-06-16 02:17:07 +02:00
| Priority 18 | Sibling / workstation hub membership | 60/60 `hub list` |
| Priority 19– 24 | See §8 | WP-0012/0013 deliveries |
2026-06-15 01:09:53 +02:00
---
2026-06-16 02:17:07 +02:00
## 5. INTENT Success Criteria vs SCOPE Delivery
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
From `INTENT.md` §Success Criteria:
2026-06-15 01:09:53 +02:00
2026-06-16 02:17:07 +02:00
| # | Criterion | Met? | SCOPE evidence | Remaining gap |
|---|---|---|---|---|
2026-06-16 21:07:05 +02:00
| 1 | Find reusable capabilities before rebuilding | **Yes** | Index, query, catalog, hub `/v1/federated` , federation compose | — |
2026-06-16 02:17:07 +02:00
| 2 | Compare maturity consistently | **Yes** | Vectors, schema, graph relations | — |
| 3 | Distinguish conceptual readiness from delivery | **Yes** | D vs A in model and index | — |
| 4 | Distinguish internal assessment from external evidence | **Yes** | `maturity` vs `external_evidence` | — |
2026-06-16 03:46:01 +02:00
| 5 | Plan prototype/MVP/enhancement/platform work | **Partial** | `report cohorts` , `report gaps` , query | No roadmap views |
| 6 | Identify gaps, duplicates, overlaps, standardization | **Partial** | `overlaps` , `report gaps` , deduped index | Standardization tracker |
2026-06-16 02:17:07 +02:00
| 7 | Track progress to generalized capabilities (D7) | **Partial** | `promotion_history` per entry | No org-wide D7 view |
2026-06-16 21:07:05 +02:00
| 8 | Make reuse normal in architecture work | **Yes** | AGENTS.md, 60-repo rollout, 60/60 publish pass | — |
2026-06-16 02:17:07 +02:00
**Score:** 4 fully met, 4 partial — consistent with **C5** product completeness for
known registry expectations, not yet saturated (**C6**).
2026-06-15 01:09:53 +02:00
---
## 6. Completeness Assessment (SCOPE vs INTENT)
2026-06-16 00:30:53 +02:00
| Area | INTENT expectation | Current delivery | Level |
2026-06-15 01:09:53 +02:00
|---|---|---|---|
2026-06-16 00:30:53 +02:00
| Registry model and principles | Full | INTENT + specs | C5 |
2026-06-16 02:17:07 +02:00
| Maturity standard | Full | `CapabilityMaturityStandard.md` | C5 |
2026-06-16 00:30:53 +02:00
| Entry authoring | Full for MVP | Template + schema + README | C5 |
2026-06-16 03:46:01 +02:00
| Seed registry (reuse-surface) | Examples + meta | 3 entries (meta + 1 stub) | C4 |
2026-06-16 02:17:07 +02:00
| Discovery surface | Machine-readable | Index, query, export, hub API, federated | C5 |
2026-06-16 00:30:53 +02:00
| Validation | Tooling | `validate` + CI | C5 |
| Search / filter | Supported | query, catalog HTML | C4 |
2026-06-16 02:17:07 +02:00
| Federation membership | Cross-repo | 60 hub members; compose + sync | C5 |
2026-06-16 21:07:05 +02:00
| Federation fetch reliability | Published indexes | 60/60 publish pass | C5 |
2026-06-16 02:17:07 +02:00
| Workstation bootstrap | Org-wide visibility | Roster + establish tooling | C4 |
| Agent instructions | Expected | AGENTS.md, tools README | C4 |
| Technical consumption | A3+ tools | CLI A3, hub A4 | C4 |
2026-06-16 03:46:01 +02:00
| Planning analytics | Success criteria | `report cohorts` , `report gaps` | C4 |
2026-06-16 02:17:07 +02:00
| Documentation canon | Concept + living delta | Concept doc + this file | C4 |
2026-06-16 00:30:53 +02:00
2026-06-16 21:07:05 +02:00
**Overall completeness vs INTENT:** **C5– C6** for reuse-surface product scope;
**C6** for fetchable federation (60/60 publish pass).
2026-06-15 01:09:53 +02:00
---
## 7. Reliability Assessment (SCOPE vs INTENT)
| Signal | State |
|---|---|
2026-06-16 02:17:07 +02:00
| Automated tests | pytest (registry, federation, hub, hub_sync, stats, reports) |
| CI gates | validate, federation compose, catalog, graph, pytest |
| Production hub | `reuse.coulomb.social` — TLS, 60 registrations |
| Workstation rollout | Deterministic establish/validate; roster tracked |
| Consumer feedback | Informal; 3 entries with structured `consumer_feedback` |
2026-06-16 21:07:05 +02:00
| Known friction | hub SQLite single-replica |
2026-06-15 01:09:53 +02:00
2026-06-16 00:30:53 +02:00
**Overall reliability vs INTENT consumer-evidence framing:** **R3 (Usable)** —
2026-06-16 02:17:07 +02:00
CI and production paths support normal agent/operator workflows with documented
limitations. **R4 (Dependable)** blocked on SLO, backup automation, and
consumer telemetry.
2026-06-15 01:09:53 +02:00
---
## 8. Priority Gap Closure Order
2026-06-16 02:17:07 +02:00
### Closed (priorities 1– 24)
2026-06-15 01:20:31 +02:00
2026-06-16 02:17:07 +02:00
See §4 and archived workplans `workplans/archived/` .
2026-06-15 01:09:53 +02:00
2026-06-18 04:00:39 +02:00
### Proposed next (priorities 25– 28)
2026-06-15 07:40:36 +02:00
2026-06-16 02:18:51 +02:00
| Priority | Gap | Suggested outcome | Status |
2026-06-15 07:40:36 +02:00
|---|---|---|---|
2026-06-16 21:07:05 +02:00
| 25 | Gitea publish visibility | Raw URL HTTP 200 for all roster rows | **Closed** (WP-0015-T01) |
2026-06-16 03:46:01 +02:00
| 26 | Federated ID deduplication | Per-owner removal from reuse-surface index | **Closed** (WP-0015-T02) |
| 27 | Planning analytics + standardization | Gap report or standardization tracker | **Partial** — gap report shipped (T03); tracker deferred |
2026-06-18 04:00:39 +02:00
| 28 | Registry maintenance automation | Interactive `maintain` + `--auto` with llm-connect | **Closed** (WP-0016) |
2026-07-07 17:04:55 +02:00
| 29 | Consumption loop (query-before-build) | `plan-check` command + State Hub capability-request bridge | **Partial** — deterministic matching (T02), the request bridge (T04), docs/CI (T06), and the ecosystem session-protocol convention (T05, propagation proposed to custodian-agent 2026-07-07) shipped; only LLM semantic rerank (T03) remains open, deferred pending a running `llm-connect` instance |
2026-06-16 02:17:07 +02:00
2026-06-18 04:00:39 +02:00
**Workplan:** `workplans/REUSE-WP-0016-interactive-registry-maintain.md` (priority 28);
REUSE-WP-0018 T01/T02/T04/T06: plan-check deterministic matching + State Hub bridge
T01: specs/PlanCheck.md design doc, plan-check-result.schema.json and
reuse-event.schema.json (the latter shared with WP-0019's reuse telemetry).
T02: reuse_surface/plan_check.py + 'reuse-surface plan-check' CLI command.
Deterministic token-Jaccard matching against registry/indexes/federated.yaml
(reuses overlaps.py's TOKEN_RE rather than a second scoring method), with
reuse/extend/new verdicts, markdown and --format json output, staleness
warning, and --record-outcome JSONL telemetry.
T04: reuse_surface/statehub_bridge.py bridges plan-check 'new' verdicts to
State Hub capability requests (--file-request) and surfaces open requests
with no matching capability (report gaps --check-capability-requests, opt-in
to stay offline-safe). Verified against the live local State Hub API;
status field (not catalog_entry_id presence) is the correct open/closed
signal, and the list endpoint needs a longer timeout than the health check
(~7s observed with 5 rows).
T06: docs (tools/README.md, RegistryFederation.md, SCOPE.md,
IntentScopeGapAnalysis.md priority 29) and an informational CI smoke step.
T03 (LLM rerank) not started -- llm-connect isn't running on this
workstation. T05 (ecosystem rollout) remains blocked: WP-0017 has drafted
entries for all 61 repos but they're still local-only pending its own T05
push/publish pass, so the federated index isn't yet worth rolling out
plan-check as ecosystem convention.
16 new tests, all mocked -- no network calls in the default test run.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 00:57:18 +02:00
`workplans/REUSE-WP-0015-federation-polish-and-planning-analytics.md` (25– 27);
`workplans/REUSE-WP-0018-plan-check-consumption-loop.md` (priority 29)
2026-06-16 02:18:51 +02:00
**Assessment:** `history/2026-06-16-intent-scope-assessment.md`
**Follow-up docs:**
2026-06-16 02:17:07 +02:00
- `history/2026-06-16-wp0014-remaining-work-by-repo.md`
- `history/2026-06-16-federation-deduplication-plan.md`
- `registry/federation/local-repo-roster.yaml`
2026-06-16 00:33:36 +02:00
2026-06-15 01:09:53 +02:00
---
## 9. Document Maintenance Rules
2026-06-16 02:17:07 +02:00
- Re-run this analysis when `INTENT.md` or `SCOPE.md` changes materially.
- When a gap closes, update §3– §8 and adjust the self-assessment vector in `SCOPE.md` .
- New workplans should reference priority rows from §8.
- Prefer `SCOPE.md` for delivery truth; `INTENT.md` for product truth.
2026-06-15 01:09:53 +02:00
---
## 10. Change Log
| Date | Change |
|---|---|
2026-06-16 02:17:07 +02:00
| 2026-06-15 | Initial analysis after REUSE-WP-0002 |
| 2026-06-15 | WP-0003– 0011 progress; vector milestones |
| 2026-06-16 | WP-0012 closed priorities 19– 23 |
| 2026-06-17 | WP-0013 closed priority 24 |
| 2026-06-16 | WP-0014 closed priority 18; 60 workstation repos |
2026-06-16 02:18:51 +02:00
| 2026-06-16 | **SCOPE refresh + full INTENT success-criteria mapping** ; priorities 25– 27 proposed |
2026-06-18 04:00:39 +02:00
| 2026-06-16 | Assessment persisted; **REUSE-WP-0015** created for priorities 25– 27 |
REUSE-WP-0018 T01/T02/T04/T06: plan-check deterministic matching + State Hub bridge
T01: specs/PlanCheck.md design doc, plan-check-result.schema.json and
reuse-event.schema.json (the latter shared with WP-0019's reuse telemetry).
T02: reuse_surface/plan_check.py + 'reuse-surface plan-check' CLI command.
Deterministic token-Jaccard matching against registry/indexes/federated.yaml
(reuses overlaps.py's TOKEN_RE rather than a second scoring method), with
reuse/extend/new verdicts, markdown and --format json output, staleness
warning, and --record-outcome JSONL telemetry.
T04: reuse_surface/statehub_bridge.py bridges plan-check 'new' verdicts to
State Hub capability requests (--file-request) and surfaces open requests
with no matching capability (report gaps --check-capability-requests, opt-in
to stay offline-safe). Verified against the live local State Hub API;
status field (not catalog_entry_id presence) is the correct open/closed
signal, and the list endpoint needs a longer timeout than the health check
(~7s observed with 5 rows).
T06: docs (tools/README.md, RegistryFederation.md, SCOPE.md,
IntentScopeGapAnalysis.md priority 29) and an informational CI smoke step.
T03 (LLM rerank) not started -- llm-connect isn't running on this
workstation. T05 (ecosystem rollout) remains blocked: WP-0017 has drafted
entries for all 61 repos but they're still local-only pending its own T05
push/publish pass, so the federated index isn't yet worth rolling out
plan-check as ecosystem convention.
16 new tests, all mocked -- no network calls in the default test run.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 00:57:18 +02:00
| 2026-06-16 | **REUSE-WP-0016** closed priority 28 (interactive `maintain` , `--auto` , templates) |
2026-07-07 17:04:55 +02:00
| 2026-07-07 | **REUSE-WP-0018** partially closed priority 29 (`plan-check` deterministic matching + State Hub capability-request bridge; LLM rerank and ecosystem rollout remain open) |
| 2026-07-07 | **REUSE-WP-0018-T05** closed following REUSE-WP-0017 completion (61 published capabilities); only T03 (LLM rerank) remains open under priority 29 |