Repository navigation
docs(arch): sequence contribution policy cutover #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
abiorh-claw
merged 11 commits into
main
from
codex/ws-arch-001-plan3-contribution-policy-sequence
Aug 13, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
97542da
docs(arch): sequence contribution policy cutover
Abiorh001 bc00597
docs(arch): resolve PLAN3 review blockers
Abiorh001 93e549e
docs(auth): preserve historical 12H contract
Abiorh001 19aacff
docs(con): preserve historical chunk contracts
Abiorh001 5f6fb40
docs(con): retire stale downstream contracts
Abiorh001 ab99b3a
docs(con): require fresh delivery contract
Abiorh001 bb5adb2
docs(arch): address PLAN3 review findings
Abiorh001 010db91
docs(auth): remove guide activation dependency cycle
Abiorh001 25803ac
docs(auth): preserve parent and align 12H prerequisites
Abiorh001 fb02128
docs(auth): project corrected 12H contract
Abiorh001 ae87b27
docs(auth): name planned 12H status
Abiorh001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...modular-monolith-boundaries/chunks/WS-ARCH-001-CP01-auth-policy-registration.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP01 — Contribution Policy AUTH Registration | ||
|
|
||
| Status: proposed non-executable skeleton. Risk: L1. | ||
|
|
||
| AUTH registers exact adapter-binding and ContributionPolicy action identifiers, | ||
| permission mappings, ActionOwner custody, Project Manager/administrative grant | ||
| semantics, typed resource contexts, and opaque PREP contracts. Every action | ||
| remains unavailable. Fulfillment callback, delivery, award reads, dispatcher, | ||
| TASK, and REV authority are excluded. | ||
|
|
||
| Before implementation, replace this skeleton with a current-main contract that | ||
| names exact AUTH public types, catalogue rows, tests, allowed files, and | ||
| reviewers. The pre-start review must either split binding registration from | ||
| policy registration or prove the combined unavailable-only change is bounded: | ||
| one shared catalogue/context seam, no evaluator/activation/service identity, | ||
| reviewable diff size, and independent parity tests for each action family. No | ||
| CON implementation or activation belongs here. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
15 changes: 15 additions & 0 deletions
15
...001-modular-monolith-boundaries/chunks/WS-ARCH-001-CP02-con-binding-behavior.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP02 — Hidden Adapter-Binding Behavior | ||
|
|
||
| Status: proposed non-executable skeleton after CP01. Risk: L1. | ||
|
|
||
| CON implements only hidden adapter-binding create/read/suspend/resume behavior | ||
| through its public capability boundary and the registered opaque PREP protocol. | ||
| Routes remain absent and actions unavailable. Retirement, fulfillment callback, | ||
| provider behavior, policy commands, and AUTH edits are excluded. | ||
|
|
||
| After hidden tests and feature evidence merge, a separate AUTH activation chunk | ||
| activates only these exact binding actions. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
12 changes: 12 additions & 0 deletions
12
...-modular-monolith-boundaries/chunks/WS-ARCH-001-CP03-auth-binding-activation.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP03 — Adapter-Binding AUTH Activation | ||
|
|
||
| Status: proposed non-executable skeleton after CP02. Risk: L1. | ||
|
|
||
| AUTH integrates the exact adapter-binding evaluator and activates only the | ||
| binding create/read/suspend/resume actions proven by CP02. It adds no CON | ||
| behavior, callback authority, policy activation, or generic compensation | ||
| management permission. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
17 changes: 17 additions & 0 deletions
17
...-001-modular-monolith-boundaries/chunks/WS-ARCH-001-CP04-con-policy-behavior.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP04 — Hidden ContributionPolicy Behavior | ||
|
|
||
| Status: proposed non-executable skeleton after CP03. Risk: L1. | ||
|
|
||
| CON implements hidden ContributionPolicy read/draft/update/publish/retire | ||
| behavior using the existing persistence aggregate, exact binding lifecycle, and | ||
| opaque PREP protocol. Explicit unpaid and compensated rules remain distinct. | ||
| Routes remain absent and policy actions unavailable. PROJECT guide activation, | ||
| TASK readiness, claim, assignment, Submission, REV, awards, and AUTH edits are | ||
| excluded. | ||
|
|
||
| After hidden proof merges, a separate AUTH activation chunk activates only the | ||
| exact policy actions. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
11 changes: 11 additions & 0 deletions
11
...1-modular-monolith-boundaries/chunks/WS-ARCH-001-CP05-auth-policy-activation.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP05 — ContributionPolicy AUTH Activation | ||
|
|
||
| Status: proposed non-executable skeleton after CP04. Risk: L1. | ||
|
|
||
| AUTH integrates exact ContributionPolicy evaluators and activates only the | ||
| policy operations proven by CP04. It adds no ProjectGuide, TASK, REV, award, | ||
| fulfillment, or provider behavior. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
16 changes: 16 additions & 0 deletions
16
...dular-monolith-boundaries/chunks/WS-ARCH-001-CP06-con-policy-validation-port.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP06 — ContributionPolicy Validation Port | ||
|
|
||
| Status: proposed non-executable skeleton after CP05. Risk: L1. | ||
|
|
||
| CON exposes one caller-session, flush-only public validation capability that | ||
| locks and returns the exact active, published, complete, binding-valid, | ||
| same-project ContributionPolicyVersion for guide activation or controlled | ||
| human-revision preparation. It owns no ProjectGuide, Task, TaskAssignment, | ||
| Submission, claim, ReviewLease, or authorization write. | ||
|
|
||
| No migration or legacy removal belongs here. Missing, ambiguous, crossed- | ||
| project, draft, incomplete, or invalid binding state fails closed. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
21 changes: 21 additions & 0 deletions
21
...lar-monolith-boundaries/chunks/WS-ARCH-001-CP07-project-guide-policy-binding.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Chunk Contract: WS-ARCH-001-CP07 — Project Guide Policy Binding | ||
|
|
||
| Status: proposed non-executable skeleton after CP06. Risk: L1. | ||
|
|
||
| PROJECTS extends its public guide-activation composition to call the CON public | ||
| validation capability and persist the returned exact version as non-null | ||
| `ProjectGuide.contribution_policy_version_id`. PROJECTS owns the guide write and | ||
| single transaction; it imports no CON models/repositories and performs no | ||
| policy selection itself. | ||
|
|
||
| The covered Project Manager invokes `project.guide_sufficiency.run` through | ||
| the public HTTP route. The fixed `workstream.project.setup` service resolves | ||
| the same action only through the internal command boundary and must never call | ||
| or depend on that public route. | ||
|
|
||
| This chunk reconciles the current v0.1 baseline schema for ProjectGuide only. | ||
| TASK/Assignment/Submission fields and legacy economic-path removal remain later. | ||
|
|
||
| ## Merge state | ||
|
|
||
| - Outcome on merge: `planned` |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.