target-revenue/examples/phase-001/manifest.json
tegwick 2a176d9961 Implement WP-0015-T01/T04/T06: Phase provenance schema + ledger UI
Schema: phase.milestone_release gains required repo_hub/repo_hub_uri/
repo_id/repo_name; phase gains optional base_phase_id. Backfilled the
golden phase-001 fixture (placeholder values, it's synthetic) and the
three real pilot-candidate manifests with actual Forgejo repo ids
confirmed live (net-kingdom=67, vergabe-teilnahme=62,
info-tech-canon=47, all coulomb/*).

Discovered along the way: the schema change alone would have broken
the existing Control Plane registration form, since nothing collected
the four new fields. Fixed inline rather than leaving it broken
between tasks -- this also completes T04's ledger UI change (drop the
hand-typed ledger input, auto-compute /phases/{id}/ledger, add a
drill-down reference link on phase_detail.html) since both changes
touch the same form/route.

Full suite: 94 passing offline (was 84), 158 passing with Docker
(was 146).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 20:43:30 +02:00

36 lines
1.1 KiB
JSON

{
"framework": "TRF-0.1",
"license": "TRSL-0.1",
"phase": {
"id": "trsl:phase:example-001",
"milestone_release": {
"name": "release-1.0",
"source_revision": "abc123",
"artifact_sha256": "44cd1493bd179c1207c7025c1372cdad89aac114e151db27aba2bdf3d55c688a",
"repo_hub": "example-hub",
"repo_hub_uri": "https://example.invalid",
"repo_id": 1,
"repo_name": "example/example-repo"
},
"initial_target": {
"amount": 100000,
"currency": "USD"
},
"target_basis": {
"estimated_effort_days": 1,
"daily_rate": 1000,
"approved_direct_costs": 0,
"target_multiple": 100
},
"future_license": "MIT",
"degeneration_policy": "trsl:policy:linear-longstop-v0@1.0",
"longstop_at": "2031-08-01T00:00:00Z",
"ledger": "examples/phase-001/ledger.json"
},
"extensions": [
"trsl:extension:development-license@1.0",
"trsl:extension:cost-plus-operations@1.0",
"trsl:extension:phase-sponsorship@1.0",
"trsl:extension:service-with-development-allocation@1.0"
]
}