Commit 96892b7
feat(projection): kernel-owned projection envelope for status, global-summary and global-gates (#5085)
* feat(projection): kernel-owned projection envelope for status and global views
Add loopx_projection_envelope_v0, sealed by the TypeScript kernel through
projection.envelope.seal. Python adapters pass compact read facts only; TS
decides freshness, alerts, and completeness.
- status / --goal-id: per-source last_read_at and coverage relative to the
requested scope; cached copies keep observed_at and restamp served_at
- global-summary / global-gates: goal_quota source, upstream status
envelope, and outside_current_registry omissions
- Markdown renders a red projection line when stale, unreadable, missing,
or incomplete
- RFC: TypeScript control-plane migration section 2.6, baseline row, and
correctness rule; reference contract and status data contract
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(projection): preserve unknown membership and qualify status output budget
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
* test(projection): qualify one-time emitted envelope growth at status boundary
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
* refactor(projection): isolate output migration qualification rule
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
---------
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Co-authored-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent a5546af commit 96892b7
22 files changed
Lines changed: 1616 additions & 40 deletions
File tree
- docs
- architecture/rfcs
- reference/contracts
- examples/control_plane
- loopx
- control_plane
- goals
- runtime
- status
- testing
- presentation/renderers
- semantics
- tests
- control_plane_ts
- control_plane
Lines changed: 51 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
1410 | 1456 | | |
1411 | 1457 | | |
1412 | 1458 | | |
| |||
1426 | 1472 | | |
1427 | 1473 | | |
1428 | 1474 | | |
| 1475 | + | |
1429 | 1476 | | |
1430 | 1477 | | |
1431 | 1478 | | |
| |||
1794 | 1841 | | |
1795 | 1842 | | |
1796 | 1843 | | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1797 | 1847 | | |
1798 | 1848 | | |
1799 | 1849 | | |
| |||
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
1052 | 1089 | | |
1053 | 1090 | | |
1054 | 1091 | | |
| |||
1067 | 1104 | | |
1068 | 1105 | | |
1069 | 1106 | | |
| 1107 | + | |
1070 | 1108 | | |
1071 | 1109 | | |
1072 | 1110 | | |
| |||
1382 | 1420 | | |
1383 | 1421 | | |
1384 | 1422 | | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1385 | 1426 | | |
1386 | 1427 | | |
1387 | 1428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
0 commit comments