sagit
1b4500202a
feat: update agents.md and add a feat ( #128 )
...
* docs(agents): update knowledge base with encryption, API envelope, and build conventions
Add comprehensive documentation of project conventions including:
- Encryption patterns (AES with node secret PSK)
- API envelope structure (code, msg, data, ts)
- Build peculiarities (minify: false, rolldown-vite, UPX compression)
- Unique styles (flat monorepo, asymmetric Go layout, hybrid frontend mode)
- Module boundaries and anti-patterns
- Large file hotspots and code map references
Updated 7 AGENTS.md files across root and submodules.
* test(backend): add comprehensive dual-stack IP preference test suite
Added 43 tests covering:
- Core IP selection logic (selectTunnelDialHost)
- Node capability detection (nodeSupportsV4/V6)
- Address picker functions
- API contract tests for create/update/list
- Database compatibility (SQLite + PostgreSQL)
Fixed pre-existing broken test in federation_runtime_test.go
2026-02-15 15:17:15 +00:00
sagitchu
77dbd719ed
fix(backend): enforce port range in federation runtime commands
...
The federationRuntimeCommand handler forwarded AddService/UpdateService
commands from consumers to provider nodes without validating that the
port in the service payload falls within the share's allowed port range.
This allowed consumers to use any port on shared nodes, bypassing the
provider's port_range_start/port_range_end restrictions.
Add port extraction and validation in federationRuntimeCommand for
service commands, rejecting requests with ports outside the allowed
range with a 403 error.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-15 11:22:50 +08:00
sagit
fd5cfc2a40
fix(backend): include forward_port in backup export/import
2026-02-15 01:44:57 +00:00
sagit
3f80278dd4
fix(backend): harden postgres id default repair and CI coverage
...
Run Postgres id-sequence repair on every startup migration and add contract coverage plus a GitHub Actions Postgres job to catch schema-drift regressions before release.
2026-02-14 11:02:46 +00:00
sagit
76c0978763
Merge branch 'main' into opencode/proud-planet
2026-02-13 22:40:19 +08:00
sagit
92c9590c1a
fix(backend): apply entry chains for remote federation nodes
...
Ensure remote entry nodes receive AddChains during tunnel runtime apply while tolerating offline/timeout cases. Add focused contract coverage for online and offline remote entry behavior.
2026-02-13 13:59:17 +00:00
sagit
880cd4cac5
fix(backup): handle nullable tunnel export fields safely
2026-02-13 10:34:58 +00:00
sagit
a69a0f040b
Merge branch 'main' into opencode/kind-planet
2026-02-13 17:48:27 +08:00
sagit
cf6294a77d
fix(backend): normalize strategy data and proxy ip parsing
2026-02-13 09:42:38 +00:00
sagit
c049ceaacf
fix(backend): resolve backup handler build conflict after main merge
2026-02-13 08:32:00 +00:00
sagit
3424221176
Merge branch 'main' into opencode/curious-harbor
2026-02-13 16:21:56 +08:00
sagit
5a9715eb26
fix(backup): restore backup export/import APIs and route compatibility
2026-02-13 08:17:34 +00:00
sagit
a72d84fa76
Merge branch 'main' into opencode/quick-comet
2026-02-13 14:21:00 +08:00
sagit
149a841a49
test(federation): add tests for remote node command and offline status
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-02-13 06:02:01 +00:00
sagit
dd206ced14
fix(permission): revoke inherited tunnel access after group unbind/removal
2026-02-13 03:28:21 +00:00
sagit
cedcaebd1f
feat(postgres): add postgres backend support and migration docs
2026-02-12 06:38:25 +00:00
sagit
0cf81a783c
Merge branch 'main' into opencode/shiny-squid
2026-02-10 14:48:37 +08:00
sagit
2affb31b3e
feat(backend): support federation-based remote node diagnosis
...
Route diagnosis for shared remote nodes through federation runtime APIs so tunnel and forward diagnostics work across panels, and add contract coverage for single-panel and dual-panel scenarios.
2026-02-10 06:00:35 +00:00
sagit
dae6286e58
fix(backend): backfill legacy node dual-stack columns in sqlite migration
2026-02-10 04:18:21 +00:00
sagit
67f935c46f
test(backend): add federation runtime unit and dual-panel contract coverage
2026-02-10 02:34:41 +00:00
sagit
d5c0060cd9
fix: resolve user_tunnel instability and service name drift
2026-02-08 03:09:38 +00:00
sagit
7f9c05172b
fix: rollback forward mutation on tunnel switch failure
2026-02-08 02:30:36 +00:00
sagit
e2ae241f8c
fix: complete tunnel-create parity with runtime rollback
2026-02-07 13:36:30 +00:00
sagit
1a8f424d53
fix: complete diagnosis parity and tunnel visibility on Go backend
2026-02-07 12:48:41 +00:00
sagit
b2407c3442
feat: finalize Go backend migration and deployment cutover
2026-02-07 11:03:12 +00:00
sagit
f9bc165c16
feat: complete Go backend control-plane parity
...
Bridge Java-to-Go runtime behavior by enforcing forward ownership checks, wiring node command dispatch/diagnostics, and adding contract coverage so migrated APIs can run with production semantics.
2026-02-07 07:10:45 +00:00
sagit
0f37017760
feat: add Go backend compatibility service scaffold
2026-02-06 10:42:48 +00:00