Skip to content

Commit 615df1b

Browse files
author
nate
committed
Merge current main and restore canonical public records
Preserve the active backlog and upstream audit ledger at their canonical root paths. Keep upstream-sync references valid and remove local operator, workspace, and terminal identifiers from tracked docs.
2 parents 9312ab2 + 27b731c commit 615df1b

149 files changed

Lines changed: 15559 additions & 4942 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.codebase-memory.json‎

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,82 @@
99
"rules": [
1010
{
1111
"id": "harness",
12-
"paths": ["tests/test_framework.h", "tests/test_helpers.*", "tests/test_main.c"],
12+
"paths": [
13+
"tests/test_framework.h",
14+
"tests/test_helpers.*",
15+
"tests/test_main.c"
16+
],
1317
"action": "run_all"
1418
},
1519
{
1620
"id": "engine",
17-
"paths": [".codebase-memory.json", "src/mcp/test_impact*", "src/store/store_impact.*"],
21+
"paths": [
22+
".codebase-memory.json",
23+
"src/operations/test_impact*",
24+
"src/store/store_impact.*",
25+
"scripts/test-impact/**",
26+
"scripts/ci/test-impact-*"
27+
],
1828
"action": "run_all"
1929
},
2030
{
2131
"id": "build",
22-
"paths": ["scripts/**", "test-infrastructure/**", "pkg/**"],
32+
"paths": [
33+
"scripts/**",
34+
"test-infrastructure/**",
35+
"pkg/**",
36+
"/.gitattributes"
37+
],
2338
"action": "run_all"
2439
},
2540
{
2641
"id": "grammars",
27-
"paths": ["internal/cbm/vendored/**"],
42+
"paths": [
43+
"internal/cbm/vendored/**"
44+
],
2845
"action": "run_all"
2946
},
3047
{
3148
"id": "fixtures",
32-
"paths": ["tests/fixtures/*/**"],
49+
"paths": [
50+
"tests/fixtures/*/**"
51+
],
3352
"action": "referencing_tests",
3453
"key": "path_segment:2"
3554
},
3655
{
3756
"id": "contracts",
38-
"paths": ["tests/**/*.{sh,py,json,txt}"],
57+
"paths": [
58+
"tests/**/*.{sh,py,json,txt,ps1}"
59+
],
3960
"action": "ignore"
4061
},
4162
{
4263
"id": "notices",
43-
"paths": ["NOTICE*", "CHANGELOG*", "THIRD_PARTY*"],
64+
"paths": [
65+
"NOTICE*",
66+
"CHANGELOG*",
67+
"THIRD_PARTY*"
68+
],
4469
"action": "ignore"
70+
},
71+
{
72+
"id": "repo-data",
73+
"paths": [
74+
"scripts/**",
75+
"pkg/**",
76+
"test-infrastructure/**",
77+
"docs/**",
78+
"**/*.md",
79+
"graph-ui/**",
80+
"tools/**",
81+
"tests/fuzz/corpus/**",
82+
"/{.clang-format,.clang-tidy,.cppcheck,.gitignore,.gitleaksignore,DCO,Formula}",
83+
"/{flake.lock,flake.nix,glama.json,install.ps1,install.sh,server.json}"
84+
],
85+
"action": "referencing_tests",
86+
"key": "path",
87+
"unreferenced": "ignore"
4588
}
4689
],
4790
"unmapped_files": "run_all",

‎.github/CI_POLICY.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GitHub Actions policy — Jenkins is the CI authority
2+
3+
This fork deliberately delegates automatic builds, tests, lint, security audits,
4+
soak tests, benchmarks, and release qualification to **Jenkins**.
5+
6+
GitHub-hosted workflows must use **only** `workflow_dispatch` (operator-initiated)
7+
or `workflow_call` (reusable by a manually dispatched workflow) as events.
8+
No `push`, `pull_request`, `pull_request_target`, `schedule`, `issues`,
9+
`workflow_run`, or other automatic Actions events are allowed.
10+
11+
* Jenkins installs the pinned CI Python tools, then runs
12+
`scripts/ci/check-github-actions-policy.py` and its focused self-tests.
13+
The guard parses YAML and rejects duplicate top-level `on` or trigger keys,
14+
anchors, aliases, merge keys, explicit document markers/directives and tags. It
15+
accepts block or flow mappings but permits only `workflow_dispatch` and
16+
`workflow_call` under the workflow's top-level `on` key.
17+
* The GitHub release/promotion workflows are retained as **manual-only**
18+
fallback/publishing operations. They can consume Actions minutes when started.
19+
* CodeQL, GitHub Pages, smoke/soak and repro workflows remain manual-only;
20+
GitHub Pages will **not** update automatically after merges.
21+
* The cost-intensive PR matrix and weekly test-impact artifact producer have
22+
been removed. Use Jenkins for automatic PR checks and qualification evidence.
23+
* Upstream merges may reintroduce workflows: adapt or remove their triggers
24+
before accepting a synchronization PR. This policy is part of the release gate.
25+
* No GitHub Actions workflow should be used for automatic upstream synchronization.
26+
Monitoring may be external; any proposed integration remains a reviewable PR.
27+
28+
To eliminate even manual GitHub Actions usage, disable Actions in the repository's
29+
**Settings → Actions → General**; that also disables the manual release and
30+
Pages deployment workflows.

‎.github/scancode-constraints.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Constraints for the ScanCode install of the license gate (PIP_CONSTRAINT).
2+
# pluggy 1.7.0 (2026-10-15) no longer finds plugincode 32.0.0's class-level
3+
# hookspecs: scancode then crashes at import with "did not find any
4+
# 'pre_scan' hooks" and the gate fails on every run.
5+
pluggy==1.6.0

‎.github/workflows/_test.yml‎

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
type: string
3030
default: all
3131
test_selection:
32-
description: 'PR test selection (smart CI): the artifact the select-tests job uploaded; the test-unix and test-windows legs run only its tests. Empty = every test (dry run, release, and any PR the selection does not narrow)'
32+
description: 'PR test selection (smart CI): the artifact the select-tests job uploaded; the Linux x86_64 test-unix leg runs only its tests, the arm64, macOS and Windows legs run every test. Empty = every test (dry run, release, and any PR the selection does not narrow)'
3333
type: string
3434
default: ''
3535

@@ -237,7 +237,11 @@ jobs:
237237
ccache-test-${{ matrix.os }}-${{ matrix.cc }}-
238238
239239
- name: Fetch the test selection
240-
if: ${{ inputs.test_selection != '' }}
240+
# Only the Linux x86_64 leg narrows (user decision 2026-10-16): the
241+
# coverage that justifies an omission comes from the Linux x86_64
242+
# producer, so arm64, macOS and Windows code under #ifdef has static
243+
# evidence only and those legs run every test.
244+
if: ${{ inputs.test_selection != '' && runner.os == 'Linux' && runner.arch == 'X64' }}
241245
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
242246
with:
243247
name: ${{ inputs.test_selection }}
@@ -249,7 +253,7 @@ jobs:
249253
CBM_TEST_SHARD: ${{ matrix.shard }}
250254
CBM_TEST_LEG: ${{ matrix.os }}-${{ matrix.cc }}
251255
CBM_SKIP_PERF: ${{ inputs.skip_perf && '1' || '' }}
252-
CBM_TEST_SELECTION_DIR: ${{ inputs.test_selection != '' && format('{0}/test-selection', runner.temp) || '' }}
256+
CBM_TEST_SELECTION_DIR: ${{ inputs.test_selection != '' && runner.os == 'Linux' && runner.arch == 'X64' && format('{0}/test-selection', runner.temp) || '' }}
253257
CCACHE_DIR: ${{ github.workspace }}/.ccache
254258
CCACHE_MAXSIZE: 1500M
255259

@@ -580,9 +584,8 @@ jobs:
580584
CCACHE_DIR: ${{ github.workspace }}/.ccache
581585

582586
test-windows:
583-
if: ${{ inputs.platforms != 'linux' }}
584587
needs: setup-matrix
585-
if: ${{ needs.setup-matrix.outputs.has_windows == 'true' }}
588+
if: ${{ inputs.platforms != 'linux' && needs.setup-matrix.outputs.has_windows == 'true' }}
586589
strategy:
587590
fail-fast: false
588591
matrix: ${{ fromJSON(needs.setup-matrix.outputs.windows) }}
@@ -633,13 +636,6 @@ jobs:
633636
ccache-test-${{ matrix.os }}-${{ matrix.msystem }}-${{ github.ref }}-
634637
ccache-test-${{ matrix.os }}-${{ matrix.msystem }}-
635638
636-
- name: Fetch the test selection
637-
if: ${{ inputs.test_selection != '' }}
638-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
639-
with:
640-
name: ${{ inputs.test_selection }}
641-
path: ${{ runner.temp }}/test-selection
642-
643639
- name: Test
644640
shell: msys2 {0}
645641
# AddressSanitizer is unavailable on native ARM64 Windows (LLVM ships no
@@ -667,7 +663,8 @@ jobs:
667663
CBM_TEST_SHARD: ${{ matrix.shard }}
668664
CBM_TEST_LEG: ${{ matrix.os }}-${{ matrix.msystem }}
669665
CBM_SKIP_PERF: ${{ inputs.skip_perf && '1' || '' }}
670-
CBM_TEST_SELECTION_DIR: ${{ inputs.test_selection != '' && format('{0}/test-selection', runner.temp) || '' }}
666+
# Windows legs run every test: see the Linux x86_64-only fetch in test-unix.
667+
CBM_TEST_SELECTION_DIR: ''
671668
CCACHE_DIR: ${{ github.workspace }}/.ccache
672669
CCACHE_MAXSIZE: 1500M
673670

‎.github/workflows/cache-warm.yml‎

Lines changed: 0 additions & 123 deletions
This file was deleted.

‎.github/workflows/codeql.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: CodeQL SAST
22

3+
# Security scanning is available only on explicit operator request.
4+
# Jenkins owns automatic builds, tests and security checks.
35
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
6+
workflow_dispatch:
87

98
permissions:
109
contents: read

‎.github/workflows/fast-repro.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# 5-platform ASan board. The full bug-repro.yml board remains the comprehensive
44
# all-platform check; this is just the fast inner loop.
55
#
6-
# Trigger: workflow_dispatch, or push to a qa/fast-** branch. Non-gating.
6+
# Trigger: manual workflow_dispatch only. Jenkins owns automated testing.
77
name: Fast Repro
88

99
on:
@@ -13,8 +13,6 @@ on:
1313
description: 'Comma list of suite-name substrings to run (empty = all)'
1414
type: string
1515
default: ''
16-
push:
17-
branches: ['qa/fast-**']
1816

1917
permissions:
2018
contents: read

0 commit comments

Comments
 (0)