feat(issue-6): scaffold Android, Raspberry Pi hub, and GPIO HAL modules #7
Labels
No labels
area/android
area/device
area/hardware
area/linux-hub
area/protocol
area/server
area/testing
area/ui
kind/bug
kind/chore
kind/docs
kind/feature
state/blocked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rznz/signal-lost!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/6-scaffold-project-modules"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
Closes #6
Summary
device/(signal-lost-device) with Raspberry Pi BCM pinout validation (DEFAULT_PINOUT), normalizedHardwareEvent/HardwareCommand/HardwareSnapshotmodels,HardwareAdapterprotocol, andMockHardwareAdapterlinux-hub/(signal-lost-hub) with FastAPI (GET /api/v1/health,GET /api/v1/status,POST /api/v1/events,POST /api/v1/session/reset, WebSocket/ws) andScenarioEnginewired tosignal-lost-deviceandroid/(dev.rznz.signallost) Java Gradle project (compileSdk = 37,minSdk = 26) withMainActivity,HubStatus,HubApiContract, and JUnit 4 unit tests.gitignore,.gitattributes,README.md,ARCHITECTURE.md, task memory, and generated docsAcceptance Criteria
device/provides a hardware abstraction interface with a mock/in-memory GPIO adapter and pinout configuration stub covered by automated unit tests.linux-hub/runs a FastAPI service wired to thedevice/HAL, exposingGET /api/v1/health(and/api/v1/status) plus a/wsWebSocket endpoint, verified bypytest.android/contains a compilable Gradle Android (Java) application with an operator terminal screen model/client capable of parsing hub health/status payloads and passing./gradlew test..gitignore,README.md, andARCHITECTURE.mddocument the module layout, local run/test commands, and build artifacts.Verification
cd device && uv run pytest— 4 passedcd linux-hub && uv run pytest— 3 passedcd android && ./gradlew testDebugUnitTest assembleDebug—BUILD SUCCESSFUL(38 actionable tasks)uv run .agents/skills/sl/task-memory/scripts/rebuild-task-index.pyuv run .agents/skills/sl/task-memory/scripts/publish-to-docs.pyMockHardwareAdapterverified vialinux-hubevent injection; physical Raspberry Pi GPIO wiring deferred to first hardware integration slice./api/v1/statusand/wsoperate locally without VPS dependency.Documentation and architecture
README.md,ARCHITECTURE.md, protocol, or assembly docs are updated or not affected.AI assistance
docs/prompts/6-scaffold-project-modules.md.agents/work/tasks/6-scaffold-project-modules/outcome.mdReview
<type>/<issue>-<english-kebab-slug>.echo1anddudll; merged immediately per explicit user instruction to unblock parallel team development onmain.feat(issue-6): scaffold Android, Raspberry Pi hub, and GPIO HAL modules.