Comment

Comment by hu3

Here's some related challenge I'm facing. Maybe someone can help me:

I also managed to make AI critique itself and that improved code generation a ton.

For a TypeScript backend project that runs with Bun, I tell AI to also generate and run unit tests after every code change suggested by AI.

How do you solve the risk of AI writting and executing unit tests with something like `rm -rf /` and wiping your files?

Docker works but I like to keep things simple.

Deno supports revoking file access but I'd like to keep using Bun.

parent hu3 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton