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 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-29 16:45:59 +02:00
1 parent 6124b00062
commit 3c19ded014
3 files changed
+213 -114

No files matched your search

+26 -20
View File
@@ -27,29 +27,27 @@
<span class="hint">A prompt is one kind of role in your own words: the work, the level, the setting. A role is ranked by the prompt it fits best, so three kinds of role are three prompts, not one blended paragraph. Votes and liked companies count for the whole agent.</span>
</fieldset>
<fieldset class="where">
<legend>Where</legend>
<legend>Where can the role be?</legend>
<span class="hint">A role passes when it matches any line; with none filled in, it can be anywhere. A role whose location is not known yet ranks until extract reads the posting.</span>
<div class="where-line">
<span>Only roles in</span>
<div id="a-in"></div>
<button type="button" id="a-europe" class="secondary">Europe</button>
<span>In these countries</span>
<div id="a-countries"></div>
</div>
<div class="where-line">
<span>and one of: in</span>
<div id="a-any-country"></div>
<span>In these towns</span>
<div id="a-towns"></div>
</div>
<label class="inline"><input type="checkbox" id="a-remote"> or remote</label>
<span class="hint">A town matches as part of the location, so Lund matches "Lund, Sweden": it is for towns outside the countries above.</span>
<div class="where-line">
<span>or in</span>
<div id="a-places"></div>
<label class="inline"><input type="checkbox" id="a-remote"> Remote</label>
<select id="a-remote-scope" aria-label="Remote from where">
<option value="europe">within Europe</option>
<option value="anywhere">anywhere</option>
</select>
</div>
<label class="inline"><input type="checkbox" id="a-hybrid"> Prefer hybrid, adding <input type="number" id="a-hybrid-weight" min="0" step="0.05" value="0.05" aria-label="Weight of hybrid"></label>
<span class="hint">Countries are ISO codes such as DK or SE, added with Enter or a comma; EU is a role open anywhere in Europe. Places are towns, matched as part of the location, so Lund matches "Lund, Sweden". An empty line is no rule. A rule only rejects a role whose column is filled; an empty one ranks until extract reads the posting.</span>
</fieldset>
<fieldset class="rules">
<legend>Other rules</legend>
<div id="a-rules" class="rule-rows"></div>
<button type="button" id="a-add-rule" class="secondary">Add rule</button>
<span class="hint">Must: a role must meet it. One of: a role must meet one of these and of the "one of" line above. Prefer: a role that meets it gains the weight. Values are separated by commas; salary is a number.</span>
<label class="inline where-rank"><input type="checkbox" id="a-hybrid"> Prefer hybrid<span id="a-hybrid-weight-line">, adding <input type="number" id="a-hybrid-weight" min="0" step="0.05" value="0.05" aria-label="Weight of hybrid"></span></label>
<span class="hint">This one ranks rather than filters: a hybrid role gains a little.</span>
<p id="a-where-sum" class="where-sum" role="status"></p>
</fieldset>
<fieldset class="weights">
<legend>How much each counts</legend>
@@ -68,9 +66,17 @@
<span class="hint">Every pull scores every open role for free; these bound what the model then reads, per agent. The count is the backstop, the score the real stop. Fit is a level, the same in every run: a new role with the worst fit scores about 0.27, a perfect one about 0.87. An agent with no prompt feeds neither stage.</span>
<details class="advanced">
<summary>Advanced</summary>
<label>Rules as sent
<textarea id="a-gates" class="code" rows="6" spellcheck="false" readonly>[]</textarea>
<span class="hint">Read only: what Save sends as the agent's gates, from Where and Other rules above.</span></label>
<div class="advanced-body">
<fieldset class="rules">
<legend>Other rules</legend>
<div id="a-rules" class="rule-rows"></div>
<button type="button" id="a-add-rule" class="secondary">Add rule</button>
<span class="hint">Must: a role must meet it. One of: a role must meet one of these or a Where line. Prefer: a role that meets it gains the weight. Values are separated by commas; salary is a number.</span>
</fieldset>
<label>Rules as sent
<textarea id="a-gates" class="code" rows="6" spellcheck="false" readonly>[]</textarea>
<span class="hint">Read only: what Save sends as the agent's gates, from Where and Other rules.</span></label>
</div>
</details>
<div class="agent-actions">
<button type="submit">Save and score</button>