Capability registry for planning and implementation reuse based on discovery and delivery maturity.
Find a file
tegwick 00b7eab154 REUSE-WP-0019-T01: forge host abstraction + URL migration inventory
reuse_surface/forge_host.py: parse/derive/rewrite raw index URLs across
Gitea and Forgejo (handles both the legacy /raw/<branch>/... form and the
canonical /raw/branch/<branch>/... form both forges serve without a 303
redirect). migrate_source_host() verifies the new URL resolves via HTTP
HEAD before writing -- refuses to point a repo at a host it hasn't
actually migrated to.

New CLI: reuse-surface federation migrate-host --repo <slug> --to
<base-url> [--from <check>] [--dry-run] [--no-verify] [--update-hub].

Inventory: cross-referenced sources.yaml against each repo's actual git
origin. 11/61 repos already on Forgejo; found 2 with stale sources.yaml
entries (activity-core, state-hub) despite having migrated. Fixed for
real: local sources.yaml + production hub registration (hub update),
verified against GET /v1/federated post-migration. config-atlas's
WP-0017-T06 303 confirmed NOT a host-transition symptom (already diagnosed
there as something else).

Also fixed two host-agnostic gaps found while inventorying:
registry_update.py and maintain_llm.py only recognized .gitea/workflows/,
missing repos already on .forgejo/workflows/. Fixed a stale copy-paste
example (state-hub's now-wrong old URL) in docs/RegistryFederation.md, and
a pre-existing unrelated port typo (8088 vs the real llm-connect default
8080) in tools/README.md and registry/README.md.

17 new pytest cases (tests/test_forge_host.py), 106 total pass.
Recomposed federated.yaml post-migration: still 61 capabilities.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 18:14:30 +02:00
.gitea/workflows REUSE-WP-0018 T01/T02/T04/T06: plan-check deterministic matching + State Hub bridge 2026-07-07 00:57:18 +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-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
reuse_surface REUSE-WP-0019-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
schemas REUSE-WP-0018-T03: LLM semantic rerank for plan-check 2026-07-07 17:27:39 +02:00
specs REUSE-WP-0018-T03: LLM semantic rerank for plan-check 2026-07-07 17:27:39 +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-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
tools REUSE-WP-0019-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
workplans REUSE-WP-0019-T01: forge host abstraction + URL migration inventory 2026-07-07 18:14:30 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-07 17:28:46 +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 Finish REUSE-WP-0017: T05 approved, T07 closeout complete. 2026-07-07 16:37:53 +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.