Two tabs and a cog: settings shell, one ranking, a script per page, the phone frame

The top bar is Roles and Applications plus health's cog. Behind the cog,
/settings/{ranking,searches,companies,pulls,messages,account} share one row
of sub-tabs, an underlined row on a desktop and pills on a phone. The old
paths answer 301 with their query string.

Ranking edits the first enabled agent, or creates one, with the intent,
the weights and the gates under Advanced. The order menu on Roles reads
Newest and Best match with one enabled agent, and names them with several.
config.yaml keeps the Copenhagen starter; the other two are commented
examples in config.example.yaml.

roles.js is split into roles.js, applications.js, ranking.js and
companies.js; count, cell, debounce, the company list and the affinity
control live once in app.js. app.css gets the phone frame after health and
newsdesk: one-row bar, edge-to-edge panels, 44px targets and 16px fields on
a coarse pointer, hover only where there is one, safe areas. The app is
installable from a manifest and roledesk-coloured icons. Every lede touched
is written for the person using the app.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-25 21:29:06 +02:00
1 parent 8c4bc3112a
commit 7d31cca394
34 files changed
+848 -565

No files matched your search

+11 -3
View File
@@ -331,10 +331,18 @@ def test_the_shipped_starter_agents_validate() -> None:
from app import config as config_mod
agents = config_mod.load(ROOT / "config.yaml").agents
assert [a.name for a in agents] == ["Copenhagen engineering", "Remote from Europe",
"Europe hybrid"]
assert [a.name for a in agents] == ["Copenhagen engineering"]
# The two commented examples in config.example.yaml, uncommented, so they
# still validate when somebody copies them.
import yaml
lines = (ROOT / "config.example.yaml").read_text(encoding="utf-8").splitlines()
start = lines.index("agents: []") + 1
block = [line[2:] for line in lines[start:] if line.startswith("# ")]
examples = [AgentSeed.model_validate(a) for a in yaml.safe_load("\n".join(block))]
assert [a.name for a in examples] == ["Remote from Europe", "Europe hybrid"]
# Small enough that a prefer gate breaks ties rather than overrides fit.
assert {g.weight for a in agents for g in a.gates if g.mode == "prefer"} == {0.05}
assert {g.weight for a in [*agents, *examples]
for g in a.gates if g.mode == "prefer"} == {0.05}
def test_the_shipped_starter_searches_validate() -> None: