test: prove repository navigation conformance
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a0230c-b06c-7641-808a-e191b6d1da49
This commit is contained in:
parent
fe0e845cb1
commit
93a9151558
6 changed files with 210 additions and 26 deletions
|
|
@ -9,7 +9,8 @@ classification projections:
|
|||
repository, facet, provenance, diagnostic, cursor, and legacy-alias output;
|
||||
- `openapi/repository-navigation.openapi.json` defines the read-only
|
||||
`port.projection.query` routes;
|
||||
- `fixtures/` supplies a valid full input page and its representative output;
|
||||
- `fixtures/` supplies valid full and incremental/delete input pages plus a
|
||||
representative derived output;
|
||||
- `compatibility-matrix.json` records the only accepted input version and the
|
||||
temporary State Hub topic adapter.
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"contract_id": "helixforge.repository-classification-projection",
|
||||
"contract_version": "1.0.0",
|
||||
"source": {
|
||||
"system": "repo-manager",
|
||||
"classification_contract_id": "RMGR-CONTRACT-CLASSIFICATION-0001",
|
||||
"classification_contract_version": "1.0",
|
||||
"producer_version": "0.4.0"
|
||||
},
|
||||
"snapshot": {
|
||||
"snapshot_id": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
||||
"mode": "incremental",
|
||||
"generated_at": "2026-08-22T12:05:00Z",
|
||||
"source_revision": "123456789abcdef0123456789abcdef012345678",
|
||||
"page_cursor": null,
|
||||
"next_cursor": null,
|
||||
"final_page": true,
|
||||
"total_repository_count": null
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"operation": "delete",
|
||||
"repository_id": "11111111-1111-4111-8111-111111111111",
|
||||
"slug": "hub-core",
|
||||
"revision": {
|
||||
"head_sha": "1111111111111111111111111111111111111111",
|
||||
"source_fingerprint": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"observed_at": "2026-08-22T12:04:00Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "upsert",
|
||||
"repository_id": "33333333-3333-4333-8333-333333333333",
|
||||
"slug": "classification-catalog",
|
||||
"lifecycle": "active",
|
||||
"classification": {
|
||||
"category": "product",
|
||||
"domain": "infotech",
|
||||
"secondary_domains": [],
|
||||
"capability_tags": ["repository-governance"],
|
||||
"business_stake": ["operations", "technology"],
|
||||
"business_mechanics": ["control", "coordination"]
|
||||
},
|
||||
"revision": {
|
||||
"head_sha": "3333333333333333333333333333333333333333",
|
||||
"source_fingerprint": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
||||
"observed_at": "2026-08-22T12:04:30Z"
|
||||
}
|
||||
}
|
||||
],
|
||||
"diagnostics": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue