Skip to content

Commit 25aacb2

Browse files
authored
Expose checkout authority collisions in PortfolioTruth (#211)
* feat(portfolio): expose checkout authority collisions * fix(portfolio): fail closed on discarded worktree changes * fix(audit): suppress blocked pilot records * fix(portfolio): prefer working checkout authority * fix(automation): gate catalog seeds on checkout authority * fix(portfolio): honor declared checkout authority * fix(portfolio): observe excluded linked worktrees * fix(portfolio): fail closed on unresolved declarations * fix(portfolio): validate expanded checkout authority * fix(portfolio): preserve unknown topology evidence * Preserve external worktree authority evidence * Redact external repository topology * Fail closed on incomplete checkout topology * Preserve canonical identity across worktrees * Preserve canonical checkout policy * fix: validate checkout authority consistently * fix: preserve checkout identity and fail closed
1 parent 50c7df3 commit 25aacb2

35 files changed

Lines changed: 6199 additions & 2332 deletions

fixtures/contracts/portfolio-command-center-v1/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"portfolio_truth_schema_version": "0.11.0",
2525
"producer": {
2626
"artifact_path": "fixtures/contracts/portfolio-command-center-v1/portfolio-truth.json",
27-
"artifact_sha256": "ba3000833f1cd9c89442948ebe51f7e405e7832333a69c6f7347fb2fbfae254a",
27+
"artifact_sha256": "5b12c9851e43f82bcaf872f900539d5a5b67da9d405a7e73f7d3a20bfcdb9eae",
2828
"generator": "src.portfolio_truth_contract_fixture:build_contract_fixture",
2929
"manifest_path": "fixtures/contracts/portfolio-command-center-v1/manifest.json",
3030
"repository": "saagpatel/GithubRepoAuditor"

fixtures/contracts/portfolio-command-center-v1/portfolio-truth.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"derivation_policy_version": "portfolio_attention.v3",
6565
"exclusions": {
6666
"counts": {},
67-
"policy_version": "workspace_discovery.v2"
67+
"policy_version": "workspace_discovery.v3"
6868
},
6969
"generated_at": "2026-08-01T00:00:00+00:00",
7070
"inputs": {
@@ -1632,6 +1632,15 @@
16321632
},
16331633
"catalog_errors": [],
16341634
"catalog_warnings": [],
1635+
"checkout_collisions": {
1636+
"ambiguous_group_count": 0,
1637+
"discarded_checkout_count": 0,
1638+
"full_clone_group_count": 0,
1639+
"group_count": 0,
1640+
"groups": [],
1641+
"schema_version": "CheckoutCollisionSummaryV1",
1642+
"state": "observed"
1643+
},
16351644
"context_quality_counts": {
16361645
"boilerplate": 1,
16371646
"full": 1,

0 commit comments

Comments
 (0)