Tell claude more forcefully to use the databuild.proto interfaces

This commit is contained in:
Stuart Axelbrooke 2025-07-26 23:28:39 -07:00
parent 49e0953c4a
commit 0d662e9f38

View file

@ -90,6 +90,7 @@ def lookup_job_for_partition(partition_ref: str) -> str:
```
### Common Pitfalls
- **Not using protobuf-defined interface**: Where structs and interfaces are defined centrally in [`databuild.proto`](./databuild/databuild.proto), those interfaces should always be used. E.g., in rust depending on them via the prost-generated structs, and in the web app via the OpenAPI-generated typescript interfaces.
- **Empty args**: Jobs with `"args": []` won't execute properly
- **Wrong target refs**: Job lookup must return base targets, not `.cfg` variants
- **Missing partition refs**: All outputs must be addressable via partition references