Omar Sobh and Claude Fable 5
67f918439c
P3 backend: files, skills, routines, claw chat with LIVE taint plumbing
...
- tc-files: BlobStore trait + LocalBlobStore (traversal-proof keys); wired
through Runtime (config storage.data_dir in deployments)
- File tools: files.write/files.list (workspace-internal) + files.delete
(gated FileDeletion — tested: file survives pending, gone after approve);
GET /api/openclaw/files + /api/shared-drive/files (drive/agent scoped)
- Skills: catalog/library + idempotent install with counter, uninstall;
GET /api/skills[?clawId=], POST install/uninstall
- tc-scheduler: croner cron math (clock-controlled tests), SKIP LOCKED
claim-and-advance firing REAL runs into dedicated '⏰ name' sessions
(reused, exactly-once), paused routines skipped; routines API + agent
tool routine.schedule; loop spawned in server
- Claw chat: 1:1 threads, chat.send enforcing the target's Other-Claws
policy, chat.inbox whose output carries inter_agent taint; the run loop
now ACCUMULATES taint from tool outputs into LoopState, classifies with
it, and stamps steps + approvals — a poisoned inbox followed by
email.send produces an approval whose taint_sources says inter_agent
- ScriptedProvider scenario selection now keys on the most recent marker
(session history kept earlier markers alive)
132 Rust tests green.
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-10 05:28:50 -05:00
Omar Sobh and Claude Fable 5
de38449b41
P2 BLOCKING exit green: approval interception chain end-to-end
...
- tc-tools: Effect declarations -> §15 GatedCategory mapping, deny-by-default
external reach, taint invariant property-tested (tainted external effects
are NEVER auto-allowed)
- tc-safety: pending approvals with exact payload+preview, CAS decide with
audit + single-use grant in one tx, checkpoint suspend/load, exclusive
resume claim, expiry sweep, decided-unresumed work queue (migration 0004
adds the outbox the gated email.send tool writes)
- tc-runtime: resumable LoopState checkpointed to agent_runs; gated tool ->
approval row -> approval_required/run_suspended events -> suspend; resume
consumes the grant BEFORE executing (spent grant = no execution), rejection
feeds a structured refusal in-band; durable resume sweeper; continuous
journal seq across suspension (tested). ContentPart::Text became a struct
variant — internally-tagged newtype primitives don't serialize
- tc-api: GET/decide approvals endpoints (409 double-decide, tenant
isolation), decision triggers in-process resume; full chain proven over
HTTP incl. gateway resumeFrom continuation
- frontend: approval_required/run_suspended events, suspended reply state,
inline ApprovalCard (§10: summary, category, exact payload preview,
approve/reject -> decide + stream re-attach), /approvals queue page, nav
- E2E (14 journeys, workers:1 to serialize the shared backend): gated email
blocks with disabled composer -> approve -> continuation + ✓ step + reload
replay; reject -> ✗ step, nothing executed; queue page decides pending
106 Rust + 61 frontend tests + 14 Playwright journeys green.
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-06-10 04:58:47 -05:00
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
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