docs(#232): document mint deploy-time source stamping pattern#267
docs(#232): document mint deploy-time source stamping pattern#267fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
Add a paragraph to the Mint function section of AGENTS.md documenting that build metadata (version, commit) must use deploy-time source stamping, not runtime environment variables. The provisioner should write a generated source file into the function source zip at bundle time with values baked in, so metadata cannot drift from the deployed code. This prevents the env-var anti-pattern seen in upstream PR fullsend-ai#2909, where the code agent chose runtime env vars and a human had to intervene to switch to source stamping. Closes #232
|
🤖 Finished Review · ❌ Failure · Started 12:57 PM UTC · Completed 12:58 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 3:57 PM UTC · Completed 4:03 PM UTC |
Review — ✅ ApprovePR: SummaryClean, well-scoped documentation addition. The paragraph adds prescriptive guidance to the Mint function section of AGENTS.md, directing agents to use deploy-time source stamping (not runtime env vars) for version/commit metadata. This directly addresses the anti-pattern documented in issue #232. Dimension results
Notes
Labels: Documentation-only PR modifying AGENTS.md agent guidance |
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 5:38 PM UTC · Completed 5:43 PM UTC |
🔧 Fix agent — iteration 1 (human-triggered)No changes made. The review agent approved this PR with no findings. The human /fs-fix trigger provided no specific instruction. Nothing to fix. Disagreed (1):
Tests: passed Updated by fullsend fix agent |
Add a paragraph to the Mint function section of AGENTS.md documenting that build metadata (version, commit) must use deploy-time source stamping, not runtime environment variables. The provisioner should write a generated source file into the function source zip at bundle time with values baked in, so metadata cannot drift from the deployed code.
This prevents the env-var anti-pattern seen in upstream PR
fullsend-ai#2909, where the code agent chose runtime env vars and a human
had to intervene to switch to source stamping.
Closes #232
Post-script verification
agent/232-mint-stamping-docs)c776c248ac9a91f10998ca7107e974a6c9d76514..HEAD)