Commit graph

14 commits

Author SHA1 Message Date
c17e5a6130
Implement FlareDB SQL routing and service CRUD 2026-04-01 02:07:55 +09:00
9dfe86f92a
fix cluster resiliency gaps across VM watch, runtime health, and FlareDB routing 2026-03-31 14:09:45 +09:00
6fa172eab1
Implement host lifecycle orchestration and distributed storage restructuring 2026-03-27 12:14:12 +09:00
ed0f9f42f4
WIP snapshot: preserve dirty worktree 2026-03-20 16:25:11 +09:00
d3d74995e8
chore: initial sync of untracked files and infrastructure components 2025-12-24 18:21:55 +09:00
4bfe75a1d7 feat(flaredb): Add --http-addr CLI flag and region peer management API
- Add --http-addr CLI flag for HTTP REST bind address
- Fix config env var parsing (FLAREDB_HTTP_ADDR wasn't working due to separator conflict)
- Add GET /api/v1/regions/{id} endpoint to view region info
- Add POST /api/v1/regions/{id}/add_peer endpoint for multi-peer region management
- Update NixOS module to use --http-addr 0.0.0.0 CLI flag instead of env var

This enables FlareDB region cluster formation with multiple peers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 16:54:06 +09:00
ac903f438c fix(rest): axum route syntax :param to {param}
Update 5 REST API files to use axum 0.8 path parameter syntax.
- creditservice-server
- flaredb-server
- k8shost-server
- plasmavmc-server
- prismnet-server

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 04:13:16 +09:00
3eeb303dcb feat: Batch commit for T039.S3 deployment
Includes all pending changes needed for nixos-anywhere:
- fiberlb: L7 policy, rule, certificate types
- deployer: New service for cluster management
- nix-nos: Generic network modules
- Various service updates and fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 04:34:51 +09:00
d2149b6249 fix(lightningstor): Fix SigV4 canonicalization for AWS S3 auth
- Replace form_urlencoded with RFC 3986 compliant URI encoding
- Implement aws_uri_encode() matching AWS SigV4 spec exactly
- Unreserved chars (A-Z,a-z,0-9,-,_,.,~) not encoded
- All other chars percent-encoded with uppercase hex
- Preserve slashes in paths, encode in query params
- Normalize empty paths to '/' per AWS spec
- Fix test expectations (body hash, HMAC values)
- Add comprehensive SigV4 signature determinism test

This fixes the canonicalization mismatch that caused signature
validation failures in T047. Auth can now be enabled for production.

Refs: T058.S1
2025-12-12 06:23:46 +09:00
5c6eb04a46 T036: Add VM cluster deployment configs for nixos-anywhere
- netboot-base.nix with SSH key auth
- Launch scripts for node01/02/03
- Node configuration.nix and disko.nix
- Nix modules for first-boot automation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-11 09:59:19 +09:00
df80d00696 feat(T027): Unify configuration for flaredb-server and plasmavmc-server
Refactored flaredb-server and plasmavmc-server to use a unified configuration
approach, supporting TOML files, environment variables, and CLI overrides.

This completes T027.S0 Config Unification.

Changes include:
- Created dedicated  modules for both flaredb-server and plasmavmc-server
  to define  structs.
- Implemented  for  in both components.
- Modified  in flaredb-server to use  instead of .
- Modified  in plasmavmc-server to add  dependency.
- Refactored  in both components to load config from TOML/env and apply
  CLI overrides.
- Extended  in plasmavmc-server/src/config.rs to include all
  relevant Firecracker backend parameters.
- Implemented  in
  plasmavmc/crates/plasmavmc-firecracker/src/lib.rs to construct backend
  from the unified configuration.
- Updated docs/por/T027-production-hardening/task.yaml to mark S0 as complete
  and the overall task status as active.
2025-12-10 05:11:04 +09:00
519da1d3d5 Add Cargo.lock files for nix build
- Add chainfire/Cargo.lock, flaredb/Cargo.lock, iam/Cargo.lock
- Remove Cargo.lock from chainfire/.gitignore
- Required for nix buildRustPackage cargoLock

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 16:52:21 +09:00
8f94aee1fa Fix R8: Convert submodule gitlinks to regular directories
- Remove gitlinks (160000 mode) for chainfire, flaredb, iam
- Add workspace contents as regular tracked files
- Update flake.nix to use simple paths instead of builtins.fetchGit

This resolves the nix build failure where submodule directories
appeared empty in the nix store.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 16:51:20 +09:00
736e034c42 Add submodules (flaredb, chainfire, iam) and gitignore
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 23:50:32 +09:00