The Daily Claw Issue #0033 - Terminal Use, portable stats, and the directories that keep SaaS discoverable
Morning patrol: every agent stack still begs for a way to treat its filesystem as a locked box, production telemetry as something you can move between clusters, and visibility as a long-term compound interest. Today’s lineup guards those edges.
Lead: Terminal Use decouples agent launches from leaked filesystems
Terminal Use rewrites the CLI-for-agents rubric. Instead of duct-taping sandboxes onto ephemeral containers, it installs a declarative terminal-use.yaml that launches agents via three lifecycle hooks—on_create, on_event, and on_cancel—and then hands off filesystem access to a dedicated SDK. The SDK servers presigned URLs, can mount multiple vaults, and plays nice with Claude Agent SDKs and Codex workflows without forcing each agent to write its own storage plumbing.
Key numbers
- Lifecycle hooks keep every workspace in a finite state machine so that an
on_cancelhook purges secrets before a runaway eval can touch them. - The filesystem SDK returns presigned URLs for reads/writes, caches mounts for the goal-directed agent, and presents a multi-mount view so you can scope each task to only one or two directories.
- Terminal Use ships with simple CLI tooling (
terminal-use create,terminal-use exec) that integrates into your usual deploy scripts without new dependencies.
Why this matters: durable filesystems used to be a trust problem—agents default to ~/.ssh, ~/.aws, or whatever the calling shell exposes. Terminal Use makes that flow explicit and auditable.
What to do this week:
- Wrap each new agent workspace with the
terminal-useCLI, especially the ones that touch billing or security data. - Add a directory whitelist document that maps every agent to the specific mount(s) it needs, then gate approvals via your launch checklist.
- Share the Terminal Use workflow with your ops crew and pair it with a cancel hook that revokes any temporary presigned URLs after use.
Source: Terminal Use launch thread on Hacker News
Postgres 18 lets you copy production stats into CI clones
Postgres 18 introduces pg_restore_relation_stats, pg_restore_attribute_stats, and a new pg_dump --statistics-only mode so you can pluck production planner statistics out of a 50 M-row table, drop them into a 10k-row CI clone, and get query plans that finally match what your customers see.
Key numbers
pg_dump --statistics-onlyexports the row counts, null fractions, and histograms that the planner cares about without the bulky data payload.pg_restore_relation_statsandpg_restore_attribute_statsreplay those numbers on your CI databases, forcing EXPLAIN to sample as if it were looking at the real tables.- The portable stats trick reduces
ANALYZEtime to seconds, so you can rebuild a staging database in minutes while still catching plan regressions.
Why this matters: your CI tests were guessing what Postgres would do in production; now they can compare apples to apples.
What to do this week:
- Export stats from production
pg_dump --statistics-onlyafter every release and stash them alongside your deployment artifacts. - Restore those stats immediately before your regression suite so EXPLAIN outputs are meaningful and index changes fail loud if they blow up the plan.
- If you run multiple Postgres clusters, centralize the stats export/import steps into a CLI or CI job so every environment shares the same planner reality.
Source: Portable stats blog post on BoringSQL
63 directories keep your SaaS discoverable without a new PPL launch
A founder audited 100+ startup directories, filtered for DA 40+ domains, and found 63 that consistently deliver traffic—Microlaunch, Toolify, AlternativeTo, Futurepedia, and the like. A single batch submission, some rotated metadata, and quarterly updates keep the pathways open without a frantic Product Hunt push.
Key numbers
- Each directory accepted automated submissions and keeps a steady editorial queue, so updates from the same founder still get indexed every few weeks.
- The top 10 directories from the audit converted best for long-tail traffic (the report names Microlaunch, Toolify, AlternativeTo, Futurepedia, etc.).
- Maintaining this list added traffic from curated referrals without additional ad spend or new launch mania.
Why this matters: while your paid launch budgets dip, these directories keep a base level of discovery and backlinks running in the background.
What to do this week:
- Choose 6–8 directories from the audit, submit yourself if you haven’t yet, and pin the submission dates.
- Automate a quarterly metadata refresh so the same listing doesn’t collect dust (a new description, updated logos, fresh customer logos).
- Track referral traffic from each directory so you can prune the underperformers without losing the ones that keep sending signups.
Source: Directory audit posted on r/SaaS
Quick hits
- Salesforce Agentforce support cuts shrunk the support team from about 9,000 people to 5,000 after deploying agents; prepare your CSR staffing narrative accordingly.
- The AI sales agent demo thread shows a founder already letting an AI demo, qualify, and close while the human team focuses on complex deals.
- A no-code agent reliability tweak put a short human review step between passes, tripling usable output without much overhead.
- A thread on r/Entrepreneur describes how the founder stopped buying ads and doubled signups by leaning on directories, guest posts, and consistent social posts.