원클릭으로
hex-publish-module
Publish a SpacetimeDB WASM module with the full pipeline — publish, regen bindings, bump schema version, rebuild, restart
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Publish a SpacetimeDB WASM module with the full pipeline — publish, regen bindings, bump schema version, rebuild, restart
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create a new Architecture Decision Record with auto-numbering, dependency impact analysis, and validation gates. Use when the user asks to "create ADR", "write ADR", "new ADR", or "architecture decision".
Start feature development with hex decomposition and worktree isolation. Use when the user asks to "develop a feature", "new feature", "implement feature", "feature dev", "start feature", or "add feature".
Guide SpacetimeDB WASM module development for hex. Use when the user asks to "create module", "spacetimedb", "wasm module", "new reducer", "spacetime table", "add spacetime module", or works in spacetime-modules/.
Review code changes against existing Architecture Decision Records
Search Architecture Decision Records by keyword, status, or date
Check ADR lifecycle -- find stale, abandoned, or conflicting decisions
| name | hex-publish-module |
| description | Publish a SpacetimeDB WASM module with the full pipeline — publish, regen bindings, bump schema version, rebuild, restart |
When a SpacetimeDB WASM module schema changes (fields added/removed, reducer signatures changed), follow this exact pipeline:
cd spacetime-modules/<MODULE_NAME>
echo "y" | spacetime publish <MODULE_NAME> --clear-database
cd /Volumes/ExtendedStorage/PARA/01-Projects/hex-intf
spacetime generate --lang typescript \
--out-dir hex-nexus/assets/src/spacetimedb/<MODULE_NAME> \
--module-path spacetime-modules/<MODULE_NAME>
Bump SCHEMA_VERSION in hex-nexus/assets/src/stores/connection.ts:
const SCHEMA_VERSION = "N" and increment NRebuild hex-nexus + hex-cli:
cargo build -p hex-nexus -p hex-cli --release
cargo run -p hex-cli --release -- nexus stop
sleep 1
cargo run -p hex-cli --release -- nexus start
# Register project
target/release/hex dashboard register /Volumes/ExtendedStorage/PARA/01-Projects/hex-intf
# Register agent
CLAUDE_PROJECT_DIR="/Volumes/ExtendedStorage/PARA/01-Projects/hex-intf" \
CLAUDE_SESSION_ID="session-$(date +%s)" \
CLAUDE_MODEL="claude-opus-4-6" \
node .claude/helpers/agent-register.cjs register
| Module | Directory | Tables |
|---|---|---|
| hexflo-coordination | spacetime-modules/hexflo-coordination | swarm, swarm_task, swarm_agent, project, compute_node, etc |
| agent-registry | spacetime-modules/agent-registry | agent, agent_heartbeat, agent_cleanup_log |
| inference-gateway | spacetime-modules/inference-gateway | inference_provider, inference_request, inference_response |
| secret-grant | spacetime-modules/secret-grant | secret_grant, grant_audit |
| rl-engine | spacetime-modules/rl-engine | model_score, selection_event |
| chat-relay | spacetime-modules/chat-relay | chat_message, chat_channel |
| neural-lab | spacetime-modules/neural-lab | neural_pattern, experiment |
uuid compile error. Always cd into the module directory first.DataView deserialization crashes.--clear-database destroys all data — re-registration of project and agents is required.