Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3135 commits
Select commit Hold shift + click to select a range
4401e03
chore: refresh org SBOM inventory
Nov 21, 2026
6396101
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
21451db
chore: refresh org SBOM inventory
Nov 21, 2026
c867bd3
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
c36d39b
chore: refresh org SBOM inventory
Nov 21, 2026
f351e98
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
2e4aec6
chore: refresh org SBOM inventory
Nov 21, 2026
8214a31
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
effe162
chore: refresh org SBOM inventory
Nov 21, 2026
b2e936c
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
58837cf
chore: refresh org SBOM inventory
Nov 21, 2026
eded3a4
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
1207260
chore: refresh org SBOM inventory
Nov 21, 2026
ebaf76b
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
f97e406
chore: refresh org SBOM inventory
Nov 21, 2026
10db1f6
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
2bd2a4c
chore: refresh org SBOM inventory
Nov 21, 2026
280e4ac
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
3451ea2
chore: refresh org SBOM inventory
Nov 21, 2026
1b27d36
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
e52ac04
chore: refresh org SBOM inventory
Nov 21, 2026
396bed5
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
8d22ecf
chore: refresh org SBOM inventory
Nov 21, 2026
57db0b5
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
2b8303a
chore: refresh org SBOM inventory
Nov 21, 2026
891055c
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
27b0482
chore: refresh org SBOM inventory
Nov 21, 2026
5d57927
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
248d17d
chore: refresh org SBOM inventory
Nov 21, 2026
adc238e
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
8878e34
chore: refresh org SBOM inventory
Nov 21, 2026
21347cb
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
a3b8c0c
chore: refresh org SBOM inventory
Nov 21, 2026
59b319a
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
9174973
chore: refresh org SBOM inventory
Nov 21, 2026
4d83700
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
25ca5e4
chore: refresh org SBOM inventory
Nov 21, 2026
3b08daa
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
161513e
chore: refresh org SBOM inventory
Nov 21, 2026
4ab3eb4
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
9a7cdea
chore: refresh org SBOM inventory
Nov 21, 2026
b6f3ae4
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
a7ed760
chore: refresh org SBOM inventory
Nov 21, 2026
daec57d
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
8eac8fd
chore: refresh org SBOM inventory
Nov 21, 2026
0abc9fa
chore: preserve SBOM inventory publication lineage
Nov 21, 2026
2fb95fb
chore: refresh org SBOM inventory
Nov 22, 2026
aa25403
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
369b6ee
chore: refresh org SBOM inventory
Nov 22, 2026
5ff422a
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
1d1f30b
chore: refresh org SBOM inventory
Nov 22, 2026
7b0e9ef
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
be9de37
chore: refresh org SBOM inventory
Nov 22, 2026
3ee4e0b
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
86a756b
chore: refresh org SBOM inventory
Nov 22, 2026
0756cd5
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
8525b44
chore: refresh org SBOM inventory
Nov 22, 2026
c5dd715
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
f1e7802
chore: refresh org SBOM inventory
Nov 22, 2026
bc4d583
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
25ec508
chore: refresh org SBOM inventory
Nov 22, 2026
b16b573
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
f459ec7
chore: refresh org SBOM inventory
Nov 22, 2026
2c12a6a
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
3b978f7
chore: refresh org SBOM inventory
Nov 22, 2026
27a63d1
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
bbffc95
chore: refresh org SBOM inventory
Nov 22, 2026
b919565
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
62a8314
chore: refresh org SBOM inventory
Nov 22, 2026
b1270c2
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
b013bf0
chore: refresh org SBOM inventory
Nov 22, 2026
89436f7
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
5b05cbe
chore: refresh org SBOM inventory
Nov 22, 2026
149a6bc
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
3153fed
chore: refresh org SBOM inventory
Nov 22, 2026
adb18c1
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
e16f32b
chore: refresh org SBOM inventory
Nov 22, 2026
19ccdff
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
5045ff4
chore: refresh org SBOM inventory
Nov 22, 2026
7f39fe3
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
85f819a
chore: refresh org SBOM inventory
Nov 22, 2026
ed5d170
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
8845ae5
chore: refresh org SBOM inventory
Nov 22, 2026
01ee48d
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
56e1206
chore: refresh org SBOM inventory
Nov 22, 2026
ef5eeb9
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
0ee645c
chore: refresh org SBOM inventory
Nov 22, 2026
3a4d35e
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
b552e27
chore: refresh org SBOM inventory
Nov 22, 2026
79599a3
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
df1b3fd
chore: refresh org SBOM inventory
Nov 22, 2026
402390a
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
626eeb7
chore: refresh org SBOM inventory
Nov 22, 2026
9685b40
chore: preserve SBOM inventory publication lineage
Nov 22, 2026
d5acdf7
chore: refresh org SBOM inventory
Nov 23, 2026
3e71343
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
2363995
chore: refresh org SBOM inventory
Nov 23, 2026
4768222
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
b51dc4b
chore: refresh org SBOM inventory
Nov 23, 2026
99b7727
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
c619e8a
chore: refresh org SBOM inventory
Nov 23, 2026
8b47a17
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
c8c0d1f
chore: refresh org SBOM inventory
Nov 23, 2026
dd2548f
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
f813e2a
chore: refresh org SBOM inventory
Nov 23, 2026
f3c08d7
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
63098a5
chore: refresh org SBOM inventory
Nov 23, 2026
0d25c8a
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
bf38426
chore: refresh org SBOM inventory
Nov 23, 2026
665f0ae
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
30f6e10
chore: refresh org SBOM inventory
Nov 23, 2026
ba6e254
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
738dc59
chore: refresh org SBOM inventory
Nov 23, 2026
355f5ed
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
b2f1f9a
chore: refresh org SBOM inventory
Nov 23, 2026
18f3cd3
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
5fd46ea
chore: refresh org SBOM inventory
Nov 23, 2026
1b9a87d
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
ee98a03
chore: refresh org SBOM inventory
Nov 23, 2026
8e25f0d
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
6d4aa6e
chore: refresh org SBOM inventory
Nov 23, 2026
455c0bc
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
6b14980
chore: refresh org SBOM inventory
Nov 23, 2026
17e79bb
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
b1a9fad
chore: refresh org SBOM inventory
Nov 23, 2026
2cc413c
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
a2703f1
chore: refresh org SBOM inventory
Nov 23, 2026
6c96b4b
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
a52acb2
chore: refresh org SBOM inventory
Nov 23, 2026
2775ba4
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
22810df
chore: refresh org SBOM inventory
Nov 23, 2026
74386b5
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
d7e5932
chore: refresh org SBOM inventory
Nov 23, 2026
a993806
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
aac5ea4
chore: refresh org SBOM inventory
Nov 23, 2026
c32009f
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
621242a
chore: refresh org SBOM inventory
Nov 23, 2026
c2f748e
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
f09ca05
chore: refresh org SBOM inventory
Nov 23, 2026
6664229
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
65c91d1
chore: refresh org SBOM inventory
Nov 23, 2026
a15041c
chore: preserve SBOM inventory publication lineage
Nov 23, 2026
e8e83e1
chore: refresh org SBOM inventory
Nov 24, 2026
9bcb04b
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
4e18860
chore: refresh org SBOM inventory
Nov 24, 2026
07ad25b
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
2fbbc2c
chore: refresh org SBOM inventory
Nov 24, 2026
c973381
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
6c97a60
chore: refresh org SBOM inventory
Nov 24, 2026
13f2458
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
c5f99e6
chore: refresh org SBOM inventory
Nov 24, 2026
1a9256d
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
fc7a7b4
chore: refresh org SBOM inventory
Nov 24, 2026
bc8477b
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
0626bf3
chore: refresh org SBOM inventory
Nov 24, 2026
8d3d6e8
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
66088f0
chore: refresh org SBOM inventory
Nov 24, 2026
0ee5278
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
905d6d1
chore: refresh org SBOM inventory
Nov 24, 2026
164d704
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
ac2f54c
chore: refresh org SBOM inventory
Nov 24, 2026
cda66c1
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
c2baa9a
chore: refresh org SBOM inventory
Nov 24, 2026
38edd66
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
ad1813f
chore: refresh org SBOM inventory
Nov 24, 2026
3ee59e3
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
6399079
chore: refresh org SBOM inventory
Nov 24, 2026
1075db4
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
9fa7891
chore: refresh org SBOM inventory
Nov 24, 2026
66ba49b
chore: preserve SBOM inventory publication lineage
Nov 24, 2026
7729d82
chore: refresh org SBOM inventory
Nov 25, 2026
e926c8d
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
0c23711
chore: refresh org SBOM inventory
Nov 25, 2026
8702e10
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
12914c9
chore: refresh org SBOM inventory
Nov 25, 2026
1351f69
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
59f4efe
chore: refresh org SBOM inventory
Nov 25, 2026
b8a9506
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
489d713
chore: refresh org SBOM inventory
Nov 25, 2026
8428d6a
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
8419bbd
chore: refresh org SBOM inventory
Nov 25, 2026
fc02dcb
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
6066bd4
chore: refresh org SBOM inventory
Nov 25, 2026
058fdb3
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
3d21ff5
chore: refresh org SBOM inventory
Nov 25, 2026
76100e8
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
fc5a8d0
chore: refresh org SBOM inventory
Nov 25, 2026
ae33caf
chore: preserve SBOM inventory publication lineage
Nov 25, 2026
3d769ff
chore: refresh org SBOM inventory
Nov 26, 2026
b7f3614
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
7540930
chore: refresh org SBOM inventory
Nov 26, 2026
076666d
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
64fa274
chore: refresh org SBOM inventory
Nov 26, 2026
fce9053
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
54ea6b5
chore: refresh org SBOM inventory
Nov 26, 2026
85eebc5
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
77254fe
chore: refresh org SBOM inventory
Nov 26, 2026
ddcb7dd
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
ff5d01d
chore: refresh org SBOM inventory
Nov 26, 2026
da25289
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
8a23565
chore: refresh org SBOM inventory
Nov 26, 2026
9b8b07c
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
8e5d13f
chore: refresh org SBOM inventory
Nov 26, 2026
214762f
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
e9524a2
chore: refresh org SBOM inventory
Nov 26, 2026
5f9e5fc
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
0240e3f
chore: refresh org SBOM inventory
Nov 26, 2026
666c4a8
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
5e8bfe2
chore: refresh org SBOM inventory
Nov 26, 2026
c514096
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
8e14ee3
chore: refresh org SBOM inventory
Nov 26, 2026
8f4c12e
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
b3be9f3
chore: refresh org SBOM inventory
Nov 26, 2026
e3d0640
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
3551556
chore: refresh org SBOM inventory
Nov 26, 2026
ef0cc96
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
2496a7b
chore: refresh org SBOM inventory
Nov 26, 2026
499bca8
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
b69d397
chore: refresh org SBOM inventory
Nov 26, 2026
07072b0
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
fee3a0f
chore: refresh org SBOM inventory
Nov 26, 2026
1506301
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
1aea865
chore: refresh org SBOM inventory
Nov 26, 2026
ecfd4f2
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
b4f9904
chore: refresh org SBOM inventory
Nov 26, 2026
7d70a48
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
b3eadc5
chore: refresh org SBOM inventory
Nov 26, 2026
280f797
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
b2f5725
chore: refresh org SBOM inventory
Nov 26, 2026
e1b2657
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
e1219d2
chore: refresh org SBOM inventory
Nov 26, 2026
ab2a738
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
edfe898
chore: refresh org SBOM inventory
Nov 26, 2026
b1a9a00
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
9f42929
chore: refresh org SBOM inventory
Nov 26, 2026
7171170
chore: preserve SBOM inventory publication lineage
Nov 26, 2026
fc6fb19
chore: refresh org SBOM inventory
Nov 27, 2026
17b44f1
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
a2d5d03
chore: refresh org SBOM inventory
Nov 27, 2026
0e9e75b
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
b2120d5
chore: refresh org SBOM inventory
Nov 27, 2026
56f56b7
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
219c038
chore: refresh org SBOM inventory
Nov 27, 2026
e55760f
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
a053a19
chore: refresh org SBOM inventory
Nov 27, 2026
6b75f4d
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
9a46c82
chore: refresh org SBOM inventory
Nov 27, 2026
f9100ce
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
a8897ce
chore: refresh org SBOM inventory
Nov 27, 2026
e6bcc50
chore: preserve SBOM inventory publication lineage
Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 5 additions & 3 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 2024-05-20 - Repository without UI Codebase
**Learning:** This repository is a GitHub organization profile consisting entirely of Markdown documentation and static assets, and does not contain an active UI or frontend application codebase.
**Action:** Since there is no UI, no UX enhancements can be applied. Aborting UX enhancements and PR creation as per instructions.
## 2026-09-29 - Product UI boundary confirmed

**Learning:** This repository owns the ContextualWisdomLab GitHub Actions control plane, including production CI scripts, tests, workflows, and documentation. It does not own an interactive product UI or frontend application.

**Action:** Do not invent product UI work in this repository. Improve the control-plane artifacts here and route reusable product UI work to its canonical product owner.
8 changes: 8 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Source validation only; labels do not attest runtime isolation.
self-hosted-runner:
labels:
- cwlab-ci-isolated
- cwlab-control
- cwl-hostile-workload
- selinux
- k-csap-isolated
76 changes: 66 additions & 10 deletions .github/actions/noema-review/two_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def prepare_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
return 0
expected_base = _canonical_base(pull_request)
actor = _reviewer_actor()
author = gate.require_distinct_pr_author(pull_request, actor)
if pull_request.get("isDraft"):
print("PR is draft; Noema verdict preparation skipped.")
return 0
Expand All @@ -167,16 +168,20 @@ def prepare_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
changed_files = gate.fetch_changed_files(repo, number)
changed_paths = tuple(file_path for file_path, _status in changed_files)
review_context = gate.build_review_context(repo, number, pull_request, changed_files)
verdict = gate.call_llm(
repo,
number,
pull_request,
diff,
truncated,
expected,
review_context,
changed_paths,
)
try:
verdict = gate.call_llm(
repo,
number,
pull_request,
diff,
truncated,
expected,
review_context,
changed_paths,
)
except gate.NoemaTransportError as exc:
_emit_transport_capacity_outputs(exc, expected_head=expected)
raise

_write_envelope(
path,
Expand All @@ -186,6 +191,8 @@ def prepare_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
"pull_request_number": number,
"expected_head": expected,
"expected_base": expected_base,
"reviewer_actor": actor,
"pull_request_author": author,
"verdict": verdict,
},
)
Expand All @@ -196,6 +203,45 @@ def prepare_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
return 0


def _emit_transport_capacity_outputs(
exc: gate.NoemaTransportError,
*,
expected_head: str,
) -> None:
"""Publish typed capacity evidence for the workflow's bounded re-dispatch step."""
retry_attempt = gate.current_transport_retry_attempt()
delay = gate.transport_redispatch_delay_seconds(
transport_retry_attempt=retry_attempt,
head_sha=expected_head,
retry_after_seconds=exc.retry_after_seconds,
)
eligible = bool(exc.capacity_unavailable and delay is not None)
outputs = {
"transport_capacity_unavailable": "true" if exc.capacity_unavailable else "false",
"transport_retry_eligible": "true" if eligible else "false",
"prepared": "false",
}
if type(exc.http_status) is int:
outputs["transport_http_status"] = str(exc.http_status)
if type(exc.provider_attempt_count) is int:
outputs["provider_attempt_count"] = str(exc.provider_attempt_count)
if delay is not None:
outputs["transport_retry_delay_seconds"] = str(delay)
outputs["transport_retry_next_attempt"] = str(retry_attempt + 1)
gate.append_github_output(outputs)
if eligible:
print(
"::notice::Noema provider capacity unavailable after gateway failover; "
f"bounded continuation re-dispatch is eligible in {delay}s "
f"(attempt {retry_attempt + 1}/{gate.MAX_TRANSPORT_REDISPATCH_ATTEMPTS})."
)
elif exc.capacity_unavailable:
print(
"::error::Noema provider capacity unavailable after gateway failover; "
"automatic re-dispatch budget is exhausted. Review remains required."
)


def publish_verdict(repo: str, number: int, expected_head: str, path: Path) -> int:
"""Publish a prepared verdict only with fresh exact-head/base reviewer authority."""
expected = _canonical_head(expected_head)
Expand All @@ -207,6 +253,8 @@ def publish_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
"pull_request_number",
"expected_head",
"expected_base",
"reviewer_actor",
"pull_request_author",
"verdict",
}
if set(payload) != required_keys:
Expand Down Expand Up @@ -234,6 +282,14 @@ def publish_verdict(repo: str, number: int, expected_head: str, path: Path) -> i
print("Pull request base advanced after model review; stale prepared verdict was not published.")
return 0
actor = _reviewer_actor(allow_refreshed_app=True)
author = gate.require_distinct_pr_author(current_pull_request, actor)
if payload["pull_request_author"] != author:
raise RuntimeError("Noema pull request author changed after verdict preparation")
reviewer_actor = payload["reviewer_actor"]
if not isinstance(reviewer_actor, str) or not reviewer_actor.strip():
raise RuntimeError("Noema prepared reviewer actor is invalid")
if reviewer_actor.strip().casefold() != actor.strip().casefold():
raise RuntimeError("Noema refreshed reviewer actor differs from verdict preparation")
if current_pull_request.get("isDraft"):
print("PR became draft after model review; prepared verdict was not published.")
return 0
Expand Down
11 changes: 9 additions & 2 deletions .github/actions/orchestrator-free-sidecar/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ inputs:
required: false
default: "false"
catalog_limit:
description: Maximum discovered route catalog size for the sidecar preflight.
description: Maximum discovered route catalog size for the sidecar preflight (a candidate list probed lazily to a readiness target, ADR-0029).
required: false
default: "12"
default: "24"
catalog_account_cap:
description: Maximum routes admitted from one credential account.
required: false
Expand All @@ -23,9 +23,16 @@ runs:
ref: ${{ github.action_ref }}
path: ${{ runner.temp }}/cwl-control-plane
persist-credentials: false
- name: Set up lock-compatible sidecar Python
id: sidecar_python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"
update-environment: false
- name: Provision contextual-orchestrator orchestrator/free
shell: bash --noprofile --norc -e -o pipefail {0}
env:
SIDECAR_PYTHON: ${{ steps.sidecar_python.outputs.python-path }}
CONTEXTUAL_ORCHESTRATOR_REQUIRE_ZDR: ${{ inputs.require_zdr }}
ORCHESTRATOR_CATALOG_LIMIT: ${{ inputs.catalog_limit }}
ORCHESTRATOR_CATALOG_ACCOUNT_CAP: ${{ inputs.catalog_account_cap }}
Expand Down
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/runner-images/law-ai-agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM ghcr.io/actions/actions-runner@sha256:e5496277be5d09bc968b3d64911b74e219ac4a3f2edce956a3ecf9271bea1ef4
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends postgresql-16 postgresql-client-16 libpq-dev python3-venv ca-certificates git curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
USER runner
WORKDIR /home/runner
57 changes: 57 additions & 0 deletions .github/workflows/actions-queue-health.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: GitHub Actions queue health

on:
schedule:
- cron: "7 * * * *"

concurrency:
group: github-actions-queue-health
cancel-in-progress: false

permissions:
contents: read
actions: read

jobs:
collect:
name: Collect exact-head queue evidence
runs-on:
group: ${{ (github.repository == 'ContextualWisdomLab/.github' && github.ref == 'refs/heads/main' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).group }}
labels: ${{ (github.repository == 'ContextualWisdomLab/.github' && github.ref == 'refs/heads/main' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).labels }}
timeout-minutes: 30
permissions:
contents: read
actions: read
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@b09bb98e06d4d774595224525879c09bc6e98c40 # v2.20.1
with:
egress-policy: audit

- name: Checkout trusted queue-health source
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Collect read-only repository and runner evidence
env:
GH_TOKEN: ${{ secrets.PR_REVIEW_MERGE_TOKEN || secrets.OPENCODE_APPROVE_TOKEN }}
run: |
if [ -z "${GH_TOKEN:-}" ]; then
echo "::error::PR_REVIEW_MERGE_TOKEN or OPENCODE_APPROVE_TOKEN is required for cross-repository queue reads."
exit 1
fi
echo "::add-mask::$GH_TOKEN"
python3 scripts/ci/actions_queue_health.py \
--allowlist config/actions_queue_health_repositories.json \
--output-json "$RUNNER_TEMP/actions-queue-health.json" \
--output-html "$RUNNER_TEMP/actions-queue-health.html"

- name: Upload queue-health evidence
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: github-actions-queue-health-${{ github.run_id }}
path: |
${{ runner.temp }}/actions-queue-health.json
${{ runner.temp }}/actions-queue-health.html
if-no-files-found: error
21 changes: 17 additions & 4 deletions .github/workflows/agent-mention-noema-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,29 @@ on:
repository_dispatch:
types: [agent-mention-noema]

concurrency:
# Workflow-level admission, for the same reason strix.yml, noema-review.yml,
# opencode-review.yml and opencode-review-dispatch.yml carry theirs at this level:
# a job-level group is never evaluated while the whole run waits behind the
# organization job ceiling, so a superseded mention keeps its queue slot until a
# runner frees up and only then cancels. At workflow level the older run is
# coalesced while both are still queued, which is where the slot is actually held.
# This workflow has a single job, so the group lives here and nowhere else --
# every workflow in this repository that carries a group at both levels
# (strix.yml, opencode-review-dispatch.yml) gives the two levels DIFFERENT names,
# because a job requesting the group its own run already holds would wait on itself.
group: agent-mention-noema-${{ github.event.client_payload.target_repository }}-${{ github.event.client_payload.pr_number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
validate-and-forward:
if: github.repository == 'ContextualWisdomLab/.github'
concurrency:
group: agent-mention-noema-${{ github.event.client_payload.target_repository }}-${{ github.event.client_payload.pr_number || github.run_id }}
cancel-in-progress: true
runs-on: ubuntu-24.04
runs-on:
group: ${{ (github.repository == 'ContextualWisdomLab/.github' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).group }}
labels: ${{ (github.repository == 'ContextualWisdomLab/.github' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).labels }}
timeout-minutes: 5
permissions:
actions: read
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/agent-mention-opencode-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,29 @@ on:
repository_dispatch:
types: [agent-mention-opencode]

concurrency:
# Workflow-level admission, for the same reason strix.yml, noema-review.yml,
# opencode-review.yml and opencode-review-dispatch.yml carry theirs at this level:
# a job-level group is never evaluated while the whole run waits behind the
# organization job ceiling, so a superseded mention keeps its queue slot until a
# runner frees up and only then cancels. At workflow level the older run is
# coalesced while both are still queued, which is where the slot is actually held.
# This workflow has a single job, so the group lives here and nowhere else --
# every workflow in this repository that carries a group at both levels
# (strix.yml, opencode-review-dispatch.yml) gives the two levels DIFFERENT names,
# because a job requesting the group its own run already holds would wait on itself.
group: agent-mention-opencode-${{ github.event.client_payload.target_repository }}-${{ github.event.client_payload.pr_number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
validate-and-forward:
if: github.repository == 'ContextualWisdomLab/.github'
concurrency:
group: agent-mention-opencode-${{ github.event.client_payload.target_repository }}-${{ github.event.client_payload.pr_number || github.run_id }}
cancel-in-progress: true
runs-on: ubuntu-24.04
runs-on:
group: ${{ (github.repository == 'ContextualWisdomLab/.github' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).group }}
labels: ${{ (github.repository == 'ContextualWisdomLab/.github' && endsWith(github.workflow_ref, '@refs/heads/main') && fromJSON('{"group":"CWL MCP remediation","labels":["self-hosted","linux","x64"]}') || fromJSON('{"group":"CWL CI isolated","labels":["self-hosted","linux","x64","cwlab-ci-isolated"]}')).labels }}
timeout-minutes: 5
permissions:
actions: read
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/agent-mention-router-quality-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ on:
- "scripts/ci/agent_mention_sweep.py"
- "tests/test_agent_mention_*.py"
- "tests/test_pr_review_fix_scheduler_coverage.py"
- "requirements-opencode-review-ci.txt"
- "requirements-noema-document-ci.txt"
- "requirements-opencode-review-ci-hashes.txt"
- "scripts/ci/compile_opencode_review_lock.sh"
push:
branches: [main]
paths:
Expand All @@ -26,7 +29,10 @@ on:
- "scripts/ci/agent_mention_sweep.py"
- "tests/test_agent_mention_*.py"
- "tests/test_pr_review_fix_scheduler_coverage.py"
- "requirements-opencode-review-ci.txt"
- "requirements-noema-document-ci.txt"
- "requirements-opencode-review-ci-hashes.txt"
- "scripts/ci/compile_opencode_review_lock.sh"

concurrency:
group: agent-mention-router-quality-${{ github.repository }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -40,7 +46,9 @@ env:

jobs:
quality:
runs-on: ubuntu-24.04
runs-on:
group: CWL CI isolated
labels: [self-hosted, linux, x64, cwlab-ci-isolated]
timeout-minutes: 20
steps:
- name: Harden runner
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/agent-mention-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
concurrency:
group: review-agent-mention-router-local-${{ github.repository }}-${{ github.event.issue.number || github.run_id }}
cancel-in-progress: true
runs-on: ubuntu-24.04
runs-on:
group: CWL central control
labels: [self-hosted, linux, x64]
timeout-minutes: 5
permissions:
actions: read
Expand Down Expand Up @@ -74,7 +76,9 @@ jobs:
concurrency:
group: review-agent-mention-router-sweep-${{ github.repository }}
cancel-in-progress: false
runs-on: ubuntu-24.04
runs-on:
group: CWL central control
labels: [self-hosted, linux, x64]
timeout-minutes: 15
permissions:
actions: read
Expand Down
Loading