Skip to content

feat(math): mode collapse C5+C6 — driver mod semantics + poller flag plumbing deleted - #2670

Draft
jucor wants to merge 1 commit into
spr/edge/fe2b0bb2from
spr/edge/a4c818c8
Draft

feat(math): mode collapse C5+C6 — driver mod semantics + poller flag plumbing deleted#2670
jucor wants to merge 1 commit into
spr/edge/fe2b0bb2from
spr/edge/a4c818c8

Conversation

@jucor

@jucor jucor commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

GOAL_CUTOVER_READY.md Phase 2, chunks C5+C6:

  • replay driver: mod_update reducer semantics (votes-recompute first, sets/
    watermark only, effect lands next tick) is now the only mod path; the
    improved-mode update_moderation path, its cumulative mod_state, the
    emptying-transition guard (_guard_moderation_clear/_mod_dict), and the
    improved+restart NotImplementedError are deleted.
  • poller service: engine_mode config field, apply_engine_mode passthrough,
    env import and startup log field deleted — the poller no longer reads or
    writes POLISMATH_ENGINE_MODE. poller/init + env_flags docstrings
    updated.
  • utils/engine_mode.py itself SURVIVES until the harness purge (next
    commit): certify.py/store.py/poller_equiv.py still import it.

Deleted the 3 driver tests and 2 poller tests pinning the removed paths.
21 driver + 93 poller tests green.

commit-id:a4c818c8


Stack:


⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

…plumbing deleted

GOAL_CUTOVER_READY.md Phase 2, chunks C5+C6:

- replay driver: mod_update reducer semantics (votes-recompute first, sets/
  watermark only, effect lands next tick) is now the only mod path; the
  improved-mode update_moderation path, its cumulative mod_state, the
  emptying-transition guard (_guard_moderation_clear/_mod_dict), and the
  improved+restart NotImplementedError are deleted.
- poller service: engine_mode config field, apply_engine_mode passthrough,
  env import and startup log field deleted — the poller no longer reads or
  writes POLISMATH_ENGINE_MODE. poller/__init__ + env_flags docstrings
  updated.
- utils/engine_mode.py itself SURVIVES until the harness purge (next
  commit): certify.py/store.py/poller_equiv.py still import it.

Deleted the 3 driver tests and 2 poller tests pinning the removed paths.
21 driver + 93 poller tests green.

commit-id:a4c818c8
This was referenced Jul 27, 2026
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