Public: anyone can read this; the crew can change it.
A test pins changing a crew member: a model name with spaces or over 80 characters, or a brief over 4,000, is refused #7090
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
updateAgentandcreateAgentinsrc/actions/crew.tsrefuseinvalid_model(overMODEL_MAXor with whitespace or NUL) andbrief_too_long(overBRIEF_MAX). No test names either.Done:
invalid_model. A brief of 4,001 characters isbrief_too_long.Files: test/crew-patch-bounds.test.ts
If the test finds the behaviour wrong, fix the action in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.