test(limits): three numbers that are not dials #667
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!667
Loading…
Reference in a new issue
No description provided.
Delete branch "qa/protocol-limits-are-not-dials"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#659 proposes moving every numeric constant into
tuning.go, and #660 proposes an env override for each. I measured the remaining set on 659: 22 constants outside that file, and five of them are not tuning values at all. They are fixed by a system this service does not own.Three of the five can be checked. This checks them.
The third is the one that matters
60looks exactly like a dial.45is the edit someone makes, and Discord refuses it rather than rounding — so the failure arrives as a thread that will not create, in a guild, rather than as a shorter archive.That risk is not hypothetical: putting these beside
turnProgressEveryin a file calledtuning.go, then adding an env override for every value in it, is a direct path to someone settingTHREAD_ARCHIVE_MINUTES=45and finding out from a member.Mutation checked
Each failure names the external contract rather than the assertion:
What this deliberately does not do
It does not move them, and it does not annotate them in place. Where they live is a layout decision on 659 and belongs to whoever takes it. These assertions hold either way — and if the five do move into
tuning.go, this is what stops the file's name from making them look adjustable.maxProxyToolNameBytes = 64is the fourth of the five and carries no comment saying whether 64 is Agent Proxy's limit or a choice. I have not asserted it, because I would be guessing at the contract. Worth a comment from whoever knows.Test-only. No production change.
Refs #659, #660