Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
permissions:
contents: read
pull-requests: read
uses: wellmanifest/new-project/.github/workflows/governance.yml@d1f35ed1b8be60f50a6739984c947a30379ead5b
uses: wellmanifest/new-project/.github/workflows/governance.yml@dc2240c22d49391845fef07f32664f37b904504f
with:
standard-ref: d1f35ed1b8be60f50a6739984c947a30379ead5b
standard-ref: dc2240c22d49391845fef07f32664f37b904504f
trusted-reviewers: ${{ vars.TRUSTED_REVIEWERS }}
trusted-validator-apps: ${{ vars.TRUSTED_VALIDATOR_APPS }}

Expand Down
17 changes: 12 additions & 5 deletions .governance/governance_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4062,12 +4062,19 @@ def resolve_validation_base(
return supplied_base
active = active_ticket_records(root, config, records)
adoption_records = standard_adoption_records(active)
if len(adoption_records) != 1:
deliveries = [record.intent["delivery"] for record in adoption_records if record.intent is not None]
if not deliveries:
return None
record = adoption_records[0]
assert record.intent is not None
delivery = record.intent["delivery"]
return published_adoption_validation_base(root, delivery, head) or delivery["acceptedBaseSha"]
# Fresh published clones retain historical adoption prose but not external
# terminal receipts. Establish the latest integration's range before its
# changed-ticket filter decides ownership; do not declare tickets terminal.
if len({delivery["targetBranch"] for delivery in deliveries}) == 1:
published_base = published_adoption_validation_base(root, deliveries[0], head)
if published_base is not None:
return published_base
if len(deliveries) != 1:
return None
return deliveries[0]["acceptedBaseSha"]


def check_change_lease(root: Path, report: Report) -> None:
Expand Down
2 changes: 1 addition & 1 deletion .governance/manifest.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"stacks": [],
"standard": {
"id": "wellmanifest/new-project",
"version": "0.20.21"
"version": "0.20.22"
},
"ticket": {
"activeStatuses": [
Expand Down
2 changes: 1 addition & 1 deletion .governance/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
],
"standard": {
"id": "wellmanifest/new-project",
"version": "0.20.21"
"version": "0.20.22"
},
"ticket": {
"activeStatuses": [
Expand Down
8 changes: 4 additions & 4 deletions .governance/manifest.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
".governance/error/GOV-WORKTREE-OVERLAP.md": "65a2533f13e63d6ebeeb63c07adc0794ea9e04075a91e873eff2d79910239b0e",
".governance/error/README.md": "e8486dd29f52ca3fee96ed6881a62c38141864cde5aa1adea2b16d22b2feefaa",
".governance/generate_required_checks.py": "a017f06203e3c186dd97bc3c3a183e0352f5f11b2f49701e61cac98e86c00cba",
".governance/governance_check.py": "5336377d54ab8239cf1b1c7ee576523cc6e134d3f817be940c4248d88bbff01d",
".governance/governance_check.py": "48a1cf1231031e6f1216ae556a4ca5434c1e3e775c246990e16d78708fe2176d",
".governance/intent.schema.json": "7baa32440e3ae5bf1ada32359154b35038134ba2dee4dbf25d9435a12f62ab0c",
".governance/lock.schema.json": "ad80c98f800a4a3310870336dcdaf0aa689cc4988f71084d25d76bea2df1242f",
".governance/manifest.base.json": "986b581a686cd526eca602fcc0ec25042e0c21f907f24e60cce415490481461b",
".governance/manifest.base.json": "be9de0a7709e973bd59fdbc4191291054cb8a001e1338450d660f3e398b54095",
".governance/manifest.schema.json": "5aa2ccd3f6898834d4e39a78342448145490be56aa132e16ac7c9d64acef8f73",
".governance/package-manifest.json": "a06a0b84d9b4f9f9c30b5523e40db50f33de3490b1006c29cd03cd1e2b58b1b2",
".governance/precommit_standard_update.py": "c91e2bf9ae9d6ccc77bce0e61450c818a5961edee5bfde3b60426da88e296b0f",
Expand Down Expand Up @@ -94,7 +94,7 @@
"id": "wellmanifest/new-project",
"publicationStatus": "published",
"sourceRepository": "wellmanifest/new-project",
"sourceRevision": "d1f35ed1b8be60f50a6739984c947a30379ead5b",
"version": "0.20.21"
"sourceRevision": "dc2240c22d49391845fef07f32664f37b904504f",
"version": "0.20.22"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"email": "tom@sapletta.com"
},
"wellmanifest": {
"standard": "0.20.21",
"revision": "d1f35ed1b8be60f50a6739984c947a30379ead5b",
"standard": "0.20.22",
"revision": "dc2240c22d49391845fef07f32664f37b904504f",
"gate": "project/governance-check.sh"
}
}
35 changes: 35 additions & 0 deletions project/ticket-103/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 85 additions & 0 deletions project/ticket-103/intent.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ packages = ["todo2code"]
py-modules = ["todo2code_sdk"]

[tool.wellmanifest]
standard = "0.20.21"
revision = "d1f35ed1b8be60f50a6739984c947a30379ead5b"
standard = "0.20.22"
revision = "dc2240c22d49391845fef07f32664f37b904504f"
gate = "project/governance-check.sh"

[tool.pytest.ini_options]
Expand Down
Loading