12 Commits
Author SHA1 Message Date
shehjad-dev badc46db8d fix(catalog): use Search1API mark and isolate its test key 2026-10-01 00:02:36 +06:00
SToneX f795dddf3d Merge remote-tracking branch 'origin/main' into fix/drain-hang
# Conflicts:
#	scripts/dump_surface.py
2026-09-27 23:37:26 +08:00
SToneX 6e632d2a3c test: stop tests leaking cwd, logging config and env to later tests
- test_cmd_run_linux_hands_off_to_treg_run_user let the isolated
  hand-off chdir to /tmp with exec stubbed out; record the cwd with
  monkeypatch.chdir so it is restored.
- test_call_response_limits started uvicorn with its default log
  config, leaving uvicorn.error at CRITICAL and hiding the fault the
  analytics uvicorn test expects; pass log_config=None.
- scripts/dump_surface.py rewrote TREG_DATABASE_URL when imported by
  the surface snapshot test; skip its env setup once treg is loaded.
- Import verified_signup from conftest, not tests.conftest, which ran
  conftest a second time.
- A teardown hook fails any test that leaves the working directory
  changed, so the next leak points at its cause.
2026-09-27 21:03:17 +08:00
SToneX 1d93bf5176 fix(openapi): give each /call method its own operation id
FastAPI computes one unique_id per route from the first method its set
yields, so the multi-method /call relay published seven operations under
one hash-order-dependent id and warned on every schema build. Build the
schema from per-method views of multi-method routes (and GET-only views
of HEAD-widened routes) without touching the live routing table, drop
the snapshot script's workaround, and fail tests on the warning.
2026-09-27 19:43:00 +08:00
Jason Zhou 28b5470988 fix(arena): integrate main and verify deployment readiness 2026-09-10 14:20:58 +10:00
Jason ZhouandClaude Fable 5 364f2f08cf feat(seo): the /agents hub, so the Agents nav link stops pointing at one client's page
The discovery pass (PR #234) put an Agents link in every nav and footer with
nowhere to point it: it went to /agents/claude-code while the bare /agents
URL 404ed. One card per client off agent_pages.AGENTS, breadcrumbs on the
agent pages now carry the hub as their parent, the sitemap lists it at 0.8
beside the other two hubs, and the nav, landing footer and catalog prerender
all point at it. Hosted-only and adtrack'd like everything else off _page().

Also: scripts/dump_surface.py now sets TREG_CLAUDE_CONNECTOR_ENABLED like
tests/conftest.py does — without it a regeneration silently drops the
connector mounts from the snapshots.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MZEo61YXvfwUC84WmTJbaU
2026-08-31 14:53:07 +10:00
SToneX 7ed4f28c5c refactor(db): move database module into infra 2026-08-30 23:01:16 +08:00
SToneX 92e9e26db3 fix(tests): surface snapshots render the read-only startup check 2026-08-30 18:10:23 +08:00
SToneX 459325ea6e refactor(bootstrap): role startup manifests no longer write data - the backfill and single-user provisioning leave the lifespan for the release phase 2026-08-29 17:02:15 +08:00
SToneX e454c1ecf1 test: move the suite's sqlite databases out of the repo tree
Sixteen 600 KB per-worker files rewritten on every run kept editors'
file watchers re-indexing the working tree. The default now lands in
$TMPDIR/treg-tests/; an explicit TREG_TEST_DB_URL still wins untouched.
2026-08-25 17:15:40 +08:00
SToneX 5d9c20e030 chore(architecture): enforce import boundaries
Correct the relocated MCP lifespan condition in the surface snapshot without changing runtime behavior.
2026-08-25 14:36:20 +08:00
SToneX 2efd8cab8b test(refactor): snapshot application surface 2026-08-25 10:27:59 +08:00