Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ac71ec7
Bind launch descriptors to authenticated authored source and immutabl…
benhook1013 Oct 3, 2026
4a6c20e
Merge corrected canonical JOIN checkpoint into authored launch binding
benhook1013 Oct 3, 2026
057f92f
fix(game-design): convert immutable launch descriptor readback types
benhook1013 Oct 3, 2026
9447e0e
feat(world): retain authenticated authored-source intake evidence
benhook1013 Oct 3, 2026
31e7faa
test: verify translated authored-owner PostgreSQL rejections
benhook1013 Oct 3, 2026
73ab357
ci: preserve independent authored-source proof and exact failure evid…
benhook1013 Oct 3, 2026
9e9e8d6
Add canonical JOIN terminal storage and exact recovery proof
benhook1013 Oct 3, 2026
8cc77dc
Merge commit '73ab357d694618a56c65129394fd324b38ad652e' into codex/un…
benhook1013 Oct 3, 2026
a0f4ee8
Record canonical JOIN recovery boundary and executed launch proof
benhook1013 Oct 3, 2026
00285d5
Add authenticated World intake transport and repair canonical JOIN proof
benhook1013 Oct 3, 2026
202c58f
Fix canonical JOIN diagnostic recovery and Game Session intake transa…
benhook1013 Oct 3, 2026
ab0b055
Authenticate authored-world servers before sending requests
benhook1013 Oct 3, 2026
93eb0c3
Merge canonical JOIN parent into source-bound launch without identity…
benhook1013 Oct 4, 2026
bce1da9
Merge commit 'e72796326131be7295261eb181c93cc89908fcff' into codex/un…
benhook1013 Oct 4, 2026
045e712
Pin composed migration incident to its exact CI run
benhook1013 Oct 4, 2026
1261eb9
Merge commit 'e5b0ab35a48ce125efb12788fa7edac1745830a1' into codex/un…
benhook1013 Oct 4, 2026
6d000ee
Merge commit 'b33c91402271ba5c1c200cbf028412525bd9c790' into codex/un…
benhook1013 Oct 4, 2026
e8f97ba
Allow Validation for stacked pull requests
benhook1013 Oct 4, 2026
0505219
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
183 changes: 178 additions & 5 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

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
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ Appending a canonical receipt requires an actual read-write Account owner transa

Account's canonical tenant audit uses the version-qualified UUID envelope of [Logging & Admin's ingress and receipt owner](../logging-admin-service/api-contracts.md#account-audit-ingress-and-receipt) through the existing outbox and RPCs. Account preserves exact retained numeric/platform envelope history and never invents a numeric alias for a fresh canonical tenant. The producer must compare the exact typed identity in delivery/readback before persisting terminal delivery evidence. A successful canonical JOIN must append that immutable outbox envelope in the same owner transaction as its membership, role snapshot, authority event, provisional receipt and operation outcome; implementing the audit carrier alone is not positive JOIN or admission proof.

The canonical `ACCOUNT_JOINED_PUBLIC_PRODUCTION` payload retains the closed JOIN field set in this serialization order: `accountId`, `tenantId`, `worldSlug`, `realmSlug`, `membershipVersion`, `requestId`. Account and tenant values are their exact canonical UUID strings; `membershipVersion` is the exact one-tenant map whose sole key is that tenant UUID and whose value is the canonical decimal-string version from the committed membership. The stable audit identity remains `UUID.nameUUIDFromBytes` over UTF-8 `account-join-audit/v1:` followed by the exact JOIN request ID; the identity prefix does not select the envelope's tenant representation. Producer and recovery compare the original payload bytes and digest, not a reserialized equivalent or a scalar membership-version substitute. Retained version-1 payload bytes are not rewritten.

Canonical abandoned-intent reconciliation is readback-only. Under the Account and operation fences it must prove the exact immutable scope/source and policy-bound intent, committed membership and role snapshot, provisional transition receipt, tenant audit bytes, and matching authority event/checkpoint before recording a terminal outcome. An expired retained scope blocks new JOIN work but does not invalidate exact prior-commit evidence; a later unavailable policy-attempt diagnostic is retained and cannot erase the earlier bound policy or substitute for current authorization. Missing or contradictory evidence remains `PENDING`, with bounded attempt diagnostics. A bad source in one candidate must not prevent independent candidates from being checked. Reaching the automatic-attempt cap does not prove failure and does not remove the existing exact readback recovery obligation. This component supplies no caller authorization, membership creation, policy reevaluation, admission or runtime activation.

### Current vs Target Export Lifecycle

The current `GET /accounts/{accountId}/export` route is a synchronous Account/profile-local read. Direct account-ID `ExportAccount` gRPC and the legacy account-targeted tenant-export REST/service and gRPC entries deny before data access. The local Account read has no cross-service required-owner fan-in and does not satisfy ADR 0050; none of these current surfaces may be described as a complete portable-data or tenant-admin export.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Account owns platform identity, hosted Creator Party/operator and terms currentn

## Implementation Status

The local V45 candidate widens the existing membership and role storage, rather than creating a second authority family. Retained numeric rows remain unbridged history with unchanged state, counters and receipt/event bytes. Canonical writes require the exact persisted Account UUID and existing immutable fresh or approved-retained tenant source; fresh membership has a canonical tenant UUID and no numeric alias. Typed source/provenance facts alone are not authentication. This foundation does not yet implement canonical scope persistence, positive fresh JOIN, event/audit/reconciliation or an enabled runtime RPC. The [canonical JOIN encoding](./api-contracts.md#canonical-uuid-join-evidence) belongs to the API owner; component status and required producer/consumer proof remain in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md).
Canonical UUID membership, scope, journal, receipt, audit and event components widen the existing Account-owned families without rewriting retained history or inventing numeric aliases. Their readback-only reconciliation is not a public JOIN producer or fresh caller authorization. Complete authenticated current-target/entitlement composition and positive JOIN proof remain required; runtime paths stay denied. The [canonical JOIN contract](./api-contracts.md#canonical-uuid-join-evidence) belongs to the API owner, and component capability, executed proof and remaining gaps belong to [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md).

Profile mapping receives the exact provenance-checked Account UUID explicitly rather than treating an ID-only profile relation as identity evidence. Numeric foreign keys stay private and retained rows are unchanged; reads, updates and local export verify exact Account/profile ownership. Proof and the separate tenant-qualified/delegated and Social Groups gaps remain in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md).

Expand Down
Loading
Loading