Omar Sobh and Claude Fable 5
32008c9ef0
P1 backend: chat persistence, tc-llm providers, runtime loop, gateway SSE
...
- tc-db: sessions/messages/steps/runs/run_events repos (atomic seq assignment,
history with ordered step traces, journal replay-from-offset); migration 0003
- tc-llm: provider-neutral ChatRequest/LlmEvent; ScriptedProvider (scenario
TOML, word-level deltas, multi-turn tool legs — ships in production for
e2e/air-gap smoke), AnthropicProvider (Messages SSE), OpenAiCompatProvider
(vLLM/Ollama/llama.cpp); opt-in live tests via TC_LIVE_LLM=1
- tc-runtime: run loop with persist-before-emit event journal, real built-in
clock.now tool, step rows on the reply message, tool-error resilience,
broadcast channels for live attach
- tc-api: agent CRUD + settings/full (tenant-isolated, RBAC'd, audited),
sessions create/list/history?tools=true, POST /api/gateway SSE with
monotonic ids and exact resumeFrom journal replay (tested equal to live)
- teamclaw-server: config-driven provider factory
83 Rust tests green, all against real Postgres / real TCP.
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-09 23:16:06 -05:00
Omar Sobh and Claude Fable 5
fc173f170d
P0 exit: e2e harness, Playwright shell journeys green, deploy skeleton
...
- teamclaw-server e2e mode (TEAMCLAW_MODE=e2e): idempotent deterministic
seed through the real registration paths
- Playwright suite (6 journeys) against the real backend + prod Next build:
login redirect, bad-password error, shell/roster/online-dot, team members,
seeded credits, sign-out revocation — P0 exit criterion met
- Dockerfiles: musl-static server -> distroless, Next standalone -> distroless
node (multi-arch via TARGETARCH)
- Air-gapped compose topology with edge/core/sandbox_net/secrets_net
segmentation (engine-validated in CI), config-file + env-overlay pattern
- CI: compose validation + e2e job with trace upload
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-09 22:48:28 -05:00
Omar Sobh and Claude Fable 5
172a3c8fed
P0: Next.js shell — tokens, motion, SlidePanel, LeftRail, auth plumbing
...
- Tailwind v4 @theme block encoding all spec §2 tokens; full §3 keyframe
inventory with prefers-reduced-motion handling; Geist vendored (air-gap)
- SlidePanel width-animation primitive (component-tested: exit-transition
unmount, fixed-width inner content, a11y region semantics)
- session-key.ts mirroring the Rust codec + URL-param encoding; nuqs
panel-params with spec ?sessions=1 flag shape and routines->scheduled alias
- Zod-typed API client; httpOnly cookie session bridge (/auth/session);
login page; (workspace) layout with LeftRail roster/nav/user; Team and
Credits pages on real endpoints (+ GET /api/team/members in tc-api)
- Vitest + Testing Library harness (26 tests); ESLint max-lines 1250 +
no-warning-comments mirroring the CI gates
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-09 22:43:50 -05:00
Omar Sobh and Claude Fable 5
c4349bf292
P0: tc-auth local sessions, tc-api P0 endpoints, teamclaw-server binary
...
- tc-auth: argon2id passwords, hashed opaque bearer tokens in auth_sessions
(migration 0002), anti-enumeration login errors, redacted token Debug
- tc-api: axum router with /healthz, /api/auth/login|logout, /api/user/me,
/api/team/{claws,credits,permissions}; Authed bearer extractor + RBAC
permission derivation; integration-tested over real TCP vs real Postgres
- teamclaw-server: config -> pool -> self-migrate -> serve
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-09 22:30:33 -05:00
Omar Sobh and Claude Fable 5
0afb359183
P0: workspace scaffold, CI gates, tc-domain, tc-config, tc-db vs real Postgres
...
- Cargo workspace with 1250-line and no-placeholder CI gates wired first
- tc-domain: id newtypes, SessionKey codec (proptest round-trip), Role,
GatedCategory (spec §15), AccessPolicy, core entities
- tc-config: figment TOML+env config, DeployTarget/provider/auth selection
with semantic validation
- migrations/0001: full spec §14 schema incl. DB-enforced append-only audit_log
- tc-db: compile-time-checked sqlx repos (workspaces, users, agents+policies,
credits, audit) with committed .sqlx offline metadata
- tc-testkit: per-test real-Postgres databases (testcontainers or
TC_TEST_DATABASE_URL), embedded migrations
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-09 22:25:47 -05:00