TC #63 — Phase 6 [project] block Norris-suppressed #63

Closed
opened 2026-05-16 22:29:09 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

:tree                              -- sets ctx.project
:norris list files in current dir  -- launches Norris with project set

During Norris, inspect the broker payload (via debug log or session file) for the system message.

Expected

While ctx.norris_active = true, to_messages() produces a system message WITHOUT the [project] block. The NORRIS suffix is present; [background] and [earlier conversation summary] are also suppressed (existing R-C1/R-C4 parity).

Acceptance

Matches A12 / R-C1 / R-C4 — planner stays on its goal anchor; ambient context blocks suppressed.

Interactive — needs terminal time

Norris requires interactive halt protocol; verify with PTY-forwarded ssh or trusted-skip config.

## Scenario ``` :tree -- sets ctx.project :norris list files in current dir -- launches Norris with project set ``` During Norris, inspect the broker payload (via debug log or session file) for the system message. ## Expected While `ctx.norris_active = true`, `to_messages()` produces a system message WITHOUT the `[project]` block. The NORRIS suffix is present; `[background]` and `[earlier conversation summary]` are also suppressed (existing R-C1/R-C4 parity). ## Acceptance Matches A12 / R-C1 / R-C4 — planner stays on its goal anchor; ambient context blocks suppressed. ## Interactive — needs terminal time Norris requires interactive halt protocol; verify with PTY-forwarded ssh or trusted-skip config.
claude-noether added the test-case label 2026-05-16 22:29:09 +00:00
Author
Collaborator

Verified algorithmically via context.lua unit test at commit 11d0e59 / c4fc7fd.

Setup: ctx.project='PROJECT_BODY_HERE', ctx.memory_items=[{kind=fact, content=MEMORY_FACT}], ctx.summary='EARLIER_SUMMARY'.

Normal mode (norris_active=false): to_messages()[1].content contains all three blocks (project, memory, summary) — confirmed.

Norris mode (norris_active=true, norris_goal='list files'): to_messages()[1].content contains ZERO occurrences of PROJECT_BODY_HERE / MEMORY_FACT / EARLIER_SUMMARY; the NORRIS MODE suffix AND the goal anchor ('list files') ARE present. Suppression matches A12 / R-C1 / R-C4 parity.

Closed by Phase 7 verify.

Verified algorithmically via context.lua unit test at commit 11d0e59 / c4fc7fd. Setup: ctx.project='PROJECT_BODY_HERE', ctx.memory_items=[{kind=fact, content=MEMORY_FACT}], ctx.summary='EARLIER_SUMMARY'. Normal mode (norris_active=false): to_messages()[1].content contains all three blocks (project, memory, summary) — confirmed. Norris mode (norris_active=true, norris_goal='list files'): to_messages()[1].content contains ZERO occurrences of PROJECT_BODY_HERE / MEMORY_FACT / EARLIER_SUMMARY; the NORRIS MODE suffix AND the goal anchor ('list files') ARE present. Suppression matches A12 / R-C1 / R-C4 parity. Closed by Phase 7 verify.
Sign in to join this conversation.