[FEATURE]: [V2] Deterministic acceptance checks for native /goal completion
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- json, playwright, typescript
- Bereich
- ai, testing-qa, tooling
Rechercherichtung
Start by tracing the native /goal completion path, especially the built-in goal judge and experimental.idle interaction, then locate the goal.acceptance.commands configuration entry point. Done means configured checks run directly, successful checks permit completion, failures feed bounded diagnostics into the continuation loop, and cancellation, pause, and iteration limits remain intact.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem
Native /goal provides an effective autonomous corrective loop, but completion is determined by an LLM judging conversation evidence.
Engineering workflows frequently have executable acceptance criteria, such as builds, type checking, linting and Playwright tests. These checks should be executed and evaluated deterministically before a goal can complete.
Currently, experimental.idle cannot reliably enforce this because the built-in goal judge can mark the goal complete before project plugin hooks execute.
Proposal
Support optional declarative acceptance commands for native goals.
Illustrative configuration:
{
"goal": {
"acceptance": {
"commands": ["npm test"],
"timeout": 120000
}
}
}
When the goal judge proposes completion:
- Execute the configured acceptance commands directly, without an LLM tool call.
- Allow completion only if all commands succeed.
- On failure, inject bounded diagnostic output into the existing goal continuation loop.
- Respect existing iteration limits, cancellation and pause behaviour.
Acceptance checks should be explicitly enabled for applicable goals, avoiding unnecessary execution for read-only objectives.
Alternatively, expose a goal.beforeComplete plugin hook that can permit completion or request continuation with failure evidence.
Benefits
- Deterministic verification of engineering outcomes.
- Prevention of premature goal completion.
- Reduced reliance on prompt compliance.
- Reuse of the existing native goal lifecycle.
- No need for external orchestration harnesses.
Related issues
- #54487
- #60461
- #61286
Unlike a generic session stopping hook, this proposal specifically governs native goal completion.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 230k
- Forks
- 31.3k
- Ø Merge
- 5 Std. 32 Min.
- Gemergte PRs (30 T.)
- 453
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
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 anomalyco/opencode
-
area/desktop platform/macos status/repro-plausible type/bug version/v2
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
anomalyco/opencode#67064 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 82/100
anomalyco/opencode#67009 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/web type/feature version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
anomalyco/opencode#67001 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
skills: a Claude-compatible SKILL.md that fails to parse is dropped without any logEvtl. vergeben @liwenjie200543 hat das vor 2 Tagen übernommen. Offenarea/plugins platform/linux reproduced type/bug version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#66970 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaksEvtl. vergeben @argszero hat das vor 2 Tagen übernommen. Offenarea/tui platform/wsl status/repro-simulated type/bug version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
anomalyco/opencode#66773 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in anomalyco/opencode
Ähnliche Issues
-
enhancement feature/signals self-driving team/self-driving
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
PostHog/posthog#144208 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue web
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
triage: not actionable
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
oxc-project/oxc#30518 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug Claude useability
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
wazuh/wazuh-dashboard-plugins#9751 ·
Maintainer antworten meist innerhalb von 1 Tag