Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
dae135e
Add fail-closed Account tenant identity readback for runtime authority
benhook1013 Sep 26, 2026
a05f28c
Align tenant identity resolver with Account validation gate
benhook1013 Sep 26, 2026
218216c
Add Account authority generation storage primitive
benhook1013 Sep 26, 2026
2da66b7
Add bounded Gateway context signature primitive and fix Account DB fi…
benhook1013 Sep 26, 2026
551e998
Persist exact public JOIN role snapshots and fence reconciliation
benhook1013 Sep 26, 2026
bcbf347
Keep JOIN reconciliation PostgreSQL fixtures valid with role snapshots
benhook1013 Sep 26, 2026
62fe767
Bind Account-minted JWTs to canonical issuer
benhook1013 Sep 26, 2026
b6a015f
Add shared RFC 8785 canonical JSON primitive
benhook1013 Sep 26, 2026
6c5a30c
Initialize Account authority for new registrations
benhook1013 Sep 26, 2026
1bf44c5
Add Account authority outbox foundation and issuer enrollment
benhook1013 Sep 26, 2026
b443233
Enroll approved tenant authority and repair issuer fixture
benhook1013 Sep 26, 2026
4d25981
Define canonical Account authority event digest and vectors
benhook1013 Sep 26, 2026
29f5ddd
Enroll retained Account authority pairs and repair PostgreSQL fixture
benhook1013 Sep 26, 2026
19cbf6e
Assert retained Account migration failure through Flyway message
benhook1013 Sep 26, 2026
90642e5
Compose Account JOIN authority events and isolate response envelopes
benhook1013 Sep 26, 2026
5da143c
Repair JOIN PostgreSQL fixtures and clarify authority status
benhook1013 Sep 26, 2026
ecd8da8
Establish Account membership pair authority and issuance storage
benhook1013 Sep 26, 2026
38316d7
Correct membership pair migration and retry proof
benhook1013 Sep 26, 2026
cf7dbe2
Preserve Account reconciliation diagnostics after evidence reads
benhook1013 Sep 26, 2026
543685e
Format Account authority read contract
benhook1013 Sep 26, 2026
dadb9c2
Add protected-source Account envelope ring materializer candidate
benhook1013 Sep 26, 2026
df5bda0
Bind Account envelope source lineage and harden absence evidence
benhook1013 Sep 26, 2026
420c418
Add one-time Account ring source bootstrap and align event handoff
benhook1013 Sep 26, 2026
774356d
Add protected Account envelope ring source rotation candidate
benhook1013 Sep 26, 2026
7afe966
Record Account ring rotation and exact-head proof limits
benhook1013 Sep 26, 2026
ff705ba
Merge reconciled Unit 1B parent into runtime authority
benhook1013 Sep 26, 2026
389a5dc
Clarify never-joined evidence and separate checkpoint source proof
benhook1013 Sep 26, 2026
c034888
Converge membership authority event version to tenant map
benhook1013 Sep 26, 2026
04988ae
Bind Account ring materializer to protected workload identity
benhook1013 Sep 26, 2026
c75fbb9
Specify fresh tenant identity handoff without legacy manifest reuse
benhook1013 Sep 26, 2026
1781c03
Align Session membership event consequences with version map
benhook1013 Sep 26, 2026
ca14247
Prove malformed authority readback without mutating V33 history
benhook1013 Sep 26, 2026
7dd1a0d
Format membership authority codec for full gate
benhook1013 Sep 26, 2026
38ac1c5
Merge branch 'codex/unit-1b-pre-v1-implementation' into codex/unit-1b…
benhook1013 Sep 27, 2026
1c0c2e5
Keep authority event closed and bind separate checkpoint evidence
benhook1013 Sep 27, 2026
b82ed1b
feat(account): bind ring materialization to typed readback receipt
benhook1013 Sep 27, 2026
0b5f990
Verify typed Account ring receipt bindings before handoff
benhook1013 Sep 27, 2026
df4d881
Merge current Unit 1B parent and guard connect issuance replay storage
benhook1013 Sep 28, 2026
1548068
Classify committed JOIN authority contradictions as denial
benhook1013 Sep 28, 2026
f238f52
Clarify membership authority carrier versus Account source counter
benhook1013 Sep 29, 2026
a9e43db
Reconcile Account authority child with current admission parent
benhook1013 Sep 29, 2026
9aaf309
Carry corrected admission parent into Account authority child
benhook1013 Sep 29, 2026
8a85ecd
Merge corrected membership bridge parent into runtime authority
benhook1013 Sep 29, 2026
83b0f19
Merge commit '1e9be76e2' into codex/2876-reconcile-prep
benhook1013 Sep 30, 2026
12a732d
Preserve concurrent connect issuance and exact response recovery proof
benhook1013 Sep 30, 2026
b2796c0
Prepare verified pair authority for fenced runtime snapshots
benhook1013 Sep 30, 2026
c98b1f9
Record pair snapshot preparation and its proof limits
benhook1013 Sep 30, 2026
7215fe9
Compare immutable membership event readback by canonical content
benhook1013 Sep 30, 2026
5352628
Record exact publication barrier before CI dispatch
benhook1013 Sep 30, 2026
7258a6b
Prove Account authority exhaustion rolls back caller state and outbox
benhook1013 Sep 30, 2026
a863854
Fix exhaustion fixture bounds and deferred trigger setup
benhook1013 Sep 30, 2026
8491c80
Preserve source custody and tighten issuance regression proof
benhook1013 Oct 3, 2026
c3361de
Verify materializer identity before every Secret access
benhook1013 Oct 3, 2026
6587653
Deny live ring delivery without independently trusted cluster binding
benhook1013 Oct 3, 2026
576655d
Reconcile Unit 1B authority with reviewed Account parent
benhook1013 Oct 3, 2026
78c8a3e
Preserve reviewed migration and replay fixes in authority child
benhook1013 Oct 3, 2026
df0ca75
Reconcile mode-specific tenant migration credentials from Account parent
benhook1013 Oct 3, 2026
7b1d9e0
Allow Validation for stacked pull requests
benhook1013 Oct 4, 2026
118721f
Carry forward reviewed CI safety corrections
benhook1013 Oct 5, 2026
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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
types: [opened, synchronize, reopened, edited]
workflow_dispatch:

Expand Down Expand Up @@ -1016,7 +1015,7 @@ jobs:
contents: read
pull-requests: write
needs: [buf-check, docker-lint, shellcheck, python-script-validation, dev-tool-contract-checks, dev-tools-readme-contract, yaml-lint, metrics-cardinality-check, flyway-migration-sanity-checks, grpc-transport-config-sanity-checks, workflow-lint, helm-lint, helm-render-validation, helm-transaction-proof, docs-check, frontend-checks, build-and-test, validation-gate]
if: ${{ always() && github.event_name == 'pull_request' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
steps:
- name: Harden runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-pr-runtime-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ jobs:
fail("source workflow run API id does not match the event")
if source_run.get("workflow_id") != int(workflow_id_text):
fail("source workflow identity changed between event and API")
if source_run.get("name") != source_title:
fail("source workflow API name differs from its exact run title")
if source_run.get("name") not in {"Build Runtime Images", source_title}:
fail("source workflow API name is neither its owning name nor exact run title")
if source_run.get("path") != SOURCE_WORKFLOW_PATH:
fail("source workflow API path is not the trusted runtime-images workflow")
if source_run.get("event") != source_event:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:
uses: ./.github/actions/setup-trivy

- name: 🔍 Run Trivy and Save Report
shell: bash
run: |
echo "::group::Run Trivy"
trivy fs --config config/security/trivy.yaml . | tee trivy-report.txt
Expand Down Expand Up @@ -207,7 +208,7 @@ jobs:
contents: read
pull-requests: write # Publishes the consolidated security result on the PR.
needs: [changes, trivy-scan, secret-compliance, security-gate]
if: ${{ always() && github.event_name == 'pull_request' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
steps:
- name: Harden runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5
Expand Down
51 changes: 48 additions & 3 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
".github/actions/load-workflow-tool-versions/",
".github/actions/setup-python/",
"dev-tools/smoke/",
"dev-tools/minio/",
];
const fullRelevantFiles = new Set([
"build.gradle.kts",
Expand Down Expand Up @@ -145,7 +146,7 @@ jobs:
contents: read
pull-requests: write
needs: [changes]
if: ${{ always() && github.event_name == 'pull_request' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
steps:
- name: Harden runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5
Expand Down Expand Up @@ -198,6 +199,26 @@ jobs:
`- ${statusIcon(fullResult)} PR Full-Stack Smoke: \`${fullResult}\``,
].join("\n");

const expectedHeadSha = context.payload.pull_request.head.sha;
const expectedBaseRef = context.payload.pull_request.base.ref;
const expectedBaseSha = context.payload.pull_request.base.sha;
const { data: currentPullRequest } = await github.rest.pulls.get({
...context.repo,
pull_number: context.issue.number,
});
if (
currentPullRequest.state !== "open" ||
currentPullRequest.head.sha !== expectedHeadSha ||
currentPullRequest.base.ref !== expectedBaseRef ||
currentPullRequest.base.sha !== expectedBaseSha
) {
core.info(
`Skipping stale smoke summary for ${expectedBaseRef}@${expectedBaseSha}...${expectedHeadSha}; ` +
`current PR state/base/head is ${currentPullRequest.state}/${currentPullRequest.base.ref}@${currentPullRequest.base.sha}/${currentPullRequest.head.sha}`
);
return;
}

const comments = await github.paginate(
github.rest.issues.listComments,
{
Expand Down Expand Up @@ -277,7 +298,7 @@ jobs:
contents: read
pull-requests: write
needs: [changes, smoke-gate, smoke-summary-pending]
if: ${{ always() && github.event_name == 'pull_request' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && (github.event.action != 'edited' || github.event.changes.base.ref != null) }}
steps:
- name: Harden runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5
Expand Down Expand Up @@ -334,6 +355,26 @@ jobs:
`- ${statusIcon(fullResult)} PR Full-Stack Smoke: \`${fullResult}\``,
].join("\n");

const expectedHeadSha = context.payload.pull_request.head.sha;
const expectedBaseRef = context.payload.pull_request.base.ref;
const expectedBaseSha = context.payload.pull_request.base.sha;
const { data: currentPullRequest } = await github.rest.pulls.get({
...context.repo,
pull_number: context.issue.number,
});
if (
currentPullRequest.state !== "open" ||
currentPullRequest.head.sha !== expectedHeadSha ||
currentPullRequest.base.ref !== expectedBaseRef ||
currentPullRequest.base.sha !== expectedBaseSha
) {
core.info(
`Skipping stale smoke summary for ${expectedBaseRef}@${expectedBaseSha}...${expectedHeadSha}; ` +
`current PR state/base/head is ${currentPullRequest.state}/${currentPullRequest.base.ref}@${currentPullRequest.base.sha}/${currentPullRequest.head.sha}`
);
return;
}

const comments = await github.paginate(
github.rest.issues.listComments,
{
Expand Down Expand Up @@ -476,7 +517,11 @@ jobs:
const eventMergeSha = context.sha;
const prNumber = String(context.payload.pull_request.number);
const started = Date.now();
const timeoutMs = 25 * 60 * 1000;
// Contract-checked against pr-local-smoke; bounded overhead covers metadata,
// runner scheduling and API convergence, not unbounded queue delays.
const producerTimeoutMinutes = 45;
const prerequisiteAndQueueAllowanceMinutes = 45;
const timeoutMs = (producerTimeoutMinutes + prerequisiteAndQueueAllowanceMinutes) * 60 * 1000;
const cancelledReplacementTimeoutMs = 5 * 60 * 1000;
const sleepMs = 15000;
const pullRequestCheckInterval = 4;
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/static-analysis-summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
if (
currentPullRequest.state !== "open" ||
!sourceWorkflowName ||
context.payload.workflow_run.name !== expectedSourceTitle ||
(context.payload.workflow_run.name !== sourceWorkflowName &&
context.payload.workflow_run.name !== expectedSourceTitle) ||
context.payload.workflow_run.display_title !== expectedSourceTitle
) {
core.info("The source run is not bound to the current open pull-request base and head.");
Expand Down
Loading
Loading