Repository navigation
Commit 6d31349
fix(acp): adapt A1/A6 port + tests to 0.5.23 structures
0.5.23 port follow-ups forced by upstream's SessionScope / standing-context /
semantic-framing refactor, made during fork-sync validation:
- A1 state maps (core_sections, baked_core_sections) keyed by SessionScope
(upstream invalidated the channel-Uuid keying); invalidate_scope/_channel
and has_channel_state cover the baked baseline alongside core_sections.
- A6 gate-drop counters/WARN + intake receipt live inside
InboundAuthorGate::authorize_listener_event (the new single gate
chokepoint, covering both listener paths) — WARN level with event_id and
per-mode freeze-surviving counters, upgraded from upstream's debug log.
- SECTION_LABEL restored to the fleet-proven '[Agent Memory — core]' bracket
header rather than upstream <core-memory> semantic framing — port preserves
fork prompt bytes and the A1 dedup machinery; header canonicalization is an
open drift axis for the Lens review window.
- Tests migrated: scope keys, FlushBatch.scope field, channel_info args for
the delta tests (upstream emits <context> hints conditionally and under
semantic framing); delta-order assertions preserved via <context> marker.
buzz-acp: 962 passed / 1 failed (acp keepalive deadline — pre-existing known
fail at 9067f1d, unchanged shape).
Co-Authored-By: Claude <[email protected]>1 parent 1e65607 commit 6d31349
3 files changed
Lines changed: 31 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7550 | 7550 | | |
7551 | 7551 | | |
7552 | 7552 | | |
7553 | | - | |
7554 | | - | |
7555 | | - | |
| 7553 | + | |
| 7554 | + | |
| 7555 | + | |
| 7556 | + | |
7556 | 7557 | | |
7557 | | - | |
| 7558 | + | |
7558 | 7559 | | |
7559 | | - | |
7560 | | - | |
| 7560 | + | |
| 7561 | + | |
7561 | 7562 | | |
7562 | | - | |
| 7563 | + | |
7563 | 7564 | | |
7564 | 7565 | | |
7565 | 7566 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3146 | 3146 | | |
3147 | 3147 | | |
3148 | 3148 | | |
| 3149 | + | |
3149 | 3150 | | |
3150 | 3151 | | |
3151 | 3152 | | |
| |||
3159 | 3160 | | |
3160 | 3161 | | |
3161 | 3162 | | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
3162 | 3169 | | |
3163 | 3170 | | |
3164 | 3171 | | |
| |||
3170 | 3177 | | |
3171 | 3178 | | |
3172 | 3179 | | |
3173 | | - | |
| 3180 | + | |
3174 | 3181 | | |
3175 | 3182 | | |
3176 | | - | |
| 3183 | + | |
3177 | 3184 | | |
3178 | 3185 | | |
3179 | 3186 | | |
| |||
3186 | 3193 | | |
3187 | 3194 | | |
3188 | 3195 | | |
| 3196 | + | |
3189 | 3197 | | |
3190 | 3198 | | |
3191 | 3199 | | |
| |||
3198 | 3206 | | |
3199 | 3207 | | |
3200 | 3208 | | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3201 | 3215 | | |
3202 | 3216 | | |
3203 | 3217 | | |
| |||
3206 | 3220 | | |
3207 | 3221 | | |
3208 | 3222 | | |
3209 | | - | |
| 3223 | + | |
3210 | 3224 | | |
3211 | 3225 | | |
3212 | 3226 | | |
| |||
0 commit comments