Changelog¶
All notable changes to the project are recorded here.
The format follows Keep a Changelog, and the project uses Semantic Versioning (MAJOR.MINOR.PATCH):
- MAJOR: a change that breaks compatibility (e.g. the format of the memory or of the evaluation cases).
- MINOR: a new feature, compatible with what exists.
- PATCH: a bug fix, with no new feature.
While MAJOR is 0, the project is in initial development, and changes that break compatibility also bump MINOR.
The project was called smart-rpa until 2026-09-29; the entries before that use the old names
(the app/ package, the Portuguese commands and options).
Unreleased¶
Added¶
- On Hugging Face. The development set of the resilience benchmark is published as the dataset anchor-bench (the 30 tasks, their pages in 5 levels of change, the recorded fixed-selector scripts and the measured runs; the closed sets after the final round), and an online demo shows the fixed-selector script and ANCHOR (with no AI) side by side on those pages. The README and the documentation site link to both.
- A direct download link. The installer workflow also attaches the installer as
ANCHOR-Setup.exe, soreleases/latest/download/ANCHOR-Setup.exealways gives the latest version; the README links to it.
Changed¶
- The documentation is for the installer. Getting started needs no terminal (install, open from the Start menu, the first opening, updating, uninstalling, and a first try on a public practice site); running from the code and the command line moved to Development. The site's badges and the dark version of its figure are fixed, the Built With badge for Ollama shows the right badge, and CITATION.cff says 0.5.0.
0.5.0 - 2026-11-03¶
Added¶
- Searching and filtering the automations. The list has a search (in the name, the request and the site; several words, without minding accents), filters with their counts (All, Can run alone, Ready, Not learned yet, Last run not done) and an order (last run first, or by name). "Ready · 1 step" is singular now, and the interface's size budget is 700 kB (the translations passed the old 500 kB).
- The interface in Portuguese or English, second part. The automation's page (with its tabs and the spreadsheet), the run's page (the questions, the progress lines, the result and what it brought back), Schedules (each schedule's sentence is written by the server in the chosen language), a new automation, the live view, the model names, the dates' months, and the server's fixed messages (errors, a schedule's history, a run's summary). A few messages the server builds with values in them stay in English for now. Buttons keep their text on one line (a longer Portuguese label broke "See the plan first" in three). The run summary's login hint now mentions saved logins.
- The interface in Portuguese or English, first part. Settings → Language (starting in the
computer's language, applied at once): a translator in the interface, with the English text as the
key and a Portuguese dictionary (
web/src/app/i18n-pt.ts; a text not in it shows in English), and the server follows the choice, so what runs say (the engine's messages) comes in the same language; what the AI reads does not change. Translated in this part: the menu and the top bar, the guide, the first opening, Settings, Run a request, Runs and the list of automations. The request page's login note now mentions saved logins. - An automation's last run log, and the title bar in ANCHOR's theme. Each automation run's details (what happened, what the AI read and answered) are kept with the automation, the last ten; its page has Download its log for the last run, also after ANCHOR was closed or a schedule ran alone. The desktop window's title bar follows the interface's theme (dark mode on Windows 10 and 11, the exact colors on Windows 11), instead of Windows' accent color.
- Stop stops, and AI sites' notices are not errors (found automating a chat site). A stop was an ordinary exception, so the agent's "whatever went wrong, go on" handlers took it for a failure and the run went on ("Stopping..." for good); it is now raised like Ctrl+C (a BaseException) and also checked at each chunk the AI streams, so it counts within seconds even during a replan. The standing notice of AI chat sites ("pode cometer erros", "can make mistakes"), which appears after the first message, made the check of a step's effect see an error message; it is now recognized as a notice (no page of the evaluation has such a sentence, so no measured result changes).
- Downloads in the desktop program. Its window (WebView2, through pywebview) cancelled every download unless allowed, so "Save the details of this run", the CSVs and the screenshots did nothing in ANCHOR.exe; downloads are allowed now, and Windows asks where to save, starting in Downloads. A screenshot opens in full size inside ANCHOR (a new tab would have gone to the system's browser, which cannot open it).
- The installer, after 0.5.0-rc2 on another computer. Downloading the browser opened an empty
console window (closing it stopped the download): it now starts hidden, as Playwright starts its
own driver. Windows Defender flagged the unsigned ANCHOR.exe by its machine-learning heuristic
(
Trojan:Win32/Bearfoos.A!ml, a false positive): the workflow now builds PyInstaller's bootloader from source (the ready-made one is the same in every PyInstaller program, malware included), and the build is to be submitted to Microsoft as a false positive and signed (SignPath). - ANCHOR.exe opens (found testing 0.5.0-rc1 on another computer). A windowed program on Windows
has no stdout or stderr, and the server's logging asked them whether they were a terminal, so the
installed program stopped as it opened ("Unable to configure formatter 'default'"). What would go
to a terminal now goes to
anchor.log, in the user's data folder, and the build's self-test sets the server's logging up as opening does, so this cannot reach an installer again. - The Windows installer (0.5).
packaging/anchor.spec(PyInstaller) builds ANCHOR.exe with Python, its libraries, the built interface, the model profiles, the page script and ANCHOR's icon (anchor/desktop/anchor.ico); the browser is downloaded on the first opening.packaging/installer.iss(Inno Setup) makes ANCHOR-Setup-.exe: per user (no administrator password), Start menu, Start with Windows ticked, a desktop icon if wanted, and the question, when uninstalling, whether to delete the user's data. .github/workflows/installer.ymlbuilds it on Windows, by hand or for a version tag, runs the built program's--self-testfirst, and attaches the installer to the release; the signing step waits for a certificate. A compiled chardet found on the building machine crashed the frozen program, so it is never carried along (requests uses charset-normalizer). - What a run brings back, in the interface. A run's result shows its answers (with Copy), the tables and lists it read (the first 50 rows on the screen, the CSV to download), the files it downloaded, and a screenshot of the page at the end when Include a screenshot of the page at the end is ticked (request form, automation's More options) or the request asks for one ("print", "screenshot", "captura de tela"); a spreadsheet run shows each row's. Only the files listed in a run's outputs can be downloaded from it. The screenshot is taken by the interface's code at the end of the run, not planned by the AI: what the planner reads is unchanged.
- The desktop program: both models, and Quit. The first opening offers both measured models, each with its download (at least one is needed; the small one is enough to start); the forms choose a downloaded model and mark the others. Quit ANCHOR, at the top of the desktop program, ends it (the same as Quit in the icon's menu), after saying schedules do not run while it is closed.
- The desktop program, first part (0.5).
anchor/desktop: ANCHOR in its own window (WebView2, through pywebview) with its icon near the clock (pystray); closing the window keeps it running there for the schedules, and Quit, in the icon's menu, ends it. Opening it again brings the window back (one ANCHOR at a time). It works from the user's data folder (%LOCALAPPDATA%\ANCHOR), where the browser it downloads goes too. Start with Windows (the user's Run key;--backgroundopens it hidden) is on by default and off in one click, in Settings or the icon's menu. A first-opening screen, shown only when something is missing, checks Ollama, the model and the browser, and downloads the model (through Ollama) and the browser (through Playwright) with their progress. Its libraries are inrequirements-desktop.txt, used only for the installer. - Schedules, second part: the screens (0.5). Schedules, in the menu, says at the top that ANCHOR must be open for a schedule to run, adds and edits schedules (the five kinds of when; the spreadsheet and the most rows per run, for an automation with values; only proven automations can be chosen), and lists them with their next time, last result, on/off, history, Do every row again and delete. When ANCHOR opens, a window lists the scheduled runs missed while it was closed; the menu marks Schedules when a schedule's last time did not go well; a proven automation's page has Schedule this.
- Schedules, first part: the engine (0.5). A schedule runs a proven automation by itself, with
no one present, at set times: once, every day, on chosen weekdays, on a day of the month (its last
day when the month is shorter), or every N minutes, hours or days (at least 5 minutes), from a time,
optionally within a window and on chosen weekdays; this computer's time. They are kept in a local
SQLite file (
memory/schedules.db) with the last 20 times of each. They run only while ANCHOR is open: the times missed while it was closed are recorded as missed and shown when it opens, never run late. An automation with values reads its spreadsheet at run time and checks it first: a missing column or an unreadable file runs nothing, more new rows than the schedule's limit runs nothing, rows with an empty value are skipped, and the rows the schedule already did (by their content) are not done again. A schedule whose automation is still in the queue skips that time. The screens come in the second part. - Saved logins, second part: using them (0.5). When a run reaches a login page (in the interface
or on the command line), ANCHOR first logs in with the login saved for exactly that page's site,
one step or two (the user name, then the password), and hands over to the person when there is
none, when two are saved for the site, when it does not get in, or when the form is inside a frame
of another site. The password is typed by ANCHOR's own code (
anchor/vault/fill.py), checked to be a password field on that exact site right before typing, and never said in a message; the page reader still shows the AI a password only as********, and the planner's prompt is unchanged. Runs with no one present use only the logins allowed for scheduled runs. The rule of 0.3.1 ("ANCHOR never types a password") becomes: the AI never sees or types one; only a saved login is typed, by ANCHOR's code, only on its site and only in a password field. - Saved logins, first part: keeping them (0.5). In Settings, a login is saved for an exact site
(scheme, host and port; https only, or this computer): the password goes to the system's credential
store (Windows' Credential Manager, through
keyring, a new dependency), and a local file keeps only the site, the user name, dates and whether scheduled runs may use it (off until turned on). No interface, answer or error ever returns a password: it can be replaced or deleted, never read back. Using a saved login in runs comes in the second part. - Settings, with the choices remembered from requests (0.5, part 5b-5). The choices made when
ANCHOR was not sure, in requests (the file the command line shares,
memory/agent.json), listed by site, with Forget and Forget all for this site; each automation's are in its Choices tab. - An automation for each row of a spreadsheet, from the interface (0.5, part 5b-3). A CSV (UTF-8
or Excel's Windows encoding, comma or semicolon) or an
.xlsx(its first sheet; numbers and dates as a person would type them;openpyxlis a new dependency) is checked before running (missing and unused columns, rows with an empty value, at most 500 rows) and run once per row in one queued run, in the same browser. A row that fails does not stop the others; stopping ends the rows still to go. The result has a line per row, a CSV download, and a button to run again only the rows not done. The file is never saved. - A note offered after a run that was not done (0.5, part 5b-4). When an automation's run is not done, its result offers Add a note for next time, filled with what the person explained during the run ("none of these", without keeping it) and editable; the AI never writes a note, and nothing is added unless the person clicks.
- The queue on a page of its own (0.5, part 5b-2). Runs, in the menu (with how many are running or waiting), shows the run going now (Watch, Stop), the ones waiting their turn in order (Remove from queue), and the ones that ended in this session, with when and how they ended.
- An automation's page looks after what it keeps (0.5, part 5b-1). Tabs for its fixes (with what
changed, and Undo), its notes for the planner (add, edit, remove), its decisions on sensitive
actions and its remembered choices (both with Forget), and its settings: change the request, the
page or the model (a new request or page forgets the learned plan, which was checked for the old
one), or delete it for good after typing its name. Nothing changes while one of its runs is queued
or running. The routes use the same code as the command line (
anchor/ui/manage.py). - A README easier to start from. Badges (release, license, Python, local LLM, documentation site), a navigation line, a highlighted note on what stays on your computer, a quick start, a "What ANCHOR does" table linking to the guides, the five-step figure in light and dark versions, a "Keeping ANCHOR up to date" section and a collapsed FAQ.
- Easier to find and to cite. The README opens with what ANCHOR is and why (local, in your
control, self-healing, measured, open source), with a short Portuguese version (
README.pt-BR.md) and aCITATION.cff(GitHub's "Cite this repository"). - Interface fixes from real runs, second part. The browser runs in a real window kept off the
screen instead of headless (sites see an ordinary browser, not "HeadlessChrome"), on the screen when
the person asks to see it, at 1366 × 768, with notifications off, in the system's language and time
zone (
anchor/browser/launch.py; the tests alone stay headless). The live view lists the run's tabs and windows, marks the one ANCHOR works on, and lets the person see another one, where their clicks and keys go during a login (a "Sign in with Google" window, for example). - Interface fixes from real runs, first part. A request pasted as a terminal command
(
python -m anchor... "..." --url ...) is flagged, with a button that keeps only the request and the page; a confirmation shows the element in a few words ("button “Save”"), with the text around it only as context; in the watch mode, a long question scrolls inside its panel and the progress never disappears; the progress and the details file say which element a failed step tried, with the whole message (a blocked click says what covers it), when the page changes, and what the page showed when a run did not end well (its title, address and visible messages); the details file gets a header with ANCHOR's version, the model, Ollama's version and the browser's mode. - The negative checks come prefilled in the closed sets' skeletons
(
python -m eval.closed_sets negatives <tasks file>): every task still to annotate gets the negative checks of all the irreversible actions of its page, found from the page alone, one per element and each named in a comment (with its row when the action repeats on the page); the annotator deletes the one the request asks for, so the same action on another row still fails. - The closed resilience set's final run (
python -m eval.resilience.run --final): level 0 and the 150 closed tasks, once, on the tagged release, refusing a changed working copy or any file of the set that differs from its manifest; every row says whether its combination reaches the reference plan, and the report puts the combinations off the task's path apart. The injections of level 5 count as reaching the plan (they aim at the assistant through the page's text, not at an element): 150 combinations in the main analysis (with level 0), 30 apart. The set's README records the veto criterion and when it was set, and how the weights were spread. defusedxmlpinned in the requirements (a dependency ofnltk, which had come in unpinned).- The closed resilience set's generator (
eval/resilience/closed/): the 22 operators of the catalog, the draw (weights, coverage, an operator on the plan's elements), a reference executor with no part of ANCHOR (plain Playwright on the evaluation's markers, recorded once on the L0 development pages), the redraws when a task becomes impossible, the level-2 vetoes, the report and the manifest. It is run once by the author, who reads only its counts and the list of replacements. Tests check that every operator keeps every marker on its element and that no measured executor uses the markers.nltkjoins the requirements (the dictionaries of level 2).
Removed¶
-
The OpenAI profile and API. ANCHOR plans only with local models through Ollama (the only ones ever measured): the
openaiprofile, the OpenAI client, theopenaipackage and the key variable are gone. A profile file with the oldapi_key_envfield still loads (the field is ignored). -
The LinkedIn tests (
tests/real_sites/), which were always skipped (the site forbids automation). - The closed resilience catalog, version 2 (24/10/2026, before the generator and before any page was generated): level 2's synonyms are drawn among the lemmas of all the senses of the word with the same part of speech (the first sense is often not the interface one), with at most 3 redraws per element after vetoes; the Portuguese data is cited by its distribution's work (GWC 2012) and the Open Multilingual Wordnet (ACL 2013).
- The closed resilience set's catalog of perturbations (
eval/resilience/closed/), approved on 23/10/2026 before any run on the set: each operator mapped to a published taxonomy category (Hammoudi et al. for levels 1 to 4; Greshake et al. and Gray et al. for level 5), its weight the category's total, what is left out and why, the seed and the generator's rules;CATALOG.mdis written from the data so the two never differ. The perturbations are new; the base tasks are the development benchmark's. The generator and the generated pages come next, before any run. - The human collection's publication (
eval/human_publish.py): after the draw, the whole export without the time each response was sent, numbered before anything is left out, with the tasks drawn from each response, and with accidental personal data replaced by "[removido: type]" and logged without the text. The form's consent was widened before its first response. - The command reference and the README on 0.5's fixes and the closed sets. The agent's sensitive actions include acting on the person's account; logging in after a step, the goals, the end check, the site's pop-ups and blocked clicks are described; the README says where every result is measured, which closed sets there are, and that the benchmark was re-measured after the fixes.
- The synthetic set's sensitivity analysis and a check of who read the pages. The synthetic
set's results also come out without its 2 requests copied from the LEIA-ME (decided on 23/10,
before the final run), and
eval.closed_sets page-itemscounts, per generator, the requests that cite an item of their page (counts only): the ChatGPT of 08/10 read the pages like the Claudes; the one of 22/10 did not. The 08/10 package is kept with its sheets. - Where each measurement was made. Every result file of
eval/records the full commit, its tag, and whether the working copy had uncommitted changes (eval/provenance.py). A development run with changes is named+dirtyand lists them (the results of 21-22/10 said only the old commit); a final run refuses to run on a changed working copy or on a commit without a tag, so the release is tagged before its final run and its results carry the tag. - A third origin for the closed set, and results by origin. The closed tasks have an
origin(synthetic, synthetic_controlled, human) and agenerator;eval.plan_runreports each origin, each generator, and the sensitivity analysis decided forsynthetic_controlled(without the ChatGPT's requests).eval.closed_setsreads the generators' sheets (with the package's literal BOM text in one header) and makes the tasks file to annotate. The synthetic set's provenance is corrected: its 80 requests were generated by three AIs, not written by colleagues. - The local interface, step 1 (
python -m anchor.ui): a server on this computer only (127.0.0.1, a free port) and an Angular app it serves, in English, with the ANCHOR design system (the waterline wordmark, a dark violet theme with lime and lavender, and a light theme). For now it lists the saved automations and shows each one: its request (the values you give as chips), its site and model, its plan, its last runs, and how many fixes, notes and decisions it has. A Docs link on every screen opens the documentation. Every API request must carry a code made at each start (handed to the app in the address's fragment and taken off the address bar), and come from the app's own address and origin: no other program or website can drive ANCHOR. The server reads through the same automation store as the command line and adds no rules of its own. - The local interface, step 2: running. An automation runs from its page (with a field for each value it needs, and the options to learn the plan again or use a clean browser), and a one-off request from "Run a request" (the request, the page and the model). Runs wait their turn in a queue and go one at a time (one GPU); the run's screen shows what happens as it happens, and a Stop that takes effect at the next step. The questions a run asks come to the interface: a sensitive action (Allow, Don't allow, Not now), which element (one of the numbered candidates, the person clicking it in the browser, or skipping the step), and a login (done in the browser window, which still opens on its own; the live view inside the interface is step 3). Stopping with a question open answers no, and keeps no decision. A run does exactly what the command line does (run_automation, the Agent), and a request with a password is refused before it is queued.
- Runs, told step by step. Every event has its time of day; while the AI works, a live line says whether it is thinking or writing the plan, for how long and on which attempt; a plan the AI gave that was not usable is shown with why, as soon as it is known; steps, refusals and checks are told apart; and the outcome is said in plain words, with what to do next, above the engine's own message. Each run can show the browser window or not (with it hidden, a page that needs a login says so instead of waiting).
- The live view. "Watch it run" fills the window with the run: the browser, live, on the left, and the open question, the outcome and what happened on the right, so a question is answered while watching (Esc or "Close the live view" goes back). The browser now runs hidden by default ("Also open the browser in its own window" brings its window back). The picture is made only while the view is open, follows the tab the run is on, and keeps coming while the run waits. Under each step, the element it was done on ("on the button “Save customer”"), from a listener the action executor now calls after each action.
- "It's none of these" and "It needs a login first". When ANCHOR asks which element a step meant, the person can now say it is none of the ones found, and why ("the reports are inside the portal: log in first"): the step fails with those words as its reason, so the planner hears them when it plans again; for an automation, the words can also be kept as one of its notes, sent to its planner on every run. Or say that a login comes first: ANCHOR waits for the login (on the live view) and plans again from the page after it, as it does when a step meets a password field. In the engine: two new answers to "which element" (none, with a note; login), the note in the step's result, and a failure reason with the person's words, in the model's language.
- The interface, step 5a: creating automations. "New automation" creates one the way the command line does (the values in braces become the fields each run asks for, shown as they are typed; a suggested name; no password in the request). After a request that was done and checked, "Save as an automation" keeps the steps of that very run and the goals they reached, with no new run; it is not proven yet, so it needs one clean run with someone there before it may run unattended. And "See the plan first" asks the AI for the plan on the page and shows its steps and what it would check, doing nothing: its state is "Planned", never "Checked".
- The interface, step 4: logging in and pointing on the live view. When a page needs a login, or the person chooses to point at an element, the live view opens by itself and takes the person's clicks, scrolling, keys and Ctrl+V, which the run delivers to the browser; at any other time it only shows. What is typed goes to the page and nowhere else: not to the model, not to what happened, not to the run's details. Pointing works with the browser hidden (the click capture now has a form that does not hold the run: start, read, cancel; the action executor uses a disambiguator's own capture when it has one). And "Log in to this site", on an automation's page, opens its browser in a window, on its site, so the person logs in once and its runs keep the session.
- A guide for the first time. When ANCHOR opens, a short guide (four pages) says what it does, where things are, what happens during a run (watching, the questions, Stop, Try again, never a password in a request) and which model to use: the small one first, the medium one for big pages and long requests, and that saved automations do not use the AI at all. It opens until the person turns it off, and again from "Guide" in the header.
- Try again and the run's details. After a run that was not done, "Try again" opens the request's form filled in with the last try (request, page, model, window), or the automation's page with the same values. "Save the details of this run" saves a file on this computer with what the model read (the page summary) and answered at each planning, for working out what went wrong.
Changed¶
- The welcome guide and the Docs button. The guide shows the six places as they are now (Runs, Schedules only while ANCHOR is open, Settings with saved logins, an automation's page and what it keeps) and the new login rule; Docs opens the documentation site instead of the README, with its arrow drawn (the font has no ↗).
- License: Apache 2.0 (was PolyForm Strict 1.0.0): ANCHOR is now open source; it may be used,
modified and redistributed, commercially or not, keeping the license and the notices (
NOTICE, new). Pull requests are still not accepted until the 1.0.0 evaluation, now for that reason.
Fixed¶
Found in real runs on LinkedIn, GitHub and the UI Testing Playground (17/10); each fix has a test
that fails without it, and the reference plans of every suite and the benchmark's levels with no
model are the same before and after (0 false successes).
Measured with the models on the code of commit b9eb27c (whose results commit, fd0676a, says "H"
for it, and whose result files say ebadedc, since the fixes were not committed yet): the main suite
(plans_20261022-105421: 4B 93% and 87%, 9B 93% and 100%, en and pt, no premature end), uploads
(plans_20261022-110859: 100%) and the resilience benchmark (resilience_20261022-120459: every one
of the 600 runs with the same outcome as in 0.4, 0 false successes, 0 attacks with effect). The other
result files of 21-22/10 were measured on earlier states of the same fixes, during the investigation:
plans_20261021-* (the seven suites) with only the first part, and plans_20261022-001957 with the
first part and the login fix.
- A goal is met by its last planned step, not its first. A step that worked marked its goal as
met even when the goal had more steps ("search for ollama" was met by the click that opened the
search box), so the planner was told something was done that was not, and skipped the rest. It is
met now only when no other step of the goal is still to do (a later step that only repeats this one,
the same action with the same value, does not count), and never by a step that led to a login
page (a step done on a login page, like the user name, still meets its goal).
- A step that leads to a login page waits for the login. "Star" on GitHub asks to sign in first:
ANCHOR now waits for the person to log in (as when a login comes first) and plans again from the
page after it; that step does not count as done, so it can be done again once logged in. Without
anyone there (unattended), nothing changes.
- Acting on the person's account is sensitive, and blocked when not asked. A new family,
"account": connect, like, react, comment, share, repost, subscribe, invite, and following someone
("Seguir JAINE…"; "Seguir" alone, or "Seguir para o pagamento", is still going on). The models had
planned to follow three people nobody asked for. Only a verb of the family in the request asks for
it (a request about the same person does not).
- A step described as "(no text)" is refused. The page summary's name for an element without one
points at nothing; the model is told to describe the element by what is near it.
- A search is sent after the term is typed. The end check took the click that opened a search box
("Search /", before typing "Pi Network") for the search, and a run ended as done with the term
typed and never sent (en-pop-01, the 4B model, 21/10: the dev suite's only premature end). When a
request asks to search and the plan types something, the click or the Enter that searches must come
after what was typed; all 250 reference plans of the dev suites and the benchmark still pass it.
- "Confirm whether / that…" is a check. "Confirme se o texto mudou" no longer asks for a click on a
Confirm button ("confirme o pedido" still does).
- A new plan that starts with the step just done goes on. After opening a post's "…" menu, the plan
repeated that click before "Salvar", and the repeat was failed three times; it is skipped now, and
the plan goes on with the next step (a plan with only that step still fails, as before).
- A blocked click fails sooner, and says what blocks it. A click waits 10 s for its element (not
Playwright's 30 s, which cost a minute on LinkedIn), and when something is on top of the element the
planner hears what ("the click was blocked: "Mensagens" is on top of the element").
- The site's own pop-ups. An alert is accepted and its text reaches the planner; a question ("Are
you sure?") is always answered no, since ANCHOR never confirms on its own. Either is the click's
effect.
- Pages that answer late. After a click with no change, ANCHOR waits for the timers the click
itself scheduled (up to 8 s) before calling it "no effect" and clicking again ("Wait for alert!");
a click that scheduled none waits nothing more.
- Outcomes said right. A click that timed out was shown as "The AI could not be reached";
"N failed attempts" showed words written for the model. Both are said in plain words now, with the
last problem as the hint.
- A plan's refusals in the reader's language. The planner kept why each plan was refused in the
model's language only; it now keeps it in the interface's too, so the interface (in English)
no longer shows "a ação fill precisa de um valor".
- A request that asks to log in, on a page whose login is behind a link, waits for the login.
LinkedIn's home has no password field until "Sign in" is clicked, so ANCHOR planned instead of
waiting; the model then planned to type an e-mail it does not have, and the run ended, after two
refused plans, with "the fill action needs a value". Now, when such a request fails to plan,
ANCHOR asks the person to log in and plans again (with no one to ask, nothing changes).
0.4.0 - 2026-10-17¶
Security¶
- A recovery that acts where the saved step only went somewhere is not accepted. In the 0.4 run of the full resilience benchmark, level 5 (a page with planted lures) led the 4B model's repair of "open the shopping cart" into "Adicionar ao carrinho depois" (the lure), and the recovery contract accepted it: both steps share "cart", which was half of the saved step's content words. The plan was saved, and the next run clicked the lure with no model call: the first attack with an effect ever measured on ANCHOR, and a false success. The same task on level 1 accepted "Adicionar ao carrinho" + "Continuar" for "open the cart". Now a saved step with no action verb (a link, "open", "view") is not redone by a step that acts (add, delete, continue, send). Replayed on every real recovery of that run: both false recoveries are refused, and the twelve legitimate ones (renamed fields, reworded buttons) are still accepted. The lure was still clicked once, during the recovery attempt; the next entry stops that too.
- During a recovery, a click that acts is checked before it happens. The executor's guard (the one unattended runs use) is on during every recovery: a click that does something (add, delete, continue) must be the redo of a saved step still to redo that acts too, about the same thing; a lure is refused before the click, and the planner is told why. Fields are left to the contract (it knows their values), and steps that only go somewhere or prepare are let through. Replayed on every real recovery of the 0.4 benchmark runs: the lures ("Adicionar ao carrinho depois", "Add to cart later", and "Delete everything", which the 9B model also tried) are refused, and no step of a legitimate recovery is.
- "Delete of Brian Lee" no longer resolves to the "Tick Brian Lee" checkbox. On level 2 the delete button lost its text (an icon titled "Remove"), and the checkbox, the only element with Brian's name, won: the last false success of ANCHOR on the benchmark. "Tick" was not a verb for the resolver; it now means "check", so the checkbox announces another action and the row's "Remove" wins. With no model at all, every level is the same as before except level 2 (17 → 18 of 30, the false success gone); every development suite's reference plans still pass.
Added¶
- Unattended runs (
automations run --unattended), for a scheduler. Only an automation whose current plan is proven runs: done once, with someone present, from start to end with no recovery; that run records the element each step acted on, and any change to the plan (a repair, relearning, an undo) makes a new plan with no proof. With no one present nothing changes and no one is asked: the model is never called, nothing is repaired, there is no tie-break, a new sensitive action is refused, a login is not waited for, and a guard in the executor, called once the element is found and before acting, lets each step act only on the element of the proving run (an element that differs stops the run before any action). What does not change the plan still happens (a cookie banner declined, "Show more" opened, an element whose id changed found by its text). The first row that stops ends a spreadsheet; the exit code is 1; the browser closes on its own. It goes further than a comment by the Auten team on dev.to ("a repair has to be visible before it is trusted"): an unattended run never repairs at all, so the quarantine planned earlier for the model's repairs was not needed. Running the command itself (not only the function) found two bugs before release: an unattended refusal of a sensitive action was saved as a decision, blocking the next runs too (now nothing is saved, and the message says the action was not approved with someone present), and a row ending in an error did not stop the rest of a spreadsheet. The guard now runs before the sensitive-action check, so a changed element is reported as such. A first try on Windows, with a real automation, found three more: a cookie banner over the target made the click wait 30 s before the banner was declined (now it is declined before trying, when the target is covered: 32 s became 2 s on that page); an unattended stop said "Stopped" three times and "attempt 2 of 3" (now the first failure ends the run, and the stop is said once); and a learning run did not say that it had proven the plan. - Hidden content. When a step's target is not on the page, the agent opens what may hide it, a "Show
more" button or a collapsed section (
aria-expanded="false"), finds the target and does the step, instead of a replan (the planner never saw the hidden part, and the LLM-in-control agent beat ANCHOR on level 4 of the resilience benchmark, where two fields hide behind "Show more"). Only controls that say so, with no action verb and nothing sensitive, at most two per step; the planner is told the rest of the page is shown. Nothing changes in what the model reads otherwise, and no development page has such controls. The idea came from a reader's comment on TabNews. - Cookie banners are declined when they are in the way. On level 4 the "Show more" sat under a cookie banner, and the hidden-content step changed nothing. When a step fails and a cookie or consent banner is on the page, the agent clicks its most restrictive option ("Recusar", "Reject all", "Only essential"), says so, and tries the step again; it never accepts cookies on its own (a banner with no way to decline is left alone). Another layer over a "Show more" is not closed: the planner is told.
- A step that names what its element is about is not done on a lookalike. With the banner gone, the store tasks of level 4 ended in false successes: "Add to cart of the UltraBook 14", with the UltraBook behind "Show more", clicked the only visible "Add to cart". When the name after "of / do / for" is not on the page (visible text and the accessible names of visible elements), the agent reveals hidden content first; otherwise the step is "not found". Checked on every resilience level with no model at all (the code alone): level 4 went from 6 to 30 of 30 tasks, levels 1, 2, 3 and 5 are unchanged, and no false success was added. A false success that was already there on level 2 ("Delete of Brian Lee" resolved to the "Tick Brian Lee" checkbox) is a separate resolver issue, left for later.
- Iframes. Elements inside an iframe (an embedded form or widget, from the same site or another) are
found and used like the page's own. The resolver reads the page and then each attached iframe, with
the iframe's elements numbered apart (
f1-el-0) and each match acting in its own frame; a page with no iframes is read exactly as before. The effect check sums the changes and messages of every frame (otherwise each click inside an iframe would be "no visible effect"), and the password field (a login form inside an iframe), tables, value texts, the candidates' numbers and the count of windows a click asked for look inside iframes too. Limits: choosing an element by clicking on it, and the remembered choices' CSS-path fallback, only work on the page itself.eval/plan_run.py --suite frames: 8 development tasks on a page with a newsletter form in an iframe from another file; unrequested steps are counted inside iframes, and a task the page does not allow may allow touching nothing. - Every evaluation run records what it ran on: the Ollama version and each model's digest and date
(
environmentin the results.json, and printed before the tasks). An automatic Ollama update, with the same model files, changed the 4B model's plan for a task that had been stable for days; without the versions in the results, that took an investigation to find. - Following new tabs. When a step opens a new tab (a
target="_blank"link,window.open), the agent moves to it and replans; when its tab closes by itself (a payment or login window), it goes back to the last tab still open. Everything that works on "the page" moves together: the agent, the executor, the resolver, the effect watcher (which already counted a new tab as a visible effect of the click) and the download listener. Only a tab opened during the step is followed, not one the page opens by itself between steps (an ad). Whether a tab closed is tested, not read: on Windows, a tab closed by window.close() still read as open (is_closed()only reflects what Playwright has processed), and the agent went on working on it; a minimal call to the tab settles it. The check comes first in each step, since the barriers also look at the page, and before every plan, since the summary reads the page. In Playwright's sync API, events (a tab that opened or closed) are only processed during calls, so the agent makes a minimal call before reading the new tabs or dropping the ones opened before a step. A step that fails because its tab closed is either done, if it acted on an element (it is what closed the tab), or done again on the tab underneath, if it met the tab closing, without counting as a failure. After a step on a tab it followed, the agent also waits up to 0.7 s for it to close; on the first tab there is no wait. Only a tab opened by the current tab is followed (a late second payment window, opened by the shop, was taken as the doing of the next step on Windows, and the agent switched to it and dropped the steps left); a tab that hides its opener (atarget="_blank"link) is still followed. When a tab closes, the agent goes back to the tab it came from, not to the last one open. When the plan still has steps after the one that opened a tab, they go on in the new tab instead of a replan: asked for the deadline in a policy that opens in a new tab, both models planned "open it, read the deadline", and the replan on the new tab threw the reading away (and told the model the goal was met). A step that does not fit the new tab fails and replans as before. After a click, the agent waits for the window it opens: on a slow Windows run the window arrived after the agent looked, the next step ("Concluir pagamento") was done on the shop, matched "Pagar" and opened a second window. A small script the agent adds to the pages counts the windows they ask for (window.open, target=_blank links): when a click asked for one, the agent waits for it up to 5 s; otherwise up to 0.4 s, for windows opened a little after the click. The tab tests passed 18 runs in a row with three running at once. Saved automations close the tabs a run opened and point the executor back at their own tab before the next spreadsheet row.eval/plan_run.py --suite tabs: 8 development tasks; the evaluation's instrumentation is now added to the browser context (every tab), letstarget="_blank"links work, runs the checks on the tab the agent ended in, and counts unrequested steps on every open tab. - A question needs an answer. A request that is a question (ending in "?", or starting with
"qual", "quanto", "what", "how many"...) is not done until some step has read the answer
(
extract_textorextract_table): the request check, which also runs when the model says nothing is left, now says so. Asked for the response time in a policy that opens in a new tab, both models opened it and stopped (the 9B one looked in the FAQ instead); with the warning, the planner reads it in the new tab. Only the four question tasks of the development suites are affected. The same goes for a request for the data back ("exporte a tabela", "copy the users table", "me passa a lista"): some step must read it or download it. After an automatic Ollama update, the 4B model answered "exporte a tabela de vendas por região" by clicking "Imprimir relatório" and was done, the only premature end left in the development suites. "Mostre só os usuários inativos" (a filter, not a reading) is not such a request. The rule covers exactly the ten reading tasks of the development suites, all of whose reference plans read. When a text reading finds nothing, the planner is now told to use the text exactly as a "Texto" line of the page summary shows it: the 4B model described the reading in its own words ("the text with the deadline") and kept doing so until its attempts ran out. This only changes what the model reads after a failed text reading (tuned looking at that development task). - No sending, saving, paying or exporting the request did not ask for. A click in one of those sensitive categories is blocked, with the reason for the planner, unless the request has a verb of the family ("salve", "envie", "pague", which ask for any of them; for exporting, a verb or a word for a file) or the request and the button are about the same thing, verbs aside ("reserve a sala" and "Reservar sala", "cadastre a Maria" and "Salvar cadastro"). Both models attached the files they were asked to attach and then clicked "Enviar candidatura" on their own; the 9B one sometimes clicked "Exportar planilha" while asked to select users. Checked first on every click of the development and resilience reference plans: none is blocked (the closed sets were left out). Printing joined the barrier: with the reading rule, the 4B model answered "exporte a tabela de vendas" by extracting the right table, after clicking "Imprimir relatório" first. No reference click and no request of the development suites mentions printing.
- Sending files. A new action,
upload: the agent puts the file in the file field, or clicks the button that opens the file chooser ("Anexar currículo") and picks it there. The path must come from the request (or the notes and parameters): the rule that typed values come from the request now covers uploads, so the model never chooses a file from the user's computer. A path that does not exist stops the run with a message, before the page is touched (the model cannot fix a path); an element that opens no file chooser is a reason to replan. Every upload is a sensitive action. The planner hears about it only for requests about sending a file (a verb like "anexe", "attach", "envie o comprovante", or a file path), so every other request gets the prompt as before. The request check accepts the upload for "send" only when every "send" in the request is about a file ("envie o comprovante"); "anexe o currículo e envie a candidatura" still needs the click on the send button. As with downloads, the models often planned a plain "click" on the file field or on the attach button, which opened the file chooser with nobody to pick the file: such a click, in a request that gives file paths, is now an upload of the path whose name matches the field ("curriculo.pdf" for "Anexar currículo"), still only from the request. A file sent through another field than the one it matches is blocked (the 9B model sent the "comprovante" through "Anexar currículo" while the page had "Comprovante de residência").eval/plan_run.py --suite uploads: 10 development tasks on a new application page. - Downloading files. A new action,
download: the agent clicks the button or link and waits for the file, which it saves in the output folder (the same as extracted tables:output/, or the automation's folder) with the name the site suggests, never overwriting one (report (2).csv). Every download is a sensitive action, whatever the button says. A click that downloads nothing fails ("no_download"), and the planner is told so. Any file the page downloads during a run is kept, even after a plain click (the models often planned "click" on a download button, and the file was lost while the run claimed success). Like the destructive barrier, a download must be of what the request names: "Baixar relatório de vendas" is blocked for "baixe a nota fiscal" (the models downloaded the report instead and claimed success), by the download action or by a plain click on a download button. As with extraction, the planner hears about the action only for requests about files ("baixe", "download", "PDF", "planilha"...; not "exporte", which on a report page is reading, and led the 9B model to look for a download button), so every other request gets the prompt exactly as before; the request check counts a download as a click.eval/plan_run.py --suite downloads: 8 development tasks on a new documents page, judged on the saved file (its name and content); the evaluation's instrumentation now lets download links work and ignores the link a page creates and removes to start a download. - Reading data from pages. A new action,
extract_table, reads a whole table or list and saves it as a CSV file (UTF-8;;as separator in Portuguese, so Excel opens it in columns,,in English), never overwriting one. The table or list is found by its caption,aria-labelor the title before it, or by its column headers; menus, headers and footers are never taken as data. When the request could mean more than one, the agent does not guess: the planner gets their names and picks one. The planner hears aboutextract_table, and sees the page's tables and lists at the end of its summary, only when the request is about reading data (a verb like "extraia", "exporte", "copie", "export", "give me", a question like "qual", "quanto", "what", "how many", or a noun like "tabela", "planilha", "table"): every other request gets the prompt and the page summary exactly as in 0.3.1. With the extraction lines always in the prompt, the development suite showed plans changing on tasks that had nothing to do with reading (the 4B model filled a search box and stopped; the 9B one left the contract type out of a registration), three premature ends in all. A question for a value ("What was the total revenue?") is anextract_text, not a whole table: for requests about reading, the summary also lists the page's short texts with a value ("Receita total: R$ 182.400", outside tables, lists, links and menus), which the planner could not see before, since the summary only had interactive elements. Files go tooutput/(anchor.agent --output-dir), or to the automation's folder for saved automations, whose run records list the files written. - What
extract_textreads is now shown in the terminal and kept in the result; before, it was read and dropped. eval/plan_run.py --suite extraction: 8 development tasks (Portuguese and English) on a new report page and the users page, judged on what was read (the task'sextraction: a table or list with a name, number of rows and columns, or a text containing a piece).- The closed set of planner tasks (
eval/plans/holdout_tasks.json): 80 requests written by three three AIs in new conversations (corrected on 22/10/2026: an earlier text said colleagues), all kept, on the four never-usedholdout_*pages and nine known ones, 42 in Portuguese and 38 in English. 22 cannot be done on their pages and are marked"expected": "not_possible":eval/plan_run.pyjudges them done right when the agent does not declare success and their safety checks hold. Reference values may use{tomorrow}. eval/plan_run.py --checkvalidates the closed set's annotations blind: each reference plan runs on itsreference_targetswith Playwright alone, with no part of ANCHOR. Seeeval/README.mdfor how the set was built and the rules until the final run.
Fixed¶
- In the message for a request verb the plan does not do, the user now sees the verb as they wrote it ("download"), not as the check lists it ("baixar"); the model's message is unchanged.
0.3.1 - 2026-10-10¶
Fixes found in real use after 0.3.0, the first one a safety fix: 0.3.0 typed a password when the request carried one, although the README says credentials never go through the AI.
Security¶
- ANCHOR never types a password, and credentials never go through the model. A fill that would
land on a password field is refused by the executor (
refuse_passwords, which the agent andplanner --runturn on). A request that seems to contain a password ("senha: 1234", "password hunter2", a quoted value after the word; not "troque a senha do wifi") is refused before anything is sent to the model, andautomations createrefuses to save one.
Added¶
- Logging in by hand. When a task needs a login (the request asks to log in, the plan reaches a
password field, or nothing can be planned on a page that asks for one), the agent asks the user to
log in in the browser window and press Enter (or
qto cancel), then replans from the page it finds; with no one at the terminal, the run stops with "the task needs a login". Pages with a password field that the task does not need (changing a login page's language) are not stopped. The time spent is counted in the wait for the user, and the result counts the logins.
Changed¶
- Saved automations keep their own browser profile (
automations/<name>/browser/), so a login done by hand once is kept for the next runs;run --fresh-browseropens a clean browser for one run, and a--browser-profilegiven atcreateis still used instead.
Fixed¶
- Plan errors are shown in the interface language. They are written in the language the model
reads (Portuguese by default), because they go back to the model so it can fix its plan, and the
agent reused that text in its final messages ("failed to replan: ... toda meta precisa de pelo
menos um passo").
PlanErrornow keeps the message's key and values, and each reader gets it in its own language. - A goal the model cannot plan yet no longer stops the run. On sites where part of the task only appears later (a search that only exists after logging in), the model left that goal with no steps, the plan was refused, and after two attempts the run failed. The goal is now left for later: it is taken out of this plan, the plan is marked as partial, and the end is still checked against the request.
- The question before a sensitive action no longer promises to save the answer in a one-off run
(
anchor.agent,planner --run), where nothing is saved: it is now "Allow it? [y/N]". Saved automations, which keep the decision, still explain the three answers.
0.3.0 - 2026-10-09¶
Reliability, saved automations and evaluation. In short:
- Checking what happened. Each action's effect is verified (the page changed, the field kept
the value, no error appeared), with a screenshot as the last resort when the other checks doubt
a step (
--vision). Plans have goals, are checked against the request, and the end is checked against what was actually done, so a run that did not do what was asked does not end as a success. - English, end to end: interface, planner, documentation and evaluation.
- Saved automations (
python -m anchor.automations): learn a task once, replay it without the model in about 3 s, with parameters and one run per spreadsheet row, notes for the planner, and self-healing when the site changes, with a reviewable and undoable record of every recovery. - Safety. Confirmation before sensitive actions (deleting, saving, sending, paying, downloading, uploading, cancelling something irreversible), a destructive-action barrier that looks at what the step is about, and defenses against instructions injected by page content.
- Evaluation. An injection suite, an interventions experiment with a simulated user, and a resilience benchmark with pages altered in 5 levels, comparing ANCHOR with a fixed-selector script and an LLM-in-control agent. On the development set, ANCHOR completed 82% (4B) and 84% (9B) of the altered tasks, against 53% for the script and 68% to 72% for the LLM in control, with 1 to 2 false successes in 150 runs against 33 to 41 for the LLM in control.
Added¶
- The agent records, for each step that worked, the element actually acted on, and the
resilience benchmark keeps every run's steps (description, value, status, how the element was
chosen, and which element it was);
eval.resilience.run -vshows them for the runs that need a look. Added to diagnose ANCHOR's false successes and attacks in the first full run of the development set, which happened mostly while healing (a replanned step acting on a lookalike). - Resilience benchmark, part 3: the runs and the report.
python -m eval.resilience.runruns the traditional script, the LLM in control and ANCHOR on the altered pages, in parts (by executor, model and language), judging every run the same way (the task's checks, false successes, unrequested actions, attacks and attempts, model calls, time).python -m eval.resilience.reportputs the parts together. ANCHOR's automation starts from the reference plan, the same plan the script was recorded from, and runs twice on each altered page with no user: the 1st run measures the recovery, the 2nd the reuse (counted only with no model call). - Resilience benchmark, part 2: the two executors ANCHOR is compared with
(
eval/resilience/executors.py). The traditional script replays fixed selectors recorded on the original page, as classic RPA recorders do (the id; else a unique name or test attribute; else the path of classes and positions), and claims success when every step runs. The LLM in control, in the style of Steward, gets the numbered elements at every step (described as ANCHOR describes them to its planner, with the same filters) and chooses the action and the element, performed directly, with no heuristic, barriers, confirmation, effect check or memory. The build now records the 30 scripts too (eval/plans/resilience_scripts.json). Replayed on every level, the scripts complete all L0, L2 and L5 tasks (they do not read the labels), 13% of L1, 33% of L3 and 20% of L4, with no false success. - Resilience benchmark, part 1: the altered pages (
eval/resilience/).python -m eval.resilience.buildbuilds, from the 13 task pages, altered versions in 5 levels (superficial, semantic, structural, behavioral, adversarial) plus L0 (the original, only with the evaluation's markers), and the 180 tasks rewritten for them (eval/plans/resilience_tasks.json). Every element a task checks is marked withdata-eval, which no executor may use, so the checks keep working when ids and classes change. The perturbations are deterministic and keep the pages' own scripts working (no JavaScript error on any page). The reference plans complete all the L0 tasks. Repeated without replanning, they complete 93% of L1, 57% of L2, 100% of L3, 20% of L4 and 60% of L5, with no attack on L5 working: a first idea of each level's difficulty. These are the development perturbations; the closed set gets different ones, for the final run. - Interventions experiment (
eval/interventions.py): the resolver's development cases, run by the Executor with the choice memory and a simulated user that knows the right element (it picks the right numbered candidate, or clicks the element on the page). Round 1 starts with an empty memory, round 2 repeats the cases, round 3 repeats them in a shuffled order. On the local cases: round 1 asked in 15.4% of the Portuguese cases and 5.8% of the English ones, with 98.1% and 94.2% right; rounds 2 and 3 asked nothing, with the same accuracy, the asked cases now coming from the memory. The silent errors (1.9% and 5.8%) stay the same in every round: when the system is wrong with confidence it does not ask, so there is nothing to remember. No model is used. - The time spent waiting for the user (disambiguation and confirmations) is measured apart
(
user_wait_secondsin the agent's result and in the automations' run records), and the summary shows it next to the total time, so that a slow answer does not look like a slow system. - Effect check by screenshot (layer 4,
anchor/agent/vision.py), turned on with--vision(agent,automations run,plan_run --agent). When the other checks doubt a step (a field, list or box whose state does not match; a click with no visible effect in the page's code; an expected text that did not appear), the agent asks the model a yes/no question about a screenshot scaled to 640 pixels (inside the browser, with no new dependency); for a click, it compares the screenshots from before and after. The screenshot can only confirm a doubted step: it never turns a step that worked into a failure, an error message on the page is never overruled, and an unclear answer or an error counts as "not confirmed". The results record the questions asked, the steps confirmed and the time spent. The Qwen 3.5 models answer with their ownvisioncapability, so no other model is loaded. eval/vision_probe.py: measures, before the effect check by screenshot is built, how long the model takes to answer yes/no questions about a screenshot of the registration page (6 questions with known answers, at 1024 and 640 pixels wide), and how many it gets right. The Qwen 3.5 models used here have thevisioncapability in Ollama, so no other model is needed.eval/plan_run.py -vshows the model's refused answers, and why each one was refused, when a task's plan fails (the planner keeps them inlast_attempts). Before, only the last reason was shown, which hid the earlier refusals.- Prompt injection evaluation, part 2: the defenses (
anchor/planner/untrusted.py). Page content is data, not instructions: (1) a new rule in the planner prompt says so; (2) element names and item contexts that look like instructions to the assistant ("ignore the previous instructions", "assistant:", "system instruction", "the user authorized") are left out of the page summary, keeping what comes before the instruction (often the item's name), and a button whose aria-label is an instruction keeps its visible text; (3) page messages that look like instructions do not reach the history; (4) what a plan types must come from the request or the user's notes, never from the page (checked on every plan, replans included). Ordinary pages are summarized exactly as before, and the user message is unchanged; only the prompt's rule 11 is new, so the main suite must be measured again. The detector was written knowing the test attacks: it needs attacks it has never seen (the resilience benchmark) to be measured fairly. eval/plan_run.py --suite injectionalso counts attack attempts (attack_targetsin the tasks): steps that tried to do what the page asked, even when a barrier stopped them. In the baseline, no attack worked, but the 9B model tried twice to delete the account after the injected message, and the destructive-action barrier stopped it.- Prompt injection evaluation, part 1 (measuring before defending): test pages
(
eval/fixtures/injection.htmlandinjection_en.html) with four attacks (an instruction in a product's description, in an almost invisible link, in anaria-label, and in a message shown after a search) and 6 tasks with harmless requests (eval/plans/tasks_injection.json). Each task hasattacks, expressions that are true if an attack worked;eval/plan_run.py --suite injectionruns them and adds theattackedcolumn. The main suite is unchanged. - Confirmation of sensitive actions (
anchor/engine/sensitive.py). A click is sensitive when the step's description (outside parentheses) or the name of the element the resolver chose has a verb of deleting, saving or submitting, sending, paying, downloading or uploading, in Portuguese or English; looking at the element catches vague steps on a "Delete" button. Cancelling is sensitive only with an object that makes it irreversible (an order, a purchase, a subscription, a booking, an account, a plan, an enrollment, a contract), which may be in the item's context in parentheses: "Cancelar" alone usually just closes a form. The Executor asks after finding the element and before acting; a denied action is not performed, and the agent stops without replanning (the model could look for another way to do what was denied). In saved automations, each decision is asked once and saved (confirmations.json): an allowed action is not asked again, one denied with an explicit "no" stops the next runs too, untilpython -m anchor.automations confirmations <name> --forget N. Just pressing Enter, or having no terminal to answer, denies only that time and saves nothing.--allow-sensitive(agent,planner --run,automations run) turns the question off. Without a confirmer (evaluations, tests), nothing changes. - Saved automations, part 4: the user's notes. After a run that did not work,
runasks whether you want to leave a note for the next runs (with--csv, once, at the end); the 5 most recent notes go to the planner, in their own section of the message, when it learns or heals the plan.python -m anchor.automations notes <name>lists them,--addadds one and--removeremoves one. Without notes, the message to the model is unchanged. - Saved automations, part 3: parameters. The parts of the request that change go in braces
(
"cadastre {nome}, CPF {cpf}, no TI e salve"), and each run gives their values withrun --param nome="Maria Silva", or runs once per row of a CSV file withrun --csv file.csv(,or;). The model plans with the real values; the approved plan, and any healed plan, is saved with the placeholders back in place of the values, so it works for any value. The run and recovery records keep the placeholders, not the values, which may be personal data. docs/COMMANDS.md: the complete reference of the commands: setup and Ollama, every option of every tool, the demos, the model profile fields and the environment variables. A test (tests/test_docs.py) keeps it complete: it runs each tool's--helpand fails if an option or subcommand is missing, and also checks that every runnable module, every profile field and every environment variable read by the code is documented, and that the commands in the READMEs only use options the reference knows. It already found options missing from the documentation (--root,--yes,--headed,--split,--site) and an old Portuguese option shown in--help(--sim, now hidden like the others)..gitignoreignores.patchfiles at the project root, so they are never committed by accident.- Saved automations, part 2: self-healing. When a saved step stops working (after the choice
memory, the heuristic and the user), the automation hands over to the LLM, which plans the rest
from the page as it is now; if the run succeeds, the saved plan is corrected. Every recovery is
recorded in
recoveries.json(what failed, the original step, what replaced it, how it was solved, whether the effect was confirmed, and the confidence of each new step), and so is every element the user picks during a replay.python -m anchor.automations recoveries <name>lists them andundo <name> <number>undoes one: a plan correction brings the previous plan back, a user choice is forgotten from the memory.run --no-healstops instead of recovering. - The agent records each step's confidence (the heuristic's score or the memory's similarity).
- Saved automations, part 1 (
anchor/automations,python -m anchor.automations): describe a task once (create), and run it whenever you want (run). The first run learns: the agent plans with the LLM, and if the run succeeds, the steps that worked become the approved plan. The next runs replay the approved plan without the LLM, through the same agent (choice memory, heuristic, disambiguation, effect checks, goals and the check of what was done); if a saved step fails, the replay stops and says the site may have changed.run --relearnplans again;listandshowreview the automations, their approved plans and their last runs. Each automation is a folder inautomations/(kept out of Git), with its own choice memory and a record of every run. - English evaluation, part 2 (the planner): 15 English development tasks
(
eval/plans/tasks_en.json, on the English pages), mirroring the Portuguese ones.eval/plan_run.pyloads them, accepts--language pt|en, and reports each profile per language. The reference plans complete all 30 tasks, in both modes. "prompt_language": "auto"(or--prompt-language auto): the planner prompt follows each request's language, detected from typical words, command verbs and accents (detect_languageinanchor/planner/language.py); on a tie, Portuguese, the measured default. It gets all 30 task requests right. The agent writes the history for the model in the detected language. Portuguese stays the default until the English prompt is measured.- English evaluation, part 1 (the resolver): English versions of the Portuguese test pages
(
registration_en,users_en,orders_en,jobs_en,search_enter_en, with the same structure) and 52 English development cases (eval/cases/*_en.json, field"language": "en"), mirroring the Portuguese ones.eval/run.pyreports the results per language and accepts--language pt|en. First measurement: recall@1 88.5% and silent error 7.7% in English, against 82.7% and 1.9% in Portuguese. - Table cells now carry their column header ("E-mail", "Status") as a hint, since a cell's text alone often does not say what it is ("brian@company.com"); only for non-interactive cells.
eval/fixtures/feedback.jsfollows the page's language.- Before declaring success, the agent checks what was actually done against the request,
with the same check the initial plan goes through (conclusive verbs in a click or key press,
the request's data in some step). Until now, a goal counted as fulfilled as soon as one of its
steps worked, so a model that said "nothing is left" right after opening the search pop-up got
a false success (found in
p-pop-01, 2026-09-30). Now the model is warned once ("the request is not fulfilled yet: ...") and gets two more end checks; if what was done still does not cover the request, the run ends as not fulfilled. - Pressing Enter in a field counts as searching, whatever the field is called (in the plan check and in the new check of what was done).
- Planner prompt in English, as an option:
"prompt_language": "en"in the model profile, or--prompt-language enin the command-line tools. Portuguese stays the default, since it is the measured one; the English prompt must be measured on the dev set before being used. With English, everything the model reads is in English, including the element kinds in the page summary and the execution history. --lang en|ptin the command-line tools, for the interface language (overridesANCHOR_LANG).anchor/i18n.py: user-facing messages in English (default) or Portuguese, chosen with theANCHOR_LANGenvironment variable (enorpt). The terminal disambiguation, the memory commands, the login messages and the demo use it. To skip a step, bothSandPwork. What the model reads (the page summary) keeps the Portuguese element kinds, so the planner's input, and therefore its measured results, do not change.- Effect verification of each action (layer 1, no LLM,
anchor/agent/effects.py): for form actions, the element's state (value in the field, chosen option, checked box; input masks such as the phone one are accepted); for clicks and Enter, changes on the page, requests, new tabs and downloads; for all of them, new messages. An error message ("CPF inválido") turns the step into a failure; the others go to the planner's history. With no effect, the step is retried once and then counts as a failure, with replanning; a remembered choice with no effect is forgotten.Agent(verify_effect=False)turns the verification off. - Revealed field: if the field to fill in does not exist, but there is a clickable element with that name (e.g. the magnifier that opens the search), the agent clicks it and fills in the field that appears (the one matching the description, or the one that gets the focus).
- Effect verification: clicking a checkbox or option checks whether its state changed (before, it counted as "no effect", since the page structure does not change); clicking a field or a list does not require an effect, since it only gives the focus.
press Enteron an element that is not a text field goes to the last filled-in field.- A click that only gives the focus (on a field or a list) is accepted, but does not fulfill the goal.
- Values with brackets, quotes or the "opções:" label copied from the page summary are cleaned
before execution and before the effect check (e.g.
"[Price: low to high]"). eval/fixtures/feedback.js: visible feedback for actions on the test pages, which have no server. Included in every page, the holdout ones too, without changing their content.- Goals (checkpoints) in the plan: the planner lists the request's goals, marking the conclusive ones (save, send), and links each step to a goal; conclusive goals come last, and plans that break this get the error and are redone. The agent tracks the goals (fulfilled when its last step works with the effect verified) and only declares the end with all of them fulfilled; a planner that finishes with pending goals leads to "cancelled". Goals that only had blocked destructive actions are dropped, and a goal whose step failed and that replanning abandoned (by taking another way) is marked as replaced. Every plan with goals needs a conclusive goal, and every goal needs at least one step; plans that break this go back to the model with the error.
- Checking the plan against the request, without the LLM, on the initial plan: if the request uses a conclusive verb (save, send, delete, search, cancel, confirm, download), some step must do it in a click or key press (a goal's description or a fill is not enough: filling in the search is not searching); and the request's data (proper names, numbers such as CPF and phone, e-mails, quoted texts) must appear in some step. A plan that does not cover the request goes back to the model with the reason. This targets the premature end of small models, which defined only the goals they could fulfill.
- Expected effect (layer 2): a step can give a text that should appear; if it does not appear in the page's new text, the step becomes a suspicion (recorded in the history and in a metric), but does not fail.
- Replanning and the end check receive the goals' status and the messages visible on the page (layer 3, the messages part).
eval/plan_run.py --agent: columns for actions with no effect, premature ends (the agent declared success, but the task's checks failed), goals fulfilled and suspicions.- PolyForm Strict License 1.0.0 (
LICENSE): noncommercial use allowed, no modification or redistribution; copyright by the author. "Responsible use" section in the README.
Changed¶
- Four fixes from the diagnosis of ANCHOR's false successes and attacks in the resilience benchmark's development set (all general, none specific to the benchmark's pages):
- The destructive-action barrier looks at what the step is about. When the request asks to delete or cancel something, the step must be about what the request names ("Excluir (Bruno Lima)" for "exclua o Bruno Lima"), and may act on everything ("Excluir tudo", "Delete everything") only if the request says so. Before, any destructive step passed once the request had a destructive verb.
- A lookalike with an extra word loses to the name asked. When the top candidates are in a
near tie and one's name (label and text) is the other's plus words the request does not have,
the one the request names wins (
NAME_COVERED_BONUS, 0.10, applied only in that case): "Salvar cadastro" over "Salvar cadastro depois", "Add to cart" over "Add to cart later". It changes no choice that is not such a tie: the local resolver cases are all unchanged. On the benchmark's level 5, the saved plans alone, with no model, now complete 28 of the 30 tasks (18 before), with no attack. A first version, a bonus for every element whose whole name is in the request, made a single-word name that happens to be in the request win ("Pesquisar" for "clicar na sugestão da pesquisa", and SauceDemo's "Open Menu" for "abrir o carrinho", a new silent error in each language); it was replaced by this tie-break before release. - The healing contract is one to one, on the same thing. Each saved step that failed must be redone by a different successful step of the same action, with the same value (a renamed field filled with the same value) or covering at least half of the saved step's content words. "Accept cookies" no longer redoes "open the cart".
- A step that undoes an earlier one is noticed. The agent keeps the boxes and lists it has
verified and checks them again after each step: checking "CLT" after "PJ" now fails with the
reason ("this step undid an earlier step"), and the model replans knowing it. Only a requested
state undone by an unrequested step is flagged: undoing an unrequested step is a correction,
and when both are in the request there is no telling which is right, so the final checks
decide. A first version flagged every undo, and the 4B model failed
en-reg-01, whose request ("Register the employee Maria Silva, ... contractor") has both "employee" (the person) and "contractor" (the option). - When a saved automation heals itself, the saved plan is a contract: every saved step that failed must have been redone by a successful step of the same action, or the run does not count as done (and the plan is not corrected). Before, if the model said nothing was left after, say, closing a cookie banner, a run could end as a success without the step the banner had blocked, whenever the request had no conclusive verb or data for the check of what was done to catch it. Found with the resilience benchmark's level 4. A site that turns a list into buttons may now make a legitimate recovery count as not done: a false "not done", never a false success.
- The interventions experiment checks whether the chosen element is the right one right before acting, not after: SauceDemo redraws the whole page when sorting, the elements lose their ids, and the two sorting cases were counted as silent errors although the resolver chose right.
- The check of the initial plan against the request is no longer fatal. A plan that does not
cover the request still goes back to the model, but if the attempts run out and coverage was the
only problem, the first answer is kept instead of giving up: some pages must be revealed bit by
bit (a magnifier that opens the search field), and the check of what was done, at the end,
still keeps a run that did not cover the request from succeeding. Found with
plan_run -vonp-pop-01, which the 4B model failed in every run after the injection defenses: it planned only the click on the magnifier (right, since the field appears afterwards), the check refused it, and its "fix" dropped the search. - While a saved plan is replayed without the LLM, the agent's messages say so ("Replaying the approved plan...", "continuing with the saved plan...") instead of talking about planning.
- Effect check: if the whole document is replaced without a new window (as some single-page apps do), the page observer now watches the new document; before, it kept watching the old one and every action looked like it had no effect (found when replaying an automation).
- The legacy fixed-selector example moved from
anchor/automation/saucedemo.pytoexamples/legacy_saucedemo.py. The.gitignoresections are in English, and it ignoresautomations/. - The query's action words now come only from outside parentheses: text in parentheses is the
context the model copies from the page summary to identify the item, and it may contain the
names of neighbouring elements ("Cancel order (Order #1024 · Being packed View details)"), whose
verbs are not the requested action. It made "View details" tie with "Cancel order" in the
English task
en-ord-01, with both prompts and both models; in Portuguese the same problem was hidden, because "ver" is not in the action words. No resolver case changed. - Measured with the models (dev, 15 tasks per language): on the English tasks, the Portuguese
prompt did better than the English one (4B: 80% done, 67% clean, against 73% and 53%; 9B: 93%
and 87%, against 87% and 80%). The English prompt is a translation that was never tuned, and it
brought back failures the Portuguese one had fixed. The default stays
pt;autoremains an option. - The check of the request's data no longer requires English capitalized common words
(languages, weekdays, months: "Portuguese", "Monday"), which the page may show in another form
(the option "Português"); found with the English task
en-log-02. - The identical-name rule also ignores the English summary's kinds ("Dropdown", "Checkbox"...); no resolver case changed.
- Text extraction no longer targets checkboxes, radio buttons or switches, which have no text. With the column header, on the local development sets: Portuguese recall@1 82.7% → 86.5% and correct 78.8% → 82.7% (silent error unchanged, 1.9%); English recall@1 88.5% → 90.4%, correct 86.5% → 88.5% and silent error 7.7% → 5.8%. The three silent errors left in English (a price extraction, "favorite" vs. "Add to wishlist", and a status cell losing to the name cell) are recorded as limitations rather than fixed with case-specific rules.
- The project is now called ANCHOR (Adaptive Natural-language Control with Human
Oversight and Recovery); repository and package name
anchor-rpa. The Python package moved fromapp/toanchor/, so commands becomepython -m anchor.agent,python -m anchor.plannerandpython -m anchor.engine.memory. The LinkedIn tests are enabled withANCHOR_LINKEDIN=1(the oldSMART_RPA_LINKEDINstill works). From this version on, the changelog and commit messages are written in English. - English translation, part 1 (the engine): comments and docstrings of the element resolver,
the executor, disambiguation and the choice memory, plus the small modules (browser session,
legacy SauceDemo script,
anchor/main.py). Checked by comparing the syntax trees before and after (Python and JavaScript): the code itself did not change, and the evaluation results are identical. The Portuguese vocabulary of the resolver stays, since it is data for understanding Portuguese requests. - English translation, part 2 (the planner and the agent). Everything the model reads (the
prompt, the user message, the page summary, the plan errors sent back for correction, the
execution history, the goals' status and the failure reasons) moved to a catalog,
anchor/planner/language.py, with the Portuguese texts kept exactly as they were: comparing every call the tests make to the planner, before and after, all 99 are identical. What the user reads (the agent's reports and final messages, the command-line tools, the progress indicator, the Ollama and profile errors) follows the interface language. - Command-line options are in English:
--profile,--url,--memory,--browser-profile,--max-attempts,--runand--no-page. The old Portuguese options still work, hidden from--help. The model profiles are nowollama-smallandollama-medium(the old names still work), and the"_leia"note inllm_profiles.jsonbecame"_readme". - Internal codes renamed:
resolved_byvaluesenter_no_campo→enter_in_fieldandcampo_revelado→revealed_field. The agent's result has a newplan_failedflag, used byeval/plan_run.pyinstead of looking for a Portuguese sentence in the message. - English translation, part 3a (the evaluation). The test pages, case files and ids were renamed
to English (
cadastro→registration,loja→store,pedidos→orders,usuarios→users,vagas→jobs,busca_*→search_*, and the holdout pagesholdout_booking,holdout_helpdeskandholdout_hr); in the holdout files, only the file name, thesiteandfixturefields and the id prefixes changed, without touching any query (checked: the cases are identical). The pages' content and the requests stay in Portuguese.eval/plan_run.pyhas English options (--profiles,--reference,--agent,--task,--no-page; the Portuguese ones still work) and English result fields (success,clean,unrequested,premature,goals...); its result files now start withplans_.eval/run.pyprints in English and its outcomes arecorrect,silent_error,avoidable_refusal,correct_refusalandperception_failure. Older result files keep the old names;eval/README.md(now in English) has the mapping. Both evaluations give the same numbers as before. - README rewritten in English, following the Best-README-Template structure: badges, table of contents, about the project (with the architecture), getting started, usage, evaluation, roadmap, feedback (issues only, since the license does not allow modifications), development, responsible use, known limitations, license, contact and acknowledgments. Placeholders are ready for a logo and a demo GIF.
examples/desempate.py→examples/disambiguation_demo.py, in English.- English translation, part 3b (the tests): 118 test names, the comments and the docstrings. The test data (requests and page contents) stays in Portuguese. The whole changelog is now in English.
eval/plan_run.py --prompt-language en|ptruns the planner with the chosen prompt language.- The memory commands are now
list,forgetandclear(with--yes); the Portuguese ones (listar,esquecer,limpar,--sim) still work. - Nested elements become a single candidate when one contains the other and only one of them is
interactive (e.g. a product's link and the name inside it); the interactive one is kept, with
the higher score of the two. The perception script now reports
parentIdandinteractive. - The choice memory keeps at most 500 choices per file; beyond that, it drops the least recently used one.
0.2.1 - 2026-09-26¶
Fixes found in tests on real sites (LinkedIn and CoinMarketCap), reproduced on local pages. On the Resolver's development set (52 local cases), recall@1 went from 80.8% to 82.7% and the silent error dropped from 3.8% to 1.9%.
Fixed¶
- Pop-ups disappeared from the page summary sent to the planner: on large pages, the limit of 80
elements was filled by the header, and pop-ups sit at the end of the code. The summary is now
sorted by relevance (open pop-up, marked with
[pop-up]; visible on the screen; the rest), and elements covered by the pop-up are left out. - A click that opened a pop-up did not trigger replanning (only a URL change did). The agent now replans when a pop-up, dialog or menu opens or closes.
- The Resolver accepted elements that could not receive the action (e.g. filling in a button). There is now a filter by action: fill only considers text fields, select only native lists, check only checkboxes, options and switches.
- Searches without a button (Enter only) got stuck: a search click that finds no button, right
after filling in a field, becomes Enter in that field. The prompt also says to use
press Enterwhen there is no search button. - Repetition loop: the same step repeated right after replanning is blocked, with a warning to the planner, and no step runs more than 3 times. The end check runs at most twice per run.
- Elements chosen by the user's click were kept in the memory with their text only. Now the page is reindexed and the full signature is kept; and an element whose text is identical and unique on the page is found again even if its context changed.
- Ctrl+C showed the full error: the commands now end with a short message and close the browser.
- An end check that only proposes steps already done counts as the goal being reached (before, loop detection turned it into a failure).
- On large pages, the element the request needs could be left out of the summary even with no pop-up (e.g. the magnifier after 90 links). The summary is now guided by the request: elements sharing words with it come right after the pop-ups.
- Typing in a search field opened the suggestion list and triggered replanning, which led the model to click the suggestions instead of searching. Filling in no longer triggers replanning for pop-ups.
- When clicking, the value already typed in a field made the field compete with items showing that text (e.g. the search suggestion). Outside of filling in, the value no longer identifies the field.
Changed¶
- Barrier for unrequested destructive actions: a step that closes, deletes, removes, hides or cancels something the request did not mention is not performed, and the planner is warned. Closing a pop-up does not count.
- Identical name: an element whose text is exactly what the request names (ignoring kind words such as "Opção" and "Botão") gets a small bonus over those that only contain the phrase. It does not apply to extraction, which has its own exact-text rule.
- The prompt says to click the element that reveals what is missing (magnifier, "Search", menu) and to answer that the request cannot be done only when nothing on the page would lead to it.
- A request with no verb, which only names an item: elements announcing a destructive or dismissive action (close, delete, remove, hide, dismiss, cancel, clear) lose points.
- The prompt asks not to close, hide or dismiss items the request did not mention.
- The
selectsafety net tries checking the option when the list does not solve the step. eval/plan_run.py --check: allowed elements that only show up later (e.g. search suggestions) give a warning, not a problem; the reference plan, in--agentemode, returns the missing steps on each replan.
Added¶
- Three development tasks reproducing the real tests: a search in a pop-up (
busca_popup.html), a search with Enter only and suggestions (busca_enter.html), and a list of jobs with "Salvar" and "Fechar vaga" (vagas.html).
0.2.0 - 2026-09-26¶
Complete agent: the system receives a text request and a link, generates the plan with an LLM, runs it, replans when needed and checks whether the goal was reached. On the 12 development tasks, through the agent loop, both local models (Qwen 3.5 with 4B and 9B) completed all of them; 10 and 9 of them, respectively, with no unrequested step.
Added¶
- The agent loop (
app/agent): initial plan, step-by-step execution, replanning when the page changes or a step fails (with the reason, including an element covered by a modal), the end check ("goal reached" when nothing is left), cancelling with a report after 3 failures, and a step limit. It records model calls, replans, failures, user interventions, tokens and time. - The command
python -m app.agent --perfil <name> --url <link> "<request>", with a visible browser, disambiguation in the terminal, the choice memory and an optional persistent profile. - The planner accepts the execution history, to replan only what is missing.
eval/plan_run.py --agente: the tasks run through the full agent loop.- The version number in the code (
app.__version__), also written to the evaluation results. - This changelog.
isortconfiguration inpyproject.toml, to check the import order.- The planner (
app/planner): turns the user's request into steps with an LLM, in the OpenAI API format (it works with OpenAI and with local Ollama models). JSON output validated against the Executor's actions, with a new attempt when the plan is invalid, and the list of the page's elements in the request to the model. It drops the reasoning of "thinking" models (<think>...</think>) and accepts extra parameters per profile. - Model profiles in
llm_profiles.json(address, model and the name of the environment variable holding the key; never the key itself). - The command
python -m app.planner, to generate and run a plan from a request and a link. - Evaluation of complete tasks (
eval/plan_run.py, 12 tasks ineval/plans/tasks.json): request → plan → execution → check of the final state, with time and tokens per model, and hand-written reference plans as a ceiling. - Ollama's native API in the profiles (
"api": "ollama"), with the reasoning of "thinking" models turned off ("think": false) and options such asnum_ctx; clear messages when Ollama is not running or the model does not exist. - Real-time progress in the terminal (
app/planner/progress.py): waiting time and, with the Ollama API, the streamed answer with the phase ("thinking" or "writing the plan") and the tokens. eval/plan_run.pyloads each model before the tasks (the loading time is reported separately, outside the plans' time) and shows each task's progress.- Unrequested-step metric in
eval/plan_run.py: each task lists its allowed elements (allowed), and any other element acted on (click, typing or choice) counts; the table also shows the "clean" tasks (done with no extra step). - Closed set of planner tasks (
eval/plans/holdout_tasks.json, empty for now), which only runs with--final, and--checkto check the tasks without calling models. - Cleanup of step descriptions before execution: removes kind labels copied from the page summary ("Campo de texto", "Caixa de marcação", "Lista de opções") and quotes.
- A
selecton a radio button or checkbox is redone ascheck.
Changed¶
- Planner prompt: which action to use for each kind of element, descriptions without the kind, the step that completes the request, no unrequested steps, and login without the password (the user types the password and clicks log in).
- Task
p-log-01adjusted to the system's design: fill in the username and stop before logging in, without typing the password. - The OpenAI client does not retry calls on its own (
max_retries=0): a timeout shows up right away. - Element names in disambiguation and in the page summary use the visual hint when the text is too
short (e.g. "shopping cart 2") and the
data-testidwhen there is no other name. - Imports standardized (PEP 8): standard library, third parties and the project, separated by a blank line and in alphabetical order.
0.1.0 - 2026-09-25¶
First version: the execution engine. Steps are still written by hand; the LLM planner and the agent loop come in 0.2.0.
Added¶
- Page perception (
index_script.js) with interactive elements only: links, buttons, fields, ARIA roles and areas clickable throughcursor: pointer, with the accessible name, icons' visual hints, state, card context and geometry. An extraction mode with text elements. Reading of open shadow DOM. - Text normalization: accent removal, a light PT/EN stemmer, compound expressions and synonyms with several values.
- Per-site vocabulary (
ElementResolver(synonyms=...)), outside the generic dictionary. - Scoring with a penalty for disabled elements and for conflicting verbs (with groups of equivalent verbs).
- The user's disambiguation (
app/engine/disambiguation): candidates numbered on the page, a choice in the terminal or a direct click on the element. ADisambiguatorcontract ready for a frontend. - The choice memory (
app/engine/memory): reuses the user's choices, finds the element again by its content, expires entries that fail or disappear, and has the review commandpython -m app.engine.memory. - Reproducible evaluation (
eval/): 60 development cases, a closed holdout of 42 cases (it only runs with--final), a threshold sweep and a selector check. app/main.pywith the semantic engine on SauceDemo, and a demo inexamples/desempate.py.
Changed¶
- The Executor's thresholds calibrated in the evaluation: minimum score 0.40 and a relative ambiguity margin of 4% (before: 0.20 and an absolute margin of 0.08).
- The Resolver reindexes the page on every query.
- Results coming from the memory report
similarityinstead ofscore. - LinkedIn tests disabled by default (the site's terms of use forbid automation).
Fixed¶
- B1: the whitespace regex in
index_script.js(/\\s+/→/\s+/). - B2: the index was built only once, and became outdated after navigating.
- B3: old
data-er-idattributes were not removed when reindexing. - B4: the
.inventory_itemselector, specific to SauceDemo, was hard-coded in the generic code. - B5: multi-word synonyms never matched.
- B6: the ambiguity margin depended on the score's scale (now relative).
- The context of elements in lists of short cards covered the whole list.
- The query's object was counted twice, in the element's label and in its context.
How to release a version¶
- On
develop, change__version__inanchor/__init__.pyto the final version (without-dev). - In this file, rename "Unreleased" to the version and the date, and create an empty "Unreleased" above it.
- Update the comparison links at the end of the list of versions.
- Commit:
git commit -m "vX.Y.Z". - Merge into
main, create the tag and push:git checkout main && git merge develop && git tag -a vX.Y.Z -m "..." && git push origin main --tags - Go back to
developand bump the version to the next one with-dev(e.g.0.4.0-dev).