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
2 changes: 1 addition & 1 deletion .github/ci/delivery-v13-policy.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"schema_version":1,"scope":"sql-register-v13","enabled":false}
{"schema_version":1,"scope":"sql-register-v13","enabled":true}
104 changes: 75 additions & 29 deletions .github/ci/delivery-v13.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
# Staged v1.3 delivery: disabled
# Reviewed initial v1.3 test-only delivery

`delivery-v13-policy.json` is **false**. The existing claude-current scope is
unchanged. v1.3 ordinary PR/main CI remains full. The separate manual queue is
configured but no member is admitted by this source change. The shadow observer still cannot grant skips,
qualification, admission or merge authority.
This source sets `delivery-v13-policy.json` to **true** for the exact registered
P05/P06 pair only. Check the actual default-branch policy after the separately
reviewed code PR merges; a private branch, spec merge or enabled flag alone is
not omission/admission authority or a live acceptance receipt. Existing
claude-current behavior is unchanged. All other v1.3 work retains full CI.
The shadow observer still cannot grant skips, qualification, admission or merge
authority, and its own `efficiency_enabled` remains false.

## Prepared proof boundary
## Trusted proof boundary

The new delivery-specific validator reads the immutable P03/P05 projection but
does not consume shadow observations. Under a separately approved future
enablement it requires all of:
The delivery-specific validator reads the immutable P05/P06 registry data,
never shadow observations. Under the approved staged rollout it requires all of:

- P01 #88 at its exact projected head, actually merged into main, with the
frozen required-PostgreSQL workflow/baseline and unchanged foundation files
and empty P01 markers. The original 13 integration jobs are not replaced.
frozen required-PostgreSQL workflow/baseline and empty P01 markers. The original
13 integration jobs are not replaced. An optional explicit `foundation` binds
an independently qualified actual-main ancestor descended from P01 and all
four regular-file helper blobs. Helpers/modes must remain unchanged from that
exact epoch; controls/markers remain frozen from original P01. Missing epochs
retain the original P01-only freeze. No moving-main discovery, rehash or later
helper drift is implicitly approved.
- The exact projected source PR/head/branch and complete regular-file/empty-marker
cut. The default is one P01 child. An optional trusted `source.commits` list
pins one to three unique full SHAs ending at `source.head`; every commit must
Expand All @@ -24,7 +31,7 @@ enablement it requires all of:
dependency independently resolved by the owner. The preparer does not edit,
rebase, retarget or merge lane-owned PRs.
- Unique matching `CI-Shadow: sql-register-v13`,
`CI-Delivery: sql-register-v13` and `CI-Task-Set: P03` (or `P05`) body lines.
`CI-Delivery: sql-register-v13` and `CI-Task-Set: P05` (or `P06`) body lines.
These are intent, never review or permission.
- Existing authenticated exact-head fast-run/base-history evidence; complete
clean hosted Codex or explicit local-review receipt and resolved threads for
Expand All @@ -46,17 +53,36 @@ admission. Policy/foundation changes after qualification retain full main CI.

## Publication versus activation

This is checked **disabled source preparation**, not a live acceptance receipt.
The full-CI parity caller additionally watches the new validator, policy,
Source publication, including the enabled flag, is not a live acceptance receipt
or a queue command. The full-CI parity caller watches the validator, policy,
runbook and tests; its jobs and the parameterless complete suite are unchanged.
No release workflow is touched. The four existing queues are unchanged.

## Staged manual queue
The registry points to merged spec revision
`a3366afcc059b4686c990f4715c36dac9b1db05b` and qualified immutable epoch
`f0070e009bc6f183904549b69c710ef3982ca6e6`. Main full run43735780675 and
same-tree run43734991157 passed15/15; matching real-engine smoke43733481662
verified session clone/query and SIGINT stop/restart/query. Later helper changes
require renewed matching qualification, not automatic advancement of this epoch.

| Profile | Source | Task set and tasks | Maximum files including markers |
| --- | --- | --- | --- |
| P05 | #92, `2a02cd9eba113329870ed7eba6efd470375b8739` | S007-07: T217, T235, T259 | 4 |
| P06 | #94, `bcc8858bf587fbe86b00264b41caca1b39ccfc72` | S007-09: T212, T256, T225, T242 | 6 |

Each source has its exact two-commit history pinned in the registry. P05/P06
owner READY reviews are records6898716602/6898717748, accepted together in
issue165 record6898740891. Their full runs43726550505/43729068826 passed15/15.
Lane2 consent6898422904 applies only to these exact heads with the required
reviews/full CI and lapses on a head change. These receipts do not waive the
fresh source-event, actual enabled-policy, queue and live-acceptance gates.

## Manual heavy-held queue

`openrepotools-sql-register-v13` is manual-only, writer-requested, serial and
limited to at most two members, with no failure splitting or automatic retries.
It uses queue protection injection, not `none` or `merge`. Entry filters require
main-targeted same-repository ready sources, supported P03/P05 v1.3 headers,
main-targeted same-repository ready sources, supported P05/P06 v1.3 headers,
test-module/marker paths and app-qualified fast/delivery success. These coarse
filters are NOT exact-head profile acceptance. The trusted source/candidate
verifier still independently checks the registered head, lineage, full cut,
Expand All @@ -65,30 +91,50 @@ The queue cannot merge without app-qualified `openrepotools-batch-heavy` success
While the actual delivery flag is false, v1.3 candidate proof refuses.
The false flag blocks qualification and merge through this heavy-held queue,
not a repository writer's ability to request preliminary manual queue entry.
Such a request remains unauthorized during staging. The queue is not claimed
Such a request remains unauthorized before enabled-policy and owner-consent
gates pass. The queue is not claimed
to be mechanically inert; no automatic entry or independent admission-consent
status is introduced or inferred from its coarse filters.

No queue command is authorized by this staged source. Under subsequent reviewed
enablement, the operator must verify fresh owner consent for the exact two
This source alone authorizes no queue command. The operator must verify fresh
owner consent for the exact two
heads, use only this named queue for fast-only sources and keep both members
stable through qualification. The service's batch size/wait alone does not
guarantee an exact two-member selection; live proof must show the actual members
and one accepted heavy run. A fast/delivery check is never direct-merge authority.

Before any future activation: reconcile current owner cuts/plan and P01, require
actual required-engine qualification, review the narrow enablement/manual-queue
configuration, confirm effective protection and service readiness, and obtain
fresh exact-head owner consent under the approved staged rollout. A manual queue must hold complete heavy
qualification; a fast-only source must never be direct-merged on delivery success.
No queue command is supplied or authorized at this stage. Owner full-CI product
batches are not the efficiency canary and must not be held for it. If such a
batch changes the frozen foundation, efficiency remains full until a separate
reviewed foundation revision and real required-engine qualification; never
silently relax or rehash the freeze to follow main.
Before admission, verify actual required-engine qualification, current exact
owner heads/reviews/consent, actual enabled main and its registry, effective
app-qualified protection and Mergify readiness. Coordinate an idle merge/admission
window without resetting an active owner candidate or imposing a repository freeze.
Owner full-CI product batches are not the efficiency canary. If a batch changes
the frozen foundation, efficiency falls back to full until a separate reviewed
revision and matching real-engine qualification; never silently follow main.

Lane1 alone adds the three matching intent lines to each owner PR and triggers
a fresh canonical source event without rewriting the head. A body edit alone
does not trigger the opened/synchronize/reopened CI workflows. Do not edit bodies
while any candidate is active. Recheck the current main/base-history snapshot
and verify actual fast-only CI on both exact sources, not old full/fast statuses.

Only after all gates above pass under the approved owner-consented canary, a
repository writer may request the named queue on both independent members:

```sh
gh pr comment 92 --repo opensoft/openRepoTools-code \
--body '@mergifyio queue openrepotools-sql-register-v13'
gh pr comment 94 --repo opensoft/openRepoTools-code \
--body '@mergifyio queue openrepotools-sql-register-v13'
```

Neither this example nor an old consent is reusable admission authority. Verify
the actual candidate contains exactly both registered heads in its recorded
order; a singleton, retry or partial landing is not a clean two-member result.

Live acceptance must show fast-only source and candidate PR CI, exactly one
complete heavy caller per accepted batch, no duplicate full main run, and matching
tested/landed prefix and final trees. Local fixture enablement is not that test.
Rollback is a normal reviewed false policy. Assembly pins, composed acceptance,
SAFE-gated shared-checkout adoption, tools, sessions and releases remain separate.
Passing this first pair is initial test-only acceptance, not blanket v1.3
adoption. Wider task-set profiles require the next reviewed stage and its proof.
6 changes: 1 addition & 5 deletions .github/ci/delivery_v13.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ def configuration(root, base):
raise ValueError("V1.3 delivery is not enabled")
# Reuse the reviewed immutable projection, NOT classify() or its output.
policy = projection.read_policy(root, base)
parent = policy["prerequisite"]["head"]
common.git(root, "merge-base", "--is-ancestor", parent, base)
paths = list(policy["prerequisite"]["blobs"]) + list(projection.P01_FILES)
paths += [projection.MARKERS + task for task in projection.P01_TASKS]
common.git(root, "diff", "--quiet", "--no-ext-diff", parent, base, "--", *paths)
projection.require_foundation(root, base, policy)
return policy


Expand Down
24 changes: 14 additions & 10 deletions .github/ci/task-set-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
The owner-approved initial efficiency path is documented in
[the cutover runbook](delivery-cutover.md). Check the actual committed policy and
effective rules: an enabled flag alone never qualifies omission or admission.
Only the fixed opted-in claude-current scope is eligible. A fast-only source
The fixed opted-in claude-current scope retains its existing rules. Its fast-only source
MUST use `openrepotools-claude-current`, never direct merge; its delivery success
is not heavy integration. Live acceptance and assembly/session adoption are
separate evidence/authority gates. All other work retains full CI.

The [prepared v1.3 delivery path](delivery-v13.md) is independently **disabled**.
Its source publication grants no v1.3 omission, queue admission or owner-PR edit.
The staged `openrepotools-sql-register-v13` queue holds complete heavy proof;
its existence does not turn on the independent false flag. Exact reviewed
linear fix history may be pinned, never inferred from an owner's moving head.
P01 and owner dependency resolution, reviewed enablement/queue configuration and
separately approved live qualification must precede adoption. Preserve lanes 1–5.
separate evidence/authority gates. The separately qualified v1.3 path below is
limited to its exact registered test-only pair. All other work retains full CI.

The [initial v1.3 delivery path](delivery-v13.md) has separate checked enablement
for exact P05#92/P06#94 heads, histories and task inventories on a qualified
immutable foundation. Verify its actual default-branch flag/registry and current
owner consent; a spec merge or source publication alone admits nothing.
Its fast-only sources MUST use `openrepotools-sql-register-v13`, never direct
merge or the ordinary full-CI queue. That queue holds complete trusted heavy
proof; observer output is never authority. P03, other v1.3 cuts, changed heads,
unresolved dependencies or foundation drift retain full fallback. Lane1 alone
owns PR intent/base edits and canonical source events. A successful first pair
does not authorize all-work adoption or a running-session refresh. Preserve lanes 1–5.

The earlier [additive fast/candidate preparation](delivery-preparation.md) shipped
without queue activation or CI skips. Its
Expand Down
35 changes: 27 additions & 8 deletions .github/ci/v13-shadow-profiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"schema_version": 1,
"efficiency_enabled": false,
"scope": "sql-register-v13",
"spec_revision": "c304e387cf9b5a1ccd3337e926a5d726132b1547",
"planning_status": "v12f draft; owner reconciliation required before activation",
"spec_revision": "a3366afcc059b4686c990f4715c36dac9b1db05b",
"planning_status": "Reviewed initial P05/P06 test-only pair; owner review records 6898716602 and 6898717748; separate admission gates remain",
"prerequisite": {
"number": 88,
"head": "7f1141be15ac9c0d20c25c802ba9533c2fec811c",
Expand All @@ -12,16 +12,35 @@
".github/ci/full-ci-baseline.json": "1fd9698a4e5be71b92fa4d9abc7ee6b39f60fcb0"
}
},
"foundation": {
"head": "f0070e009bc6f183904549b69c710ef3982ca6e6",
"blobs": {
"tests/conftest.py": "5c4e3d182094bd149e9a68f826ae427dc9739b5d",
"tests/pgcluster.py": "97871b78a222b1b3d7cc05ef1bc4bbbeeaa4419d",
"tests/sql_register_gate.py": "0d0a30d3df586222b4b84a4e91cfb97260781d87",
"tests/sql_register_helpers.py": "cc357350d3438fd59b232c9610273a71f4969bfb"
}
},
"profiles": {
"P03": {
"source": {"number": 93, "head": "81483ab50d1c75b7be3c8932e00efea3d284d102", "branch": "007-p03-import-cutover-operator-tools"},
"tasks": ["T211", "T218", "T272"],
"files": ["tests/test_sql_register_import.py", "tests/test_sql_register_operator_tools.py", "tests/test_sql_register_cutover.py"]
},
"P05": {
"source": {"number": 92, "head": "3b71c7c532f0da0b6ebbe5aee1c7cc0213a0cd56", "branch": "007-p05-readers-table-and-default-arms"},
"source": {
"number": 92,
"head": "2a02cd9eba113329870ed7eba6efd470375b8739",
"branch": "007-p05-readers-table-and-default-arms",
"commits": ["3b71c7c532f0da0b6ebbe5aee1c7cc0213a0cd56", "2a02cd9eba113329870ed7eba6efd470375b8739"]
},
"tasks": ["T217", "T235", "T259"],
"files": ["tests/test_sql_register_readers.py"]
},
"P06": {
"source": {
"number": 94,
"head": "bcc8858bf587fbe86b00264b41caca1b39ccfc72",
"branch": "007-p06-refusing-flipped-wip-init-marker",
"commits": ["b65d836b4ea939a43f89cf4e582055bb9e80f890", "bcc8858bf587fbe86b00264b41caca1b39ccfc72"]
},
"tasks": ["T212", "T256", "T225", "T242"],
"files": ["tests/test_sql_register_build_flip.py", "tests/test_sql_register_marker.py"]
}
}
}
38 changes: 23 additions & 15 deletions .github/ci/v13-shadow.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# v1.3 qualification and disabled shadow

This is not an efficiency activation. Ordinary full CI remains required on
every existing event. The parameterless full-CI qualification caller still runs
This observer is not an efficiency activation. Ordinary full CI remains the
fallback except for the separately qualified exact delivery scope. The
parameterless full-CI qualification caller still runs
every original job when these control files change. No delivery router, verifier,
queue or required check consumes the observer's output. Existing claude-current
behavior is unchanged. The observer itself adds no queue or permission to omit
work. A [separate manual v1.3 queue](delivery-v13.md#staged-manual-queue) is now
staged; it does not consume observer output or turn the false delivery flag on.
work. A [separate manual v1.3 queue](delivery-v13.md#manual-heavy-held-queue)
does not consume observer output or itself turn the independent delivery flag on.
Its preliminary entry filters and operator-consent boundary are separate from
the trusted heavy qualification required before that queue can merge.

Expand All @@ -17,9 +18,10 @@ not a replacement for feature007's task ledger or owner-approved task cuts.
## Observation contract

`v13-shadow-profiles.json` explicitly sets `efficiency_enabled: false`. Its
P03/P05 projection is based on the v12f planning draft at spec revision
`c304e387cf9b5a1ccd3337e926a5d726132b1547`; owners must reconcile current task
sets before any future activation. Exact named regular added/modified tests and
P05/P06 projection is bound to reviewed spec revision
`a3366afcc059b4686c990f4715c36dac9b1db05b` and the exact owner-reviewed cuts
described in the delivery runbook. This registry update does not enable the
observer or make its observations a grant. Exact named regular added/modified tests and
the exact cut's empty added markers can be observed. Mixed/control files,
deletions, renames, executable/symlink changes, missing/extra/nonempty markers,
marker-only edits and arbitrary dependent stacks cannot. The exact known-P01
Expand All @@ -31,7 +33,7 @@ observation with exactly one of each line, for example:

```text
CI-Shadow: sql-register-v13
CI-Task-Set: P03
CI-Task-Set: P05
```

These lines request **no skips, queue admission or qualification**. CRLF and
Expand All @@ -45,16 +47,16 @@ The disabled projections additionally bind the observed real cuts:

| Cut | Source PR | Immutable head | Source branch |
| --- | --- | --- | --- |
| P03 | #93 | `81483ab50d1c75b7be3c8932e00efea3d284d102` | `007-p03-import-cutover-operator-tools` |
| P05 | #92 | `3b71c7c532f0da0b6ebbe5aee1c7cc0213a0cd56` | `007-p05-readers-table-and-default-arms` |
| P05 | #92 | `2a02cd9eba113329870ed7eba6efd470375b8739` | `007-p05-readers-table-and-default-arms` |
| P06 | #94 | `bcc8858bf587fbe86b00264b41caca1b39ccfc72` | `007-p06-refusing-flipped-wip-init-marker` |

Both source heads have exactly one parent: P01's pinned source head. Their
owners' real branches, bases and metadata are not rewritten by this observer.
An explicitly reviewed future `source.commits` binding may pin one to three
Both first commits are P01 children; each has one exact reviewed linear fix.
Their owners' real branches, bases and metadata are not rewritten by this observer.
An explicitly reviewed `source.commits` binding pins one to three
linear commits as described in the delivery runbook; every exact parent and
cumulative cut is checked. Missing lineage keeps the original single-child
rule. A new owner commit is never followed automatically.
Coordination for this follow-up is assembly issue165 comment6889436296. These
Current owner coordination is issue165 comments6898422904 and6898740891. These
bindings record provenance, not review acceptance or approved task-set authority.

After the existing exact P01 merged-contract check succeeds, the observer can
Expand Down Expand Up @@ -100,10 +102,16 @@ The immutable context anchor is source head
`7f1141be15ac9c0d20c25c802ba9533c2fec811c`, with workflow blob
`e46aca51d4a7a59991c319ee809d46dc61a53d93` and baseline blob
`1fd9698a4e5be71b92fa4d9abc7ee6b39f60fcb0`. This does not pin a deployed
provider or adopt the unmerged source. Pending, changed, inaccessible or missing
provider or authorize delivery. Pending, changed, inaccessible or missing
prerequisite evidence cannot produce a cut observation. Source/control drift
requires a reviewed projection update, not following a mutable PR head.

The optional explicit foundation epoch retains P01 ancestry, frozen controls and
markers, and exact four-file regular modes/blobs with no later drift. Absence
retains the original strict freeze. It never auto-discovers an epoch from main;
matching blobs alone are not a real-engine receipt. Canonical epoch/enablement
requirements live in `openspec/changes/enable-reviewed-v13-test-cuts/` in the spec leg.

`merged-contract-observed` means only that the exact same-repo/main PR source
and merge are ancestors of main, the control blobs match and required-engine
baseline/foundation markers are present. It is **not proof of successful
Expand Down
Loading
Loading