Repository navigation
Commit 3701644
xiaoan17
docs(rfc): record the Codex provider-routing activation seam
The package import ratchet fails on main. PR #7625 added
from loopx.runtime_activation import managed_chat_activation_guard, RuntimeActivationDeferred
to packages/loopx-codex-provider-routing/src/loopx_codex_provider_routing/native_host.py,
and the pin that records every `loopx.*` module a co-located package imports
does not carry that edge:
AssertionError: co-located packages gained imports of loopx internals:
{'loopx-codex-provider-routing': ['loopx.runtime_activation']}
The pin's own note says a new edge needs a recorded design decision, and the
monorepo-distribution-split RFC Section 5 holds that decision. This records
it.
`loopx.runtime_activation` owns the transition of services that are already
installed. `managed_chat_activation_guard` holds the accepted-Chat-work fence
and the ingress lock while a managed client restarts, and the Codex provider
routing package uses it, and no other entry point of that module, to fence
accepted Chat work before it restarts the Chat services it manages. The guard
grants no work authority: it takes the ingress lock and refuses to continue
while accepted work or ingress is pending.
Section 5 now names that module as the third public module in the supported
host integration seam, beside MemT's facade and `loopx.file_lock`, and says
that the seam does not widen: a package still may not import the executor or
another kernel-private module, and the pinned Ark/JEV edges stay migration
debt. Both mirrors carry the same text. The RFC's Appendix A records the
baseline, the boundary and the remaining gaps, and its decision log records
the alternatives: restarting the Chat services without the fence, copying the
lock and state check into the package, or leaving the edge unrecorded.
The pin gains the edge and its note names the new seam member.
No production code, schema, wire or default change.
Validation: the import ratchet passes; the RFC bilingual diff check, the RFC
status index check and the docs governance smoke pass; mkdocs --strict builds
the docs site and both developer books.
Signed-off-by: xiaoan17 <anbc1224@gmail.com>1 parent 86dfa6f commit 3701644
4 files changed
Lines changed: 71 additions & 7 deletions
File tree
- docs/architecture/rfcs
- tests/architecture
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
305 | 316 | | |
306 | 317 | | |
307 | 318 | | |
| |||
696 | 707 | | |
697 | 708 | | |
698 | 709 | | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
699 | 731 | | |
700 | 732 | | |
701 | 733 | | |
702 | 734 | | |
703 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
704 | 738 | | |
705 | 739 | | |
706 | 740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
| |||
498 | 506 | | |
499 | 507 | | |
500 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
501 | 525 | | |
502 | 526 | | |
503 | 527 | | |
504 | 528 | | |
505 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
506 | 532 | | |
507 | 533 | | |
508 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments