From 3c19ded0143ce40ec770ef1be1e0630d03c0806d Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 29 Sep 2026 16:45:59 +0200 Subject: [PATCH] Ask where a role can be as a list of lines it matches any of The Where block asked for a required country set and then a one-of set, in ISO codes. It is now one question, "Where can the role be?", with countries by name, towns, and Remote within Europe or anywhere, each line read on its own, and a sentence under it that is the card's. Other rules move under Advanced, open when the agent has one. The gates the API stores do not change. Co-Authored-By: Claude Opus 5.5 --- app/static/agents.js | 270 +++++++++++++++++++---------- app/static/app.css | 11 +- app/templates/settings/agents.html | 46 ++--- 3 files changed, 213 insertions(+), 114 deletions(-) diff --git a/app/static/agents.js b/app/static/agents.js index 34e3175..dc630d2 100644 --- a/app/static/agents.js +++ b/app/static/agents.js @@ -5,9 +5,10 @@ * switch, its prompts, its gates in words, its weights, and a link to the * Roles tab in its order. The prompts are the body, since fit is measured * against the one a role fits best; the weights only share out the terms. - * The form edits the prompts as rows, and the gates as a Where block for the - * usual location rules over a row per remaining rule; a gate Where cannot - * say lands in a row, so a load and a save lose nothing. Edit turns a card + * The form edits the prompts as rows, and the gates as a Where block, a + * short list of lines a role passes by matching any one of, over a row per + * remaining rule under Advanced; a gate Where cannot say lands in a row, so + * a load and a save lose nothing. Edit turns a card * into the form from the page's `