From 191310106111fd19f6e9e487305a5724cc9e82b7 Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 6 Oct 2026 14:33:34 +0200 Subject: [PATCH] =?UTF-8?q?Drop=20Advanced=20=E2=80=BA=20Other=20rules=20f?= =?UTF-8?q?rom=20the=20agent=20form,=20so=20an=20agent's=20gates=20are=20t?= =?UTF-8?q?he=20fetch=20gate's=20four=20parts:=20a=20stored=20gate=20the?= =?UTF-8?q?=20parts=20cannot=20say=20is=20named=20in=20a=20note=20under=20?= =?UTF-8?q?the=20fetch=20gate=20and=20sent=20back=20unchanged=20on=20Save,?= =?UTF-8?q?=20and=20the=20card=20still=20says=20it=20in=20words?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.1 --- app/static/agents.js | 137 ++++++++++++----------------- app/static/app.css | 12 +-- app/static/remote.js | 22 ++--- app/templates/settings/agents.html | 17 +--- tests/js/agents.test.mjs | 85 ++++++++++++++++++ tests/js/remote.test.mjs | 15 ++-- tests/test_web.py | 30 ++++++- 7 files changed, 193 insertions(+), 125 deletions(-) create mode 100644 tests/js/agents.test.mjs diff --git a/app/static/agents.js b/app/static/agents.js index c7b6bf8..e6f4e66 100644 --- a/app/static/agents.js +++ b/app/static/agents.js @@ -9,13 +9,15 @@ * ADR's order: the world (the scope select), the location (a short list of * lines a role passes by matching any one of: countries, towns, remote), the * role exclusion (the titles to leave out) and the role fetch (the fetch - * terms), over a row per remaining rule under Advanced; a gate the four parts - * cannot say lands in a row, so a load and a save lose nothing. A gate is a - * field, values and a mode (must, one of, not), with no weight. After it come - * the analytics filter (the best N by prompt closeness and the best M by CV - * closeness, each with a minimum level), the want feed score weights (prompt - * closeness, newness, company like, job like), the CV match weights and the - * size of summarise. Edit turns a card + * terms), and nothing else: seniority, pay and the like are filters on Roles. + * A gate is a field, values and a mode (must, one of, not), with no weight. + * A stored gate the four parts cannot say, which only the config or the API + * writes, is named in a note under the fetch gate and sent back as it came, + * so a load and a save lose nothing. After the fetch gate come the analytics + * filter (the best N by prompt closeness and the best M by CV closeness, each + * with a minimum level), the want feed score weights (prompt closeness, + * newness, company like, job like), the CV match weights and the size of + * summarise. Edit turns a card * into the form from the page's `