Skip to content

Feat/agon everywhere#233

Merged
cukas merged 4 commits into
mainfrom
feat/agon-everywhere
Jun 24, 2026
Merged

Feat/agon everywhere#233
cukas merged 4 commits into
mainfrom
feat/agon-everywhere

Conversation

@cukas

@cukas cukas commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…rfaces

Round out `/chrome` so browser-driving is reachable from the CLI, external
CLIs, and the results pager — not just the REPL slash:

- `agon chrome "<task>"` — terminal sibling of /chrome: ensureChromeBridge
  (reuse a live serve/REPL bridge, else embed a transient one) → the proven
  runDrive loop → tear the embedded bridge down in finally (idempotent,
  leak-safe even if ensureChromeBridge throws after starting the server).
- `agon call chrome "<task>" [--auto-approve] [--engine <id>]` — external-CLI
  bridge so Codex/Antigravity can drive the browser for research/design checks
  (read-only tools never prompt; --auto-approve lets a non-interactive caller act).
- /last + Ctrl+R: ChromeResultData variant + formatChrome; handleChrome records
  the turn (pageActivity = whether page tools actually ran).
- agent-guide (JSON + prose + docs/modes.md), README mode section, and
  call/intent/formatter tests.

⚔️ Forged by [Agon](https://github.com/KERNlang/agon)

Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
The served agentic brain announced an action and stopped — "Ich suche auf
LinkedIn Jobs … starte ich mit einer gezielten Suche." — without ever calling
a page tool, so nothing happened. Two root causes, both fixed:

- looksLikeActionIntent (the safety-net that nudges an engine which describes
  an action but emits no tool line) was ENGLISH-ONLY, so a non-English "I'll
  search" slipped through as a final answer and the loop ended. It is now
  multilingual (EN + DE). This also exposed a latent bug: the trailing \b made
  every verb STEM (navigat/brows/such/navigier/…) dead — only the whole word
  "review" ever matched — so stems now anchor at the word START and match
  their inflections (such→suche, navigat→navigate, klick→klicke).
- buildAgentSystemPrompt now tells the brain to BE PROACTIVE: when asked to do
  something on the web (search/find/open/navigate/fill/click) it must ACT via
  tools and drive multiple steps itself, in EVERY language — never answer a
  "do X" request with only a prose promise to do it.

Restart a running `agon serve` (or re-open the side panel) to pick it up.

⚔️ Forged by [Agon](https://github.com/KERNlang/agon)

Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
Review of 15d9889 surfaced real flaws in looksLikeActionIntent; redesign it:

- The umlaut bug: `\böffne` never matched — 'ö' is not an ASCII word char, so
  there is no `\b` between a leading space and 'ö'. German verbs are now matched
  as explicit "ich <verb>" pairs, ASCII-anchored before "ich".
- False positives removed: 'such' (English "such a"), 'enter' ("entertainment"),
  and bare adverbs 'jetzt'/'zuerst'; 'finde' dropped because "ich finde X gut"
  is an opinion, not a self-action.
- Honest scope: the backstop covers EN + DE (the panel's languages); other
  languages rely on the proactivity system prompt, which still instructs the
  model to act in any language. Comment corrected (it had over-claimed FR/ES).

Regression tests added for each false-positive case + an umlaut-initial verb.

⚔️ Forged by [Agon](https://github.com/KERNlang/agon)

Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
…arration

End-to-end loop test of the field scenario: a German job-search narration with
no tool call → the loop nudges → the engine navigates to site 1 → readPage →
navigates to site 2 → readPage → final answer. Asserts the nudge fired, 4
capability-requests ran (switched + checked two sites), and a single
approve-session covered both navigations. Locks in that the harness drives
autonomous multi-step browsing (open → check → open → check), not a single read.

⚔️ Forged by [Agon](https://github.com/KERNlang/agon)

Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
@cukas cukas merged commit f68393f into main Jun 24, 2026
2 checks passed
@cukas cukas deleted the feat/agon-everywhere branch June 24, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants