task countdown hint promises 0 waits, and in a headless run 0 starts immediately
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 88/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- go
- Bereich
- cli, developer-experience
Rechercherichtung
Beginne bei internal/config/settings.go:2298 und prüfe internal/session/session.go:1806 hinsichtlich der Unterscheidung zwischen watched/headless. Füge einen Test für den Hinweis zum Aufgaben-Countdown hinzu, ohne internal/manual/chat/tasks.md zu ändern. Als erledigt gilt, dass der Hinweis die watched-Bedingung enthält, mit tasks.md:1492 übereinstimmt und der neue Test erfolgreich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The defect is one string
The task countdown row's hint promises, unconditionally, that zero waits:
internal/config/settings.go:2298
"how many seconds a proposed task waits for you before it starts on its own. The countdown is your window to redirect it or wave it off, not a gate, 0 waits for your answer instead of starting. A change lands on the next session."
That promise holds only on a watched session. internal/session/session.go:1806 states the other half:
0 IS A CLOCK THAT IS OFF, the proposal waits for
Agent.ResolveTaskand nothing else, which is only a sentence a WATCHED session can honour: with nobody subscribed to the events (AskConsentfalse, or no turn hub), the deadline approves whatever this says, because a headless run has no one to wait for.
So on a headless run, zero does not wait for an answer. It approves immediately. The value a person types to make every proposal stop is the value that makes every proposal start.
Why this is the worst place for it
The surface closest to the decision is the one that is wrong. The hint is read at the moment the number is typed. The page a person would have to go looking for is already correct.
The manual is correct and MUST NOT be changed to match
internal/manual/chat/tasks.md scopes the promise properly in both places that tell a person to use zero:
:1492"Usetask.autoapprove_secondsin the Safety settings to give yourself a longer window, or set it to 0 so every watched proposal waits for you.":1510"Settask.autoapprove_secondsto 0 in Safety settings if every proposal on a watched session should wait until you answer."
Reconciling the two surfaces in the wrong direction would delete the only correct statement of the behaviour that exists. If the hint and the page disagree, the page wins.
Not live today, and the reason it is worth fixing anyway
DefaultTaskAutoApprove is 15 (settings.go:1429) and a persisted value is only taken when one is present (settings.go:4256), so nothing reaches zero by default. The hazard arrives the first time somebody types 0 meaning what the row told them it means.
Acceptance
- The hint carries the watched condition, in the shape
tasks.md:1492already uses. - A test holds it. A promise in a help string has nothing mechanical behind it today, which is why the two surfaces were free to drift apart: nothing relates the string to the behaviour it describes.
Read at d91bb63ae.
- Vorherrschende Sprache
- Go
- Sterne
- 115
- Forks
- 14
- Ø Merge
- 11 Std. 32 Min.
- Gemergte PRs (30 T.)
- 747
Entwicklungsumgebung
Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Agent-Field/CodeAF
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Agent-Field/CodeAF#1679 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Agent-Field/CodeAF#1678 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:chat bug sev:papercut
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Agent-Field/CodeAF#1592 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:chat feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Agent-Field/CodeAF#1510 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:tests bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Agent-Field/CodeAF#1489 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Agent-Field/CodeAF
Ähnliche Issues
-
bug docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-acceptance wg/evaluation-quality
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
vllm-project/semantic-router#4424 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
NVIDIA/k8s-device-plugin#2076 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Documentation help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
golang/go#81933 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag