Skip to content

Rendering slice 3: ghost five-rule predicate as ledger decisions#426

Merged
Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
feat/rendering-slice3-ghost
Jul 6, 2026
Merged

Rendering slice 3: ghost five-rule predicate as ledger decisions#426
Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
feat/rendering-slice3-ghost

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Ports the ghost predicate with all five rules, the 10-case matrix, the failed-fix regression cases, and the documented trade-off as explicit tests. 29/29 green, tsc clean. Self-merging into integration per loop authorization.

🤖 Generated with Claude Code

model/ghostPredicate.ts — the full predicate ported with every scar
intact: superseded / orphaned-TTL (the only guard in the
turn_completed→JSONL race window) / semantic-owned (rule 3 carries its
death sentence: deleted at cutover together with SemanticStreamingTurn,
plan D6) / strictly-newer-than-tail on producer clocks with null-not-
zero (rule 4) / sidecar shape backstop with the 200-char empirical
anchor and tool_use exemption (rule 5). The rules-4-AND-5 pairing is
documented in-code with the tail-sidecar counterexample that overturned
the single-rule design.

__tests__/ghostPredicate.test.ts — the canonical 10-case matrix plus
the failed-fix regressions (686b94e stale-orphan class), the boundary
cases, the documented accepted trade-off as an explicit test, and
evidence-on-every-rejection (#344).

29/29 pipeline tests green; tsc node+web 0 errors on full integration
diff.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Juliusolsson05 Juliusolsson05 merged commit 42f2443 into integration/rendering-pipeline Jul 6, 2026
@Juliusolsson05 Juliusolsson05 deleted the feat/rendering-slice3-ghost branch July 6, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant