Capability registry for planning and implementation reuse based on discovery and delivery maturity.
Find a file
tegwick bca7165e02
Some checks failed
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 2s
ci / validate-registry (push) Has been cancelled
Build and Publish Container Image / build-and-push (push) Successful in 1m23s
REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence
reuse_surface/reports.py: collect_reuse_events() merges the hub's
GET /v1/reuse-events (if reachable) with this repo's local JSONL fallback,
deduped. collect_reuse_report() aggregates per-capability consumer counts,
outcome breakdown, and last-used. collect_reused_by_suggestions() proposes
evidence-gated relation_add patches -- only for capabilities this repo
owns, only for consumer repos not already listed -- reusing the existing
patches.py:apply_patches mechanism (relation_add already isn't in
SAFE_DETERMINISTIC_KINDS, so it was already never auto-applied by
maintain --auto).

New CLI: reuse-surface report reuse [--capability-id] [--format]
[--suggest-relations] [--apply]. --apply requires --suggest-relations and
is the only thing that writes -- nothing happens automatically from
telemetry alone.

schemas/capability.schema.yaml: added relations.reused_by as a new
repoSlugList type, distinct from the existing capability-id relations,
since reused-by targets are consumer repo slugs.

specs/CapabilityMaturityStandard.md Sec8.9: what observed-reuse evidence
counts toward R2->R3 (single corroborating consumer) vs R3->R4+ (multiple
independent consumers) and what it never substitutes for.

19 new pytest cases, 162 total pass. Live-verified with synthetic local
events against a real capability entry: --suggest-relations --apply
correctly wrote relations.reused_by via the real apply_patches path
(reverted after, since it was a smoke test).

Deliberately deferred: surfacing consumer counts in the catalog/graph --
graph.py's relation model is capability-to-capability edges, a different
namespace than repo-slug reused_by targets; catalog.py doesn't currently
parse full front matter per entry. Left for a follow-up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 22:47:51 +02:00
.forgejo/workflows REUSE-WP-0019-T03: add Forgejo Actions workflows (part 2 of prior commit) 2026-07-07 21:25:01 +02:00
.kaizen Onboard coulomb-loop kaizen engagement (LOOP-WP-0005 expansion) 2026-06-18 17:24:34 +02:00
agents Onboard coulomb-loop kaizen engagement (LOOP-WP-0005 expansion) 2026-06-18 17:24:34 +02:00
docs REUSE-WP-0019-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
history Finish REUSE-WP-0017: T05 approved, T07 closeout complete. 2026-07-07 16:37:53 +02:00
registry REUSE-WP-0019-T03: add Forgejo Actions workflows (part 2 of prior commit) 2026-07-07 21:25:01 +02:00
reuse_surface REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
schemas REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
specs REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
templates REUSE-WP-0017-T01: explicit capability_status on roster + coverage split in report gaps 2026-07-06 18:36:05 +02:00
tests REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
tools REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
workplans REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-07 22:35:35 +02:00
.gitignore Complete WP-0010: HTTP remote federation with cache 2026-06-15 02:28:44 +02:00
.repo-classification.yaml Human-review .repo-classification.yaml (CUST-WP-0050 follow-up) 2026-06-22 17:56:16 +02:00
AGENTS.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
CLAUDE.md Normalize agent instructions and workplan frontmatter (STATE-WP-0067) 2026-06-22 23:16:28 +02:00
Dockerfile Fix K8s service env collision on REUSE_SURFACE_PORT 2026-06-15 10:08:54 +02:00
INTENT.md docs: refresh SCOPE and INTENT↔SCOPE gap analysis post WP-0014 2026-06-16 02:17:07 +02:00
LICENSE Initial commit 2026-06-14 20:58:40 +00:00
pyproject.toml Implement REUSE-WP-0013 registry establish, update, and stats 2026-06-16 01:21:01 +02:00
README.md Update README.md 2026-06-14 20:59:01 +00:00
SCOPE.md REUSE-WP-0019-T05: reuse telemetry aggregation into R-axis evidence 2026-07-07 22:47:51 +02:00
uv.lock WP-0016 finished: interactive registry maintain with llm-connect automation 2026-06-18 04:00:39 +02:00

Capability registry for planning and implementation reuse based on discovery and delivery maturity.