Files
clawmates/.sqlx/query-d06149427a512646c8fd17fa1808f04b40293aedc8c42ff5d11474367c043e33.json
T
Omar SobhandClaude 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

65 lines
1.5 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "UPDATE routines SET last_run_at = $1\n WHERE id IN (\n SELECT id FROM routines\n WHERE status = 'active' AND next_run_at IS NOT NULL\n AND next_run_at <= $1\n FOR UPDATE SKIP LOCKED\n )\n RETURNING id, agent_id, name, schedule_cron, action, status,\n next_run_at, last_run_at",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "agent_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "name",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "schedule_cron",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "action",
"type_info": "Jsonb"
},
{
"ordinal": 5,
"name": "status",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "next_run_at",
"type_info": "Timestamptz"
},
{
"ordinal": 7,
"name": "last_run_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Timestamptz"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
true,
true
]
},
"hash": "d06149427a512646c8fd17fa1808f04b40293aedc8c42ff5d11474367c043e33"
}