Skip to content

Sprint 0 wave 6: server hub sub-package, app appbatch and apprecovery, plan rules 18-19 - #431

Merged
PHPCraftdream merged 8 commits into
mainfrom
feat/sprint0-w6-pr-20261116
Nov 16, 2026
Merged

PHPCraftdream merged 8 commits into
mainfrom
feat/sprint0-w6-pr-20261116

Conversation

@PHPCraftdream

Copy link
Copy Markdown
Owner

Sprint 0, wave 6

Two lanes accepted with the new pass discipline (plan rules 18 and 19), serial tests on the dedicated testbed, guards and selftests green. Full fork CI run 43867942233 on 3e8ccd0b9 is green.

  • Server L4: internal/serve/server/hub (Client, Hub, gate, scope, pin filter, title cache). Exports limited to identifiers with outside call sites (71, audited with go/types); the original shutdown acknowledgement tests stay in the root byte for byte, the test hook and the shutdown write limit keep one root owner.
  • App D2-1, D2-2: internal/app/appbatch and internal/app/apprecovery. Maintenance bounds reach appbatch through a provider read at each pass (no exported mutable globals); the 42 batch tests that build *App stay in the root. Acceptance restored two loop-existence assertions the maintenance cursor test had lost and removed an unused duplicate release function.
  • Plan: rule 18 (boundary decision catalogue) and rule 19 (pass discipline: compile every test package with -gcflags=-e, goimports/gofumpt, short passes, WIP checkpoints, explicit timeouts); full sprint scope kept.
  • Lint fixes found by CI: eventf for a printf-like test helper, inferred handler type in server.go.
  • Ratchets only fall: internal/serve/server 62 to 58 elements and 250 to 237 files, internal/app 64 to 52 elements and 288 to 272 files, hub.go leaves the over-900 list.

🤖 Generated with Claude Code

PHPCraftdream and others added 8 commits November 16, 2026 10:03
…scipline), scope narrowed after the process review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…+mcp, shell, F stay in sprint 0)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Client, Hub, gate, scope, pin filter and title cache leave package server for
internal/serve/server/hub. Exported identifiers are only those the compiler
shows referenced from outside hub (71, audited with go/types). The original
shutdown acknowledgement tests stay in the root byte for byte; the test hook
and the shutdown write limit keep one root owner and reach hub through
GateOptions.BeforeWrite. AuthorizeIncoming keeps the message id (correlated
denial replies); the dead OnShutdownRequest field is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	.githooks/check_file_size_900_selftest.sh
#	.githooks/dir_entries_allowlist.txt
#	.githooks/dir_files_allowlist.txt
#	.githooks/file_size_900_allowlist.txt
Batch CLI, cutover, fault, install, maintenance, runtime and timeout wake leave
package app for internal/app/appbatch; the startup recovery sweep goes to
internal/app/apprecovery. Maintenance bounds reach appbatch through a provider
read at each pass (the root keeps its four unexported tuning variables), the
recovery seams are parameter fields, and the 42 batch tests that build *App
stay in the root. Acceptance restored the loop-existence assertions the
maintenance cursor test had lost and removed an unused duplicate of
releaseBatchWriter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…egration branch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…branch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…red handler type in server.go (CI lint of wave 6)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PHPCraftdream
PHPCraftdream merged commit 618295f into main Nov 16, 2026
1 check passed
@PHPCraftdream
PHPCraftdream deleted the feat/sprint0-w6-pr-20261116 branch November 16, 2026 13:42
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