Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
027dbb8
Carry retained review quota controls and Hosted repairs onto CI wait …
benhook1013 Nov 12, 2026
b682143
Carry retained review client controls onto repaired quota stack
benhook1013 Nov 12, 2026
347e2a3
Repair backup schema bounds and cancellation, initial policy help and…
benhook1013 Nov 12, 2026
e770b03
Carry qualified CI hint admission fixes through PR #78
benhook1013 Nov 12, 2026
ffb198b
Carry qualified CI hint admission fixes through PR #86
benhook1013 Nov 12, 2026
25c71ce
Carry qualified CI hint admission fixes through PR #83
benhook1013 Nov 12, 2026
fb38070
Carry bounded CI hint repairs with updated stack ancestry
benhook1013 Nov 12, 2026
d211d5f
Carry bounded CI hint repairs with updated stack ancestry
benhook1013 Nov 12, 2026
4c75133
Carry bounded CI hint repairs with updated stack ancestry
benhook1013 Nov 12, 2026
ae2cfb3
Carry CI supersession and evidence fixes with updated stack ancestry
benhook1013 Nov 12, 2026
c404d7c
Carry CI supersession and evidence fixes with updated stack ancestry
benhook1013 Nov 12, 2026
b3944f6
Carry CI supersession and evidence fixes with updated stack ancestry
benhook1013 Nov 12, 2026
5ece165
chore: carry CI attention capability and scheduler lifetime fixes
benhook1013 Nov 12, 2026
61537d0
chore: carry CI attention capability and scheduler lifetime fixes
benhook1013 Nov 12, 2026
deb513c
chore: carry CI attention capability and scheduler lifetime fixes
benhook1013 Nov 12, 2026
56ab7c6
test: keep review migration fixture index versions consistent
benhook1013 Nov 12, 2026
c8b7200
Carry migration fixture index consistency repair into PR #86
benhook1013 Nov 12, 2026
d34fa0d
Carry migration fixture index consistency repair into PR #83
benhook1013 Nov 12, 2026
99d68cc
Carry qualified CI watch repair through #78
benhook1013 Nov 12, 2026
78a5ac8
Carry qualified CI watch repair through #86
benhook1013 Nov 12, 2026
ed52d2c
Carry qualified CI watch repair through #83
benhook1013 Nov 12, 2026
9ec4bbf
Carry qualified CI watch client rearm repair through #78
benhook1013 Nov 12, 2026
580161e
Carry qualified CI watch client rearm repair through #86
benhook1013 Nov 12, 2026
cec35b8
Carry qualified CI watch client rearm repair through #83
benhook1013 Nov 12, 2026
e9fa002
Carry qualified CI watch Hosted repairs through #78
benhook1013 Nov 12, 2026
fd7eb8a
Carry qualified CI watch Hosted repairs through #86
benhook1013 Nov 12, 2026
9c45f11
Carry qualified CI watch Hosted repairs through #83
benhook1013 Nov 12, 2026
f8b9dd0
Keep queue candidates reachable and isolate damaged recovery evidence
benhook1013 Nov 12, 2026
6107bbf
Carry verified CI watch review fixes through quota controls
benhook1013 Nov 12, 2026
b4cb574
Carry verified #78 and #88 review fixes through #86
benhook1013 Nov 12, 2026
587a848
Carry verified #78 and #88 review fixes through #83
benhook1013 Nov 12, 2026
54a37fe
Correct management input and worker-retirement observations
benhook1013 Nov 12, 2026
84384d9
Carry verified review corrections from fixes-88
benhook1013 Nov 12, 2026
a923337
Carry verified review corrections from fixes-78
benhook1013 Nov 12, 2026
dc30a8f
Carry verified review corrections from carry-86
benhook1013 Nov 12, 2026
1a7a885
Carry the verified review fixes through fixes-88
benhook1013 Nov 12, 2026
1490f32
Carry the verified review fixes through fixes-78
benhook1013 Nov 12, 2026
c0a7484
Carry the verified review fixes through carry-86
benhook1013 Nov 12, 2026
27b6e10
Carry advanced CI attention fix through review stack
benhook1013 Nov 12, 2026
5b0a31d
Carry advanced CI attention fix through review stack
benhook1013 Nov 12, 2026
5ea0422
Carry advanced CI attention fix through review stack
benhook1013 Nov 12, 2026
c4b717f
Carry validated CI watch review fixes through stack
benhook1013 Nov 12, 2026
e677c6d
Carry validated CI watch review fixes through stack
benhook1013 Nov 12, 2026
84b8abf
Carry validated CI watch review fixes through stack
benhook1013 Nov 12, 2026
a3cadff
Carry validated CI watch admission, recovery and evidence fixes
benhook1013 Nov 12, 2026
cfadaca
Carry validated CI watch admission, recovery and evidence fixes
benhook1013 Nov 12, 2026
c5432df
Carry validated CI watch admission, recovery and evidence fixes
benhook1013 Nov 12, 2026
7cd0474
Carry deterministic registration-fence test through review stack
benhook1013 Nov 12, 2026
fbb1727
Carry deterministic registration-fence test through review stack
benhook1013 Nov 12, 2026
a79a28d
Carry deterministic registration-fence test through review stack
benhook1013 Nov 12, 2026
71a552e
Carry complete CI refresh budgets and validated watch proof fixes
benhook1013 Nov 12, 2026
f525940
Carry complete CI refresh budgets and validated watch proof fixes
benhook1013 Nov 12, 2026
d1156a1
Carry complete CI refresh budgets and validated watch proof fixes
benhook1013 Nov 12, 2026
32abd12
Carry bounded CI watch authentication and validated review fixes
benhook1013 Nov 12, 2026
4454055
Carry bounded CI watch authentication and validated review fixes
benhook1013 Nov 12, 2026
e3f743e
Carry bounded CI watch authentication and validated review fixes
benhook1013 Nov 12, 2026
20016a5
Carry CI watch cancellation and historical selector regression assert…
benhook1013 Nov 12, 2026
e44af95
Carry CI watch cancellation and historical selector regression assert…
benhook1013 Nov 12, 2026
42ebeb3
Carry CI watch cancellation and historical selector regression assert…
benhook1013 Nov 12, 2026
b93c648
Carry strict CI watch response validation and test corrections
benhook1013 Nov 12, 2026
38f863f
Carry strict CI watch response validation and test corrections
benhook1013 Nov 12, 2026
559571b
Carry strict CI watch response validation and test corrections
benhook1013 Nov 12, 2026
a5aa607
Carry claim-safe lifecycle hints and pinned CI watch recovery
benhook1013 Nov 12, 2026
604462d
Carry claim-safe lifecycle hints and pinned CI watch recovery
benhook1013 Nov 12, 2026
1b41b62
Carry claim-safe lifecycle hints and pinned CI watch recovery
benhook1013 Nov 12, 2026
a58d9ee
Merge commit '46ae30c686db6cedf266dc0f409f1b8d4ac8b4da' into HEAD
benhook1013 Nov 12, 2026
5bf7844
Merge commit 'a58d9eed72493a9cec7b2d41a9d4949f8e37636f' into HEAD
benhook1013 Nov 12, 2026
067694c
Merge commit '5bf7844370126386be8ede5a2cbec6ecf14ba2f1' into HEAD
benhook1013 Nov 12, 2026
fe65936
Merge commit '1096ca5a5e5e961c9a4a498727b9dc8783ee2433' into HEAD
benhook1013 Nov 12, 2026
ac08f62
Preserve retained Hosted cooldowns across recovery failures
benhook1013 Nov 12, 2026
b1374a5
Merge commit 'ac08f62adf0f1dc971612743a0dbdcda37bfa0d2' into HEAD
benhook1013 Nov 12, 2026
5c9159b
Merge commit 'b1374a5d5cb7d0e1eb923935b07451fb45570cdc' into HEAD
benhook1013 Nov 12, 2026
d0a4101
Carry CI watch fixes and isolate retained configuration failures with…
benhook1013 Nov 12, 2026
e00a7ed
Preserve retryable provider preparation failures and exact baseline p…
benhook1013 Nov 12, 2026
b00d97d
Carry settled review runtime and client fixes through retained controls
benhook1013 Nov 12, 2026
5d2f284
Fix administration qualification coverage and carry settled upstream …
benhook1013 Nov 12, 2026
5b708de
Preserve retained allowance and parent history; negotiate stage-only …
benhook1013 Nov 13, 2026
1682604
Recover retained provider query at capture boundary and carry settled…
benhook1013 Nov 13, 2026
74c8d0d
Carry settled retained core and provider recovery fixes
benhook1013 Nov 13, 2026
b1dfafc
Carry settled retained history and provider recovery through administ…
benhook1013 Nov 13, 2026
8f140b1
Preserve legacy status and cleanup proof while isolating unavailable …
benhook1013 Nov 13, 2026
18865c8
Carry settled core guards and prove operational query recovery
benhook1013 Nov 13, 2026
615bed0
Carry validated core recovery and legacy client guard fixes
benhook1013 Nov 13, 2026
835837b
Carry validated retained core guards through administration
benhook1013 Nov 13, 2026
83557b9
Carry qualified review split and CI watch fixes into administration
benhook1013 Nov 13, 2026
a258f9a
Carry qualified lifecycle recovery and CI validation fixes through stack
benhook1013 Nov 13, 2026
c32070d
Carry validated quota retention and scheduler isolation fixes
benhook1013 Nov 13, 2026
c6789ad
Carry validated driverless recovery and shared Draft probe fixes
benhook1013 Nov 13, 2026
0d61684
Carry verified CI watch PR-number documentation through stack
benhook1013 Nov 13, 2026
2103694
Carry validated optional allowance projection repair
benhook1013 Nov 13, 2026
2940782
Carry verified cooldown recovery and deadline proof fixes
benhook1013 Nov 13, 2026
4031877
Carry verified retained identity and retry fences through current stack
benhook1013 Nov 13, 2026
27ba6ae
Carry durable negative allowance recovery and isolated evidence handling
benhook1013 Nov 13, 2026
24ad519
Carry qualified quota recovery fixes into slice 83
benhook1013 Nov 13, 2026
a32b596
Merge qualified parent carry into PR #83
benhook1013 Nov 13, 2026
f6f4236
Carry qualified parent fixes and preserve review recovery
benhook1013 Nov 14, 2026
8c25b69
Carry retained workspace origin recovery fix
benhook1013 Nov 14, 2026
ca5da52
Carry qualified parent backup schema and fixture fixes
benhook1013 Nov 14, 2026
feadbaa
Carry qualified parent recovery and scheduler fixes
benhook1013 Nov 14, 2026
e9f7ed4
Carry verified workspace history classification fix
benhook1013 Nov 14, 2026
10aa6dc
Carry qualified runtime successor and retry baseline repair through a…
benhook1013 Nov 14, 2026
e81c9e5
Merge commit '93f5255c' into HEAD
benhook1013 Nov 14, 2026
0d3c4f1
Merge commit 'b213ad700d44bbd13831daddeae2282a9b2dbebe' into dot/fc83…
benhook1013 Nov 14, 2026
8cca8c2
Carry current provider-preparation parent into administration headroom
benhook1013 Nov 17, 2026
b0fe726
Merge remote-tracking branch 'origin/dot/provider-preparation-recover…
benhook1013 Nov 18, 2026
8c9aa0c
Fix empty required schema in project management tools
benhook1013 Nov 18, 2026
634e9f8
fix: address administration hosted review contracts
benhook1013 Nov 18, 2026
ca6c9bc
test: stabilize pending batch and configuration replay regressions
benhook1013 Nov 18, 2026
e90b7fb
Merge updated review parent after dependency PR merge
benhook1013 Nov 18, 2026
3b03203
Reconcile reviewed administration with current main dependencies
benhook1013 Nov 19, 2026
c0829ed
Preserve bounded review scan fairness and assert raw inbox feed privacy
benhook1013 Nov 19, 2026
8770547
Preserve cursor progress past classified damaged review rows
benhook1013 Nov 19, 2026
8ae9fc8
Normalize explicit self acknowledgement across CLI and MCP
benhook1013 Nov 19, 2026
5d39614
Preserve retired worker inbox history on browser reload
benhook1013 Nov 19, 2026
f7cf15c
Preserve scheduler progress across exhausted candidate scans
benhook1013 Nov 19, 2026
740c3f7
Use worker indexes for pending retirement note blockers
benhook1013 Nov 20, 2026
730ba6e
Witness both worker retirement contenders before release
benhook1013 Nov 20, 2026
2b57665
Read startup CLI retry state in a consistent test snapshot
benhook1013 Nov 20, 2026
57b4375
Run administration migration domains independently
benhook1013 Nov 21, 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
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
with:
node-version: 26
Expand All @@ -157,8 +158,16 @@ jobs:
with:
go-version-file: go.mod
cache: false
- name: Generate pinned administration predecessor bundle
run: bash tools/ci/generate-admin-parent-fixture.sh "$RUNNER_TEMP/admin-parent-fixture"
- name: Verify genuine predecessor inactive restore
env:
FC_ADMIN_PARENT_FIXTURE: ${{ runner.temp }}/admin-parent-fixture
run: go test -race -v -count=1 -run '^(TestProjectManagementRealParentBundleRemainsInactive|TestProjectManagementRealParentUpgradePreservesAllRowsAndSchemas|TestProjectManagementRealParentMigrationFailureRollsBack|TestWorkerRetirementRealParentEmptyACKAndRetiredSendReplay)$' ./internal/backup ./internal/core ./internal/inbox
- run: make build
- name: Smoke packaged binaries
env:
FC_ADMIN_PARENT_FIXTURE: ${{ runner.temp }}/admin-parent-fixture
run: make smoke
- name: Install pinned Chromium
working-directory: webapp
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ browser-build:

# Requires the actual outputs from make build; no implicit rebuild.
smoke:
$(GO) test -v -tags=packaged_smoke -run '^TestPackagedProjectManagementSmoke$$' -count=1 -timeout=60s ./tools/packagedsmoke
$(GO) test -v -tags=packaged_smoke -run '^TestPackagedRunSelectionSmoke$$' -count=1 -timeout=60s ./tools/packagedsmoke
$(GO) test -v -tags=packaged_smoke -run '^TestPackagedOperationReadsSmoke$$' -count=1 -timeout=60s ./tools/packagedsmoke
$(GO) test -v -tags=packaged_smoke -run '^TestPackagedCarriedAdoptionSmoke$$' -count=1 -timeout=60s ./tools/packagedsmoke
Expand Down
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ The [Hosted source foundation](delivery.md#hosted-source-foundation) records the

## Documents

- [Project management](local-api.md#project-management-and-guarded-retirement): explicit scoped grants, permission-set CAS and native administration.
- [Worker retirement](worker-retirement.md): blocker cleanup, active/archive reads and retained historical identities.

- [Carried review obligations](adoption-obligations.md): original source-bound holds, minimum-only rules, guarded resolution and retargeting.

- [Retained review history](review-history-growth.md): immutable versions, compact summaries, bounded archives and backup integrity.
Expand Down
10 changes: 5 additions & 5 deletions docs/adoption-obligations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Optional source tooling exports the selected effective policy and its current un

## Carried obligations

The native service accepts generic source-bound obligations through an administrator preview/apply facility, independently of display history and captured native evidence. A carried obligation identifies its source namespace and immutable key, repository and snapshot digest, kind (finding, route or result), retained summary and evidence references, and explicitly affected PRs. The service retains private original provenance. It does not interpret imported text as instructions, merge authority or proof of current-code coverage.
The native service accepts generic source-bound obligations through a project-management preview/apply facility, independently of display history and captured native evidence. A carried obligation identifies its source namespace and immutable key, repository and snapshot digest, kind (finding, route or result), retained summary and evidence references, and explicitly affected PRs. The service retains private original provenance. It does not interpret imported text as instructions, merge authority or proof of current-code coverage.

Open obligations hold new review admission and existing review progression for their affected PRs in both channels. The guard applies before provider preparation and again at transactional operation admission and final dispatch. A finished grant, existing capture, channel closure, head change, reordered queue or another channel cannot bypass it. Unrelated PRs and projects retain their existing behavior. Local assessment reads explain the hold with bounded counts and a deliberate detail read; ordinary calls do not print the imported ledger.

Preview is read-only and binds the complete selected batch to the destination instance, project, administrator, worker and expected revision. Apply rechecks scope and current authority and atomically records obligations, provenance, receipt and compact events. An original-key replay returns the original result. Reimport cannot reopen a resolved obligation, erase a native action or silently replace changed source facts. Omission is additive, never deletion or resolution. Admission refuses conflicting provenance. A protective hold may arrive during queued or prepared work; final dispatch guards must observe it. It does not cancel or relabel an existing intent, or prevent consuming and finalizing a result that was already posted.
Preview is read-only and binds the complete selected batch to the destination instance, project, authenticated principal, worker and expected revision. Apply rechecks scope and current authority and atomically records obligations, provenance, receipt and compact events. An original-key replay returns the original result. Reimport cannot reopen a resolved obligation, erase a native action or silently replace changed source facts. Omission is additive, never deletion or resolution. Admission refuses conflicting provenance. A protective hold may arrive during queued or prepared work; final dispatch guards must observe it. It does not cancel or relabel an existing intent, or prevent consuming and finalizing a result that was already posted.

Resolution is an explicit revision-guarded action retaining actor, reason and evidence pointers. The worker must establish that the carried obligation has been addressed; importing it or merging its original PR is insufficient. Preserve original source state and later native resolution as distinct facts. Resolution neither changes original finalized review counts nor creates a captured review, comparison coverage, CI observation or merge permission.

Expand All @@ -26,7 +26,7 @@ Admission validates each selected obligation, target list and resolution in boun

## Bound commands and authority

Import preview/apply use the private administrator profile. Listing, reading, retargeting and resolving use the selected project profile; retargeting and resolution require ordinary project write permission and a valid project worker, without an administrator or Overseer handoff. Ordinary commands remain compact and provider-free:
Import preview/apply require `manage` permission for the selected project or instance administration, plus a valid project worker. Ordinary project read/write permission is insufficient. CLI and MCP use the explicitly selected bound profile, and current authority is rechecked for preview, apply and exact-key replay. Listing, reading, retargeting and resolving use the selected project profile; retargeting and resolution require ordinary project write permission and a valid project worker, without an administrator or Overseer handoff. Ordinary commands remain compact and provider-free:

```sh
fc reviews obligations adopt preview --file /private/obligations.json
Expand All @@ -39,7 +39,7 @@ fc reviews obligations resolve OBLIGATION_ID --expected-revision 1 --reason "Cor

The version-one batch contains `source: {namespace, repository_id, snapshot_sha256}`, `expected_revision` and one to one hundred `obligations`. Each obligation contains `source_key`, `kind` (`finding`, `route` or `result`), `affected_pull_numbers`, `summary`, `evidence` and `original_status` (`pending` or `open`). Original evidence may be an explicit empty array when unavailable; a native resolution requires at least one evidence pointer. Each normalized original JSON record is bounded to 32 KiB, each combined normalized resolution or retarget request to 16 KiB, and the complete normalized apply wrapper to 256 KiB. These encoded bounds include escaping. Full-detail reads have a 96 KiB HTTP response budget in the shared CLI/MCP client, preserving previously accepted originals, resolutions and retargets without tightening their limits. The three retained content blocks contribute at most 64 KiB; replacing request revisions with retained revisions and adding attribution, source identity and current scope adds less than 16 KiB. A conservative overhead bound allows eight 128-byte IDs, a 200-byte namespace, the 64-byte digest and three 64-byte timestamps at up to six encoded bytes per input byte, 101 ten-digit affected PRs plus separators, ten 20-byte numeric values, and 2 KiB for field names and JSON punctuation. The resulting bound is below 80 KiB, leaving headroom within the finite 96 KiB transport cap. Detail contains only the latest retarget, not its unbounded history. Backup validation retains the original admission limits. The CLI validates the owner-private regular input before reading credentials or making a request. Preview changes no state; apply binds its exact normalized content and preserves original-key recovery after lost output or later resolution.

`list` returns identity, status, revision and affected PRs, without expanding summaries or evidence. Its 512 KiB response budget accommodates one hundred items with maximally escaped 200-byte namespace and source keys and up to 101 affected PRs per route. `read` deliberately returns retained originals, current scope, the latest retarget if present and any native resolution. The HTTP owner is `/api/v1/projects/{project_id}/reviews/adoption-obligations`, with `GET`, `GET /{id}`, `POST /preview`, `POST /apply`, `POST /{id}/retarget` and `POST /{id}/resolve`; import preview/apply require administrator authority and a valid project worker. Resolution requires project write permission and a valid project worker, rechecked before the first mutation and original-key replay; read-only access cannot resolve obligations. Reads and mutations retain the ordinary short command budget and never call a review provider.
`list` returns identity, status, revision and affected PRs, without expanding summaries or evidence. Its 512 KiB response budget accommodates one hundred items with maximally escaped 200-byte namespace and source keys and up to 101 affected PRs per route. `read` deliberately returns retained originals, current scope, the latest retarget if present and any native resolution. The HTTP owner is `/api/v1/projects/{project_id}/reviews/adoption-obligations`, with `GET`, `GET /{id}`, `POST /preview`, `POST /apply`, `POST /{id}/retarget` and `POST /{id}/resolve`; import preview/apply retain the management authority and worker requirement above. Resolution requires project write permission and a valid project worker, rechecked before the first mutation and original-key replay; read-only access cannot resolve obligations. Reads and mutations retain the ordinary short command budget and never call a review provider.

### Refusals and recovery

Expand All @@ -56,7 +56,7 @@ The native HTTP contract uses the following codes for guarded changes and source
| `not_found` | The selected project, worker, obligation or linked retained source is absent in the bound scope. | Verify the binding and identifier. A policy link requires its matching obligation source to be retained in that project first; do not treat absence as clearance. |
| `repository_changed` | A retained obligation source belongs to a different repository from the project's current binding. | Stop and have the repository/source binding verified. Retrying with a newer revision does not repair provenance. |
| `adoption_obligation_not_route` | Retargeting an open `finding` or `result` obligation after its revision/status guard passes. | Stop retargeting it. Only `route` obligations can change receiver; resolution still requires actual completion evidence. |
| `forbidden` | Required administrator/project permission or worker attribution is missing, including on exact-key replay. | Stop until the required authority and valid project-worker binding are available. A previous receipt does not authorize its retrieval after permission loss. |
| `forbidden` | Required project-management, instance-administration or project-write permission or worker attribution is missing, including on exact-key replay. | Stop until the required authority and valid project-worker binding are available. A previous receipt does not authorize its retrieval after permission loss. |
| `unauthorized` | Authentication is missing, invalid, expired or revoked, including on exact-key replay. | Restore valid authentication before retrying the unchanged original request/key; do not replace the key to bypass revocation. |

## Policy and obligation linkage
Expand Down
4 changes: 2 additions & 2 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Implementation status

This document owns the service contract. The coordination slice implements local SQLite storage, scoped project/worker/access endpoints, basic jobs/history and durable messages with atomic receipts/events. See the [local API](local-api.md) for that boundary. The [incoming-message feed](message-events.md) implements scoped snapshot/replay, bounded waits and browser SSE; the [embedded browser](browser-guide.md) provides read-only jobs, workers and live incoming conversations. [Job checkpoints](job-checkpoints.md) record immutable progress independently of current job state. The [native review workspace](review-workspace.md) adds explicit administrator observations and indexed stored review reads; optional [native review execution](review-execution.md) and [source refresh](review-source.md) supply separately owned provider workers. Explicit [required CI observations](review-ci.md) supply a separate retained assessment. Explicit [observed readiness](review-readiness.md) combines retained provider facts with current local policy without provider work in reads. Explicit [public checkpoint publication](review-publication.md) owns a separate bounded provider worker and retained posting intent. Local operator [backup and activation](backups.md), [provider resumption](provider-resumption.md), and the focused job capabilities have their implementation status and proof at their owning contracts in the [documentation index](README.md). Design decisions are recorded in [decisions](decisions.md).
This document owns the service contract. The coordination slice implements local SQLite storage, scoped project/worker/access endpoints, basic jobs/history and durable messages with atomic receipts/events. See the [local API](local-api.md) for that boundary. The [incoming-message feed](message-events.md) implements scoped snapshot/replay, bounded waits and browser SSE; the [embedded browser](browser-guide.md) provides read-only jobs, workers and live incoming conversations. [Job checkpoints](job-checkpoints.md) record immutable progress independently of current job state. The [native review workspace](review-workspace.md) adds explicit administrator and project-manager observations and indexed stored review reads; optional [native review execution](review-execution.md) and [source refresh](review-source.md) supply separately owned provider workers. Explicit [required CI observations](review-ci.md) supply a separate retained assessment. Explicit [observed readiness](review-readiness.md) combines retained provider facts with current local policy without provider work in reads. Explicit [public checkpoint publication](review-publication.md) owns a separate bounded provider worker and retained posting intent. Local operator [backup and activation](backups.md), [provider resumption](provider-resumption.md), and the focused job capabilities have their implementation status and proof at their owning contracts in the [documentation index](README.md). Design decisions are recorded in [decisions](decisions.md).

## Boundaries

Expand All @@ -18,7 +18,7 @@ Every stored project-owned resource has a project identifier. Names are unique o

For the initial GitHub integration, one project binds one repository and a repository may belong to only one project within an instance. Creation/binding verifies GitHub's stable repository ID and atomically enforces that uniqueness; a renamed repository or alternate remote URL cannot bypass it. A duplicate returns `repository_already_configured` with the existing project reference when the caller may see it, otherwise an opaque conflict. An interrupted or concurrent binding must not leave two owners. Separate service instances are independent; GitHub Projects boards do not define this application boundary. Broader repository groupings require a separately reviewed design.

Credentials bind an authenticated principal to allowed projects and operations. A supplied worker name is attribution metadata, not permission. Project creation, access management, provider credentials, and project policy changes require administrative permission. The initial access model supports instance administrators and project-scoped read/write clients; additional roles require their own reviewed contract.
Credentials bind an authenticated principal to allowed projects and operations. A supplied worker name is attribution metadata, not permission. Project creation/listing, provider credentials, public publication configuration/preview/apply/unpublish and initial or changed capability binding require instance administration. Explicit project management grants permit project access administration and policy/configuration changes within the selected project; they never elevate a client to instance administration. Management implies read/write, but existing writers receive no automatic management grant. Current exact credentials and project permissions are rechecked for reads, mutations and receipt replay. The [local API](local-api.md) owns permission-set CAS and the [worker retirement contract](worker-retirement.md) owns guarded cleanup and retained identities.

Every read, write, pagination cursor, review task, and event subscription validates project scope at the server. Cross-project references are rejected before mutation. The first release does not route messages across projects; Recipient names resolve only within the selected project. A future cross-project route must state both destination project and authorization explicitly.

Expand Down
Loading
Loading