Skip to content

feat: Sprint 0.1 — monorepo foundation with VM, wire protocol, CI/CD#1

Merged
SuperInstance merged 1 commit intomainfrom
claude/read-claude-md-at6in
Apr 4, 2026
Merged

feat: Sprint 0.1 — monorepo foundation with VM, wire protocol, CI/CD#1
SuperInstance merged 1 commit intomainfrom
claude/read-claude-md-at6in

Conversation

@SuperInstance
Copy link
Copy Markdown
Owner

@SuperInstance SuperInstance commented Apr 4, 2026

Complete Phase 0 Sprint 0.1 implementation:

  • Monorepo structure per build-specification.md: firmware/, jetson/, shared/, tests/, tools/, .github/workflows/
  • ESP-IDF project: CMakeLists, sdkconfig.defaults (ESP32-S3, 240MHz, 8MB PSRAM), partition table, 6 FreeRTOS tasks in app_main.c
  • Bytecode VM (firmware/nexus_vm/): all 32 opcodes implemented per reflex_bytecode_vm_spec.md §2.4 — stack, arithmetic, comparison, logic, I/O, control flow. 4 syscalls (HALT, PID_COMPUTE, RECORD_SNAPSHOT, EMIT_EVENT). Bytecode validator. Zero heap.
  • Wire protocol stubs: COBS encode/decode (from spec §2.2-§2.3), CRC-16/CCITT-FALSE (check value 0x29B1 verified)
  • Shared bytecode definitions: opcodes.h/opcodes.py (C + Python), instruction.h (8-byte packed struct)
  • Jetson SDK package: requirements.txt, module stubs for wire_client, reflex_compiler, trust_engine, learning, safety_validator, agent_runtime
  • CI/CD: 4 GitHub Actions workflows (esp32-build, esp32-test, jetson-build, jetson-test)
  • Tests: 37 C unit tests (VM opcodes, COBS, CRC-16), 14 Python tests (opcode encoding, instruction roundtrip), 3 HIL test skeletons
  • Tools: flash.sh, test_runner.py, safety_check.py
  • All tests pass. Zero warnings. Safety check clean.

https://claude.ai/code/session_01Q2LTXhe6SLknufGyEc2g1P


Staging: Open in Devin

Complete Phase 0 Sprint 0.1 implementation:

- Monorepo structure per build-specification.md: firmware/, jetson/,
  shared/, tests/, tools/, .github/workflows/
- ESP-IDF project: CMakeLists, sdkconfig.defaults (ESP32-S3, 240MHz,
  8MB PSRAM), partition table, 6 FreeRTOS tasks in app_main.c
- Bytecode VM (firmware/nexus_vm/): all 32 opcodes implemented per
  reflex_bytecode_vm_spec.md §2.4 — stack, arithmetic, comparison,
  logic, I/O, control flow. 4 syscalls (HALT, PID_COMPUTE,
  RECORD_SNAPSHOT, EMIT_EVENT). Bytecode validator. Zero heap.
- Wire protocol stubs: COBS encode/decode (from spec §2.2-§2.3),
  CRC-16/CCITT-FALSE (check value 0x29B1 verified)
- Shared bytecode definitions: opcodes.h/opcodes.py (C + Python),
  instruction.h (8-byte packed struct)
- Jetson SDK package: requirements.txt, module stubs for wire_client,
  reflex_compiler, trust_engine, learning, safety_validator,
  agent_runtime
- CI/CD: 4 GitHub Actions workflows (esp32-build, esp32-test,
  jetson-build, jetson-test)
- Tests: 37 C unit tests (VM opcodes, COBS, CRC-16), 14 Python tests
  (opcode encoding, instruction roundtrip), 3 HIL test skeletons
- Tools: flash.sh, test_runner.py, safety_check.py
- All tests pass. Zero warnings. Safety check clean.

https://claude.ai/code/session_01Q2LTXhe6SLknufGyEc2g1P
@SuperInstance SuperInstance merged commit c895b4f into main Apr 4, 2026
7 of 11 checks passed
Copy link
Copy Markdown

@beta-devin-ai-integration beta-devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Staging: Open in Devin

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.

2 participants