Commit 564aac4
committed
DU-4 Phase B: wire rationale_phase from AtomicBool via set_faculty_context()
The rationale_phase column on CognitiveEventRow was a ghost — always
false since Phase A (commit a05979e). Now it reads from AtomicBool
state on LanceMembrane, set via the new set_faculty_context() method
which the orchestration layer calls when dispatching a
FacultyDescriptor with is_asymmetric() = true.
This kills the ghost: the column carries real MM-CoT stage state
(Stage 1 = rationale, Stage 2 = answer). The orchestration layer
still needs to call set_faculty_context() at dispatch time, but the
entry point exists and is tested.
Changes:
- lance_membrane.rs: add current_rationale_phase: AtomicBool field,
set_faculty_context() public method (sets faculty + expert + phase),
project() reads from AtomicBool instead of hardcoded false.
- New test: set_faculty_context_wires_rationale_phase (Stage 1 → true,
Stage 2 → false, default → false).
- STATUS_BOARD.md: DU-4 updated to reflect Phase B shipped.
11/11 callcenter tests pass.
https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh1 parent a758872 commit 564aac4
2 files changed
Lines changed: 45 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
| |||
127 | 143 | | |
128 | 144 | | |
129 | 145 | | |
130 | | - | |
| 146 | + | |
131 | 147 | | |
132 | 148 | | |
133 | 149 | | |
| |||
255 | 271 | | |
256 | 272 | | |
257 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
258 | 300 | | |
259 | 301 | | |
260 | 302 | | |
| |||
0 commit comments