Files
seaweedfs/sw-block/design
pingqiuandClaude Opus 4.6 11c6aaf316 feat: Batch 7 + Phase 16C-E — command dispatch extraction + engine refinements
Batch 7: Command dispatch binding extraction
- New weed/server/blockcmd package: CommandHandler interface + DispatchCommands
- volume_server_block.go applyCoreCommandsWithAssignment delegates to dispatcher
- weed/server still owns RecordCommand, EmitCoreEvent, PublishProjection
- v2bridge NOT given command-switch or event-emission semantics

Phase 16C: Rebuilding assignment enters core command path
Phase 16D: Rebuild recovery-task startup is command-driven
Phase 16E: Catch-up recovery-task startup is command-driven

Engine refinements:
- RecoveryTarget on AssignmentDelivered event
- shouldStartRecoveryTask / shouldStartReceiver guards
- bootstrapReason: awaiting_rebuild_start

Bridge/contract updates:
- control_adapter.go: refined translation helpers
- contract.go: executor port alignment

Migration design docs (Batch 1-3 delivered, design artifacts):
- v2-first/second/third-migration-batch.md + task-pack.md
- v2-assignment-translation-unification.md
- v2-execution-muscles-inventory.md
- v2-separation-port-layer-audit.md
- v2-legacy-runtime-exit-criteria.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 02:13:08 -07:00
..

V2 Design

This directory now keeps the current design and process entrypoints for the active V2 line.

Historical planning/review documents were moved to ../docs/archive/design/ to keep this directory smaller and easier to navigate.

Read First

  • v2-protocol-truths.md
  • v2-protocol-claim-and-evidence.md
  • v2-product-completion-overview.md
  • v2-phase-development-plan.md
  • v2-semantic-methodology.zh.md
  • v2-protocol-closure-map.zh.md
  • v2-algorithm-overview.md
  • v2-algorithm-overview.zh.md
  • v2-detailed-algorithm.zh.md

Active Process / Workflow

  • protocol-development-process.md
  • agent_dev_process.md

Active Supporting Design

  • v2-acceptance-criteria.md
  • v2-open-questions.md
  • v2_scenarios.md
  • v2-scenario-sources-from-v1.md
  • v1-v15-v2-comparison.md
  • v2-reuse-replacement-boundary.md
  • wal-replication-v2.md
  • wal-replication-v2-state-machine.md
  • wal-replication-v2-orchestrator.md
  • wal-v2-tiny-prototype.md
  • wal-v1-to-v2-mapping.md
  • v2-dist-fsm.md

Historical / Archived

See ../docs/archive/design/README.md for archived:

  • old roadmaps
  • first-slice planning docs
  • passed readiness/slicing reviews
  • phase-specific design maps for closed phases

Execution Note

  • active development tracking lives under ../.private/phase/
  • current phase contract and slice packages live there rather than in this directory

The original project-level copies under learn/projects/sw-block/design/ remain as shared references for now.