mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 02:29:33 +01:00
docs: the submit check cannot reliably recognise a multi-line paste
It does match one Claude shows inline when the first line has 24+ non-space characters; it misses a short first line and the [Pasted text #N +k lines] placeholder. Say "cannot reliably" instead of "cannot". Co-Authored-By: Christian Haberl <116439789+christianhaberl@users.noreply.github.com> Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
cf9511cb57
commit
74dcf9a59d
4 files changed
+9
-9
No files matched your search
+3
-3
@@ -208,9 +208,9 @@ trailing carriage return:
|
||||
| `paste` | `session.write()` — writes directly to the PTY/mux | Bulk paste-style delivery. |
|
||||
|
||||
> ⚠️ **Single-line only — enforced.** A job fires unattended, and the submit
|
||||
> check that re-presses an ignored Enter cannot recognise a multi-line paste in
|
||||
> the composer, so a stranded prompt would go unnoticed (in paste mode the
|
||||
> newlines reach the CLI as keys). So newlines are **rejected**: the
|
||||
> check that re-presses an ignored Enter cannot reliably recognise a multi-line
|
||||
> paste in the composer, so a stranded prompt would go unnoticed (in paste mode
|
||||
> the newlines reach the CLI as keys). So newlines are **rejected**: the
|
||||
> schema and the form refuse a multi-line `promptText`, and at fire time a
|
||||
> prompt file whose content is multi-line (after stripping trailing newlines)
|
||||
> fails the run with a clear `errorMessage`. Put multi-line instructions in a
|
||||
|
||||
@@ -52,9 +52,9 @@ or a server restart shifts later runs slightly. That drift is accepted rather th
|
||||
## Prompts are single line
|
||||
|
||||
This is the rule people trip over. A cron job fires with nobody watching, and the check that
|
||||
re-presses an Enter the agent ignored cannot recognise a multi-line paste in the composer, so
|
||||
a multi-line prompt could sit there unsent. In `paste` mode the newlines would reach the agent
|
||||
as keys. So a multi-line prompt is **rejected**: the form refuses it, and a prompt file whose
|
||||
re-presses an Enter the agent ignored cannot reliably recognise a multi-line paste in the
|
||||
composer, so a multi-line prompt could sit there unsent. In `paste` mode the newlines would
|
||||
reach the agent as keys. So a multi-line prompt is **rejected**: the form refuses it, and a prompt file whose
|
||||
contents are multi-line fails the run with a clear message.
|
||||
|
||||
For anything longer than a sentence, put the instructions in a file and make the prompt tell
|
||||
|
||||
Reference in new issue
Block a user