Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,13 @@ design is in `docs/design.md`; read it before changing the architecture, and upd
returns 404 for `/api/v1/*` on purpose.
- Renderers handle untrusted input: they run only on the render node, under gVisor, with no network and no
service-account token.
- serde_json's `arbitrary_precision` feature is on in app/'s build, so a number inside `#[serde(untagged)]` or
`#[serde(flatten)]` fails to deserialize (it arrives as a map, not a number). Read such bodies through
`serde_json::Value` (`domain::lenient`). Tests that build the struct directly won't catch it (4 Dec 2026, visualci.yml
thresholds and update_project floats).
- Code in a bare `tokio::spawn` task has no app context: `laravel::now()`, the database and the cache panic there. Use
`laravel::task::spawn` or `context.scope`, and `spawn_blocking` only for pure CPU work on plain data (decoding
images). Integration tests run inside an app context and won't catch it.
- Before building something other Laravel Rust apps also need (R2 presigned uploads, API key hashing or metering,
sitemaps, OG images, cookie consent, PostHog, Resend, Polar billing), search Talira and check kitze's packages
(github.com/kitze/laravel-rust-*) first. Keep VisualCI's own OAuth and MCP code (Nathan, 4 Dec 2026).
Loading