Skip to content

Dev#1

Merged
dennislee928 merged 17 commits into
mainfrom
dev
May 7, 2026
Merged

Dev#1
dennislee928 merged 17 commits into
mainfrom
dev

Conversation

@killinger-dev

Copy link
Copy Markdown

No description provided.

dennislee928 and others added 17 commits May 7, 2026 15:47
Move and expand project plans into docs/plans and update README to reference the canonical location. Adds detailed artifacts for multiple plan directions (EXECUTION_BREAKDOWN, RISK_REGISTER, TECH_SPEC, TEST_STRATEGY, STATE_MACHINE_SPEC, CODEC_SPEC, PROGRESS_TRACKER, etc.), and renames existing IMPLEMENTATION_PLAN.md files into docs/plans. These documents capture execution breakdowns, specs, risk registers, and test strategies to guide implementation, QA, and release readiness.
Add new implementation directories and documentation for ultrasonic data transfer and nearby connections. Includes core-dsp Rust crate (Cargo.toml, build.rs, uniffi UDL and source files: lib.rs, modulator.rs, demodulator.rs, framing.rs, protocol.rs), client READMEs for Android/iOS, QA test matrix, and an IMPLEMENTATION_DASHBOARD doc. Also updates the top-level README.md. Note: this changeset also contains many Rust/Cargo build artifacts under core-dsp/target that were added alongside the source files.
Refactor and fix DSP components: updates to modulator.rs, demodulator.rs, and framing.rs for the ultrasonic data-transfer core DSP. Update fountain-core encoder/decoder/symbol implementations to align with protocol changes. Also tweak nearby_state_machine.dart and refresh IMPLEMENTATION_DASHBOARD.md. Project build artifacts under target/ were updated as part of the rebuild.
Apply changes to implementations/01-ultrasonic-data-transfer/core-dsp/src/framing.rs and implementations/01-ultrasonic-data-transfer/core-dsp/src/lib.rs to adjust framing logic and crate API. Project was rebuilt, producing many updated/added build artifacts under target/debug.
Introduce encode_payload_bytes and decode_payload_bytes to handle raw binary payloads with length checks and framing. Refactor existing encode_payload/decode_payload to delegate to the new byte-oriented functions (string versions now perform UTF-8 conversion and error mapping). Re-export the new APIs from lib.rs and add a unit test for a binary round-trip (0..=255) to ensure correct framing/deframing of arbitrary bytes.
Backend-relayer: add transaction status tracking and query API. Introduce txStatusResponse, a txStatus map guarded by txMu, and record submitted txs in submitHandler. Register /v1/tx/ and implement txStatusHandler to return tx status or appropriate errors. Fountain-core: adjust unit test to cover out-of-order symbols and an extra/noise symbol (update symbol counts and ordering) so decode accepts unordered inputs.
Modify implementations/01-ultrasonic-data-transfer/core-dsp/src/lib.rs. Project was rebuilt, producing many updated/added/removed artifacts under target/ (core-dsp and fountain-core compiled outputs and incremental build files). No other source files were changed.
Apply changes to core-dsp signal processing (demodulator.rs and modulator.rs) and update fountain-core encoder/decoder/symbol and lib modules to align encoding/decoding logic. Refresh implementation dashboard documentation. (Build artifacts under target/ were regenerated.)
Add Foundry config and Solidity unit tests for Plan 04 contracts (foundry.toml, SBTProfile.t.sol, ConnectionGraph.t.sol). Make backend-relayer bind address configurable via RELAYER_ADDR (default 127.0.0.1:18080) and update server logging. Add an end-to-end helper script (scripts/relayer_e2e.sh) to build, run and exercise prepare/submit/status flows. Add a unit test to ensure submit requests are single-use (idempotency/replay protection) and reset test state. Expand .gitignore to exclude generated build artifacts. Update implementation dashboard docs to reflect these additions and verification notes.
Add GET /signal/session/{sessionId} to the nearby-card-drop signaling server, returning a JSON sessionStateResponse with hasOffer/hasAnswer and peer info; register handler in the server mux and enforce GET-only semantics. Add unit tests for the new endpoint (happy-path and error-path) in main_test.go. Add two Rust unit tests in fountain-core to validate decoder error cases (mixed payload lengths and invalid total=0). Update IMPLEMENTATION_DASHBOARD.md with Continuation Batch 8 notes and verification. Note: build artifacts/target files were updated as part of the crate test run.
Update docs and tests and add stricter validation for the backend relayer. Docs: append Continuation Batch 9 notes. Signaling server: enhance TestSessionPollingErrors to check Allow header and add TestSessionDeleteLifecycle to cover DELETE /signal/session/{id} lifecycle (delete, post-delete GET not-found, second delete not-found). Relayer: prepareHandler now rejects unsupported operations via isAllowedOperation (only "connect" and "exchange" allowed) and submitHandler validates signature hex content (requires 0x prefix and valid hex). Add tests for unsupported operation and invalid-hex signature cases.
Co-Authored-By: rofessor-proton-creator <209430263+rofessor-proton-creator@users.noreply.github.com>
Add tools and docs for animated-QR replay benchmarking and update multiple implementations and docs. Highlights:
- Add COMPLETION_REPORT.md and update AGENT_EXECUTION_STATUS.md and README.md.
- Animated QR: add qr-frame-generator script and a replay-benchmark Rust tool (Cargo files, main.rs, README). Several fountain-core build artifacts and incremental files were cleaned/updated.
- Ultrasonic data transfer: update core-dsp modulator, demodulator, lib and README improvements.
- Nearby connections (card-drop): add lib/main.dart and basic-flow.md, update Android/iOS READMEs, and modify signaling-server implementation and tests.
Note: the diff includes many target/debug build artifacts from Rust builds; primary source changes are the added tools, docs, and the DSP and signaling code updates.

Co-Authored-By: rofessor-proton-creator <209430263+rofessor-proton-creator@users.noreply.github.com>
Introduce a GitHub Actions workflow (.github/workflows/verify-implementations.yml) that runs tests and builds across implementations (Rust core DSP, Go signaling server, fountain tools, Go relayer, and Solidity Foundry). Add docs/CI_CD_PIPELINE.md to describe the pipeline and addressed blockers. Add two local fallback scripts for environments without local tooling or port binding: relayer_e2e_no_bind.sh (runs targeted relayer Go tests in-process) and solidity_test_via_docker.sh (runs forge build/test inside a Foundry Docker container). These changes centralize verification in CI and provide sandbox-safe local alternatives.

Co-Authored-By: rofessor-proton-creator <209430263+rofessor-proton-creator@users.noreply.github.com>
Add uniffi integration checklist and a generate-uniffi.sh helper, update core-dsp demodulator and lib for the integration, and update various READMEs and completion docs. Introduce a new nearby-card-drop implementation (app README, contracts, Dart adapter, pubspec, and signaling server tweaks) and add scanner-player contract and tooling for the animated-qr visual handshake (payload parser, frame generator updates, and replay benchmark changes). Build artifacts and target/debug files were also produced by builds but are not described in detail here.

Co-Authored-By: rofessor-proton-creator <209430263+rofessor-proton-creator@users.noreply.github.com>
@killinger-dev killinger-dev requested a review from dennislee928 May 7, 2026 11:33
@dennislee928 dennislee928 merged commit 4e81ae1 into main May 7, 2026
2 of 5 checks passed
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