target-revenue/specs
tegwick ee4cf14cbc Define and implement multi-repo onboarding mechanism (WP-0006-T07)
specs/TrustServiceOnboarding.md defines the mechanism: a Phase Manifest
file is committed to the declaring repo (durable, independently
foldable forever) and separately registered with the hosted service;
once registered, the Ledger's live authoritative copy is the hosted
service only, not a second competing file. Licensor token bootstrapping
is explicitly out of scope here (a WP-0008-T01 governance action).

scripts/trf_onboard.py: a dependency-light CLI (stdlib urllib +
target_revenue.validation only, no FastAPI/psycopg needed to onboard a
Phase) with validate/register-phase/append-entry/status subcommands.
The Licensor token is read only from a named environment variable,
never accepted as a literal argument.

tests/test_trf_onboard.py (4 tests, no network/Docker) proves
invalid-manifest and missing-token-env cases fail before any HTTP
attempt, by monkeypatching the request function to raise if called.
tests/test_onboarding_hosted.py (1 Docker-gated test) runs an actual
uvicorn server on a real socket and drives the full
register -> append -> status round trip through the CLI as an external
repo would invoke it.
2026-07-29 22:00:34 +02:00
..
EnforcementNetworkConcept.md Close WP-0004/WP-0005 with alpha/beta legal-review deferral 2026-07-29 20:46:49 +02:00
MonetizationExtensionSpecification.md Merge spec/ into specs/: one specs directory for the whole repo 2026-07-29 10:22:14 +02:00
OpenQuestions-WorkingDefaults.md Accept TRSL V1C1 (WP-0001-T06): objective Commercial Use definition 2026-07-29 19:30:41 +02:00
PhaseManifestSpecification.md Merge spec/ into specs/: one specs directory for the whole repo 2026-07-29 10:22:14 +02:00
ProductRequirementsDocument.md Set up practical implementation workplans (WP-0006/0007/0008) 2026-07-29 20:27:29 +02:00
TargetLedgerSpecification.md Fix stale administrative-correction reference in TargetLedgerSpecification §5 2026-07-29 19:49:51 +02:00
TargetRevenueCommercialUseAgreement-V1C1.md Close WP-0004/WP-0005 with alpha/beta legal-review deferral 2026-07-29 20:46:49 +02:00
TargetRevenueFrameworkCore.md Fix TargetRevenueFrameworkCore §1.11 extension-redefinition scope drift 2026-07-29 20:02:48 +02:00
TargetRevenueLicenseConcept.md Merge spec/ into specs/: one specs directory for the whole repo 2026-07-29 10:22:14 +02:00
TargetRevenueSourceLicense-V1C1.md Close WP-0004/WP-0005 with alpha/beta legal-review deferral 2026-07-29 20:46:49 +02:00
TechnicalSpecificationDocument.md Draft Commercial Use Agreement V1C1 template 2026-07-29 12:48:23 +02:00
TrustServiceOnboarding.md Define and implement multi-repo onboarding mechanism (WP-0006-T07) 2026-07-29 22:00:34 +02:00
TrustServiceProductRequirementsDocument.md Add Trust Service PRD (WP-0006-T01) 2026-07-29 20:50:06 +02:00