docs: modules, the Secrets vault and sync protocol v2; lint modules in CI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 16:19:45 +01:00
1 parent 0d8c6f4c55
commit fa98fba43f
7 files changed
+157 -6

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ Recurring mistakes and how to avoid them. Add an entry when a mistake repeats.
`dart analyze` locally; CI paths are ASCII so `flutter analyze` is fine there.
- Generated FFI types share a namespace with Flutter widgets in Dart: avoid DTO names such as
`PageView`, `Page`, `Route` in `synapse-ffi`.
- wasmi 2's default tail-call dispatch overflowed the stack in debug test builds (an
infinite-loop module crashed the process instead of running out of fuel). `synapse-modules`
uses `portable-dispatch`; keep it, and keep the runaway-module test.
- Fedora's packaged `cargo`/`rust` (in `/usr/bin`) shadows rustup's toolchain in some shells;
mixing them breaks `target/` with E0514 ("compiled by an incompatible version of rustc").
Prefix commands with `PATH="$HOME/.cargo/bin:$PATH"` (the Stop hook already does) and check