kshitijk4poor
a16c8de2a4
refactor(profiles): take dashboard internals out of profile provisioning
...
Profile provisioning (#149075 ) is the one create path for the CLI,
dashboard and Desktop/TUI, but it still borrowed dashboard internals:
it imported private model helpers from web_server_config, caught
fastapi.HTTPException to read a rejected model pick, validated through
the dashboard's name-based profile scope (whose name lookup raises
HTTPException) and took the config mutation lock from
web_server_profiles. It also wrote into the new profile under three
different scope helpers.
- hermes_cli/model_assignment.py now holds the main-slot normalize /
validate / apply helpers, moved from web_server_config on the same
hermes_cli.web_server logger. A rejected pick raises
ModelAssignmentRejected; the dashboard keeps its 400 through a thin
_validated_main_model_selection adapter, and
PUT /api/profiles/{name}/model maps the new error to 400 as before.
The move drops one try/except around a dict read that cannot raise
and logs (debug) when the config read it falls back from fails.
- CONFIG_MUTATION_LOCK lives in config_backend next to the config layer.
Every router imports it directly, so the LateState lookups and the
web_server re-export are gone.
- Every scope provisioning binds is profile_config_scope (home + secrets
+ terminal), taking the profile's path. Model validation in a home
other than the process's first hydrates that home's external secret
sources (op run / bws), as the dashboard scope did. It no longer flips
the whole process to multi-profile hosting: profile_config_scope
already stamps the secondary's secrets as foreign, so a miss never
falls back to the launch env.
- seed_skills is gone: bundled skills are seeded only for a fresh
profile, which is what the CLI and dashboard already did. The RPC
differed only for clone_all with no source, where it seeded bundled
skills on top of a full clone; its docstring now says so.
- A failed best-effort credential step (.env copy, channel strip, auth
copy, grant strip, voice) logs at WARNING with the step's name instead
of an anonymous DEBUG line.
MCP-server normalization still comes from web_server_mcp, which has no
web-framework dependency.
2026-11-11 15:26:19 +05:30
..
2026-11-07 12:01:04 -08:00
2026-11-10 14:06:57 -08:00
2026-10-29 16:58:09 +05:30
2026-11-11 15:26:19 +05:30
2026-11-10 10:40:31 -05:00
2026-11-11 15:26:19 +05:30
2026-11-06 23:02:20 -05:00
2026-11-02 04:06:07 -08:00
2026-11-10 13:36:29 +05:30
2026-10-29 16:58:09 +05:30
2026-11-09 21:17:06 +01:00
2026-10-29 16:58:09 +05:30
2026-11-10 00:16:18 +05:30
2026-11-09 18:06:44 +05:30
2026-11-02 06:58:25 -08:00
2026-11-06 23:02:03 -05:00
2026-10-30 11:13:02 -04:00
2026-11-09 18:06:44 +05:30
2026-10-30 13:46:07 -04:00
2026-11-04 12:56:04 -05:00
2026-10-29 16:58:09 +05:30
2026-11-06 22:59:41 -08:00
2026-10-29 16:58:09 +05:30
2026-11-10 13:36:29 +05:30
2026-11-06 08:46:25 -08:00
2026-11-06 08:46:25 -08:00
2026-11-05 22:23:44 -08:00
2026-11-05 23:12:42 -08:00
2026-11-05 23:12:42 -08:00
2026-11-07 02:46:16 -05:00
2026-11-04 12:56:04 -05:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:38:09 -08:00
2026-11-05 23:12:42 -08:00
2026-11-10 04:50:40 +05:30
2026-11-02 07:54:35 -08:00
2026-11-06 08:46:25 -08:00
2026-11-06 08:46:25 -08:00
2026-11-05 23:12:42 -08:00
2026-11-04 13:26:30 -08:00
2026-11-04 13:26:30 -08:00
2026-10-29 16:30:39 +05:30
2026-11-04 13:26:30 -08:00
2026-11-04 13:38:09 -08:00
2026-11-05 23:12:42 -08:00
2026-11-06 20:23:20 -05:00
2026-11-06 20:23:20 -05:00
2026-11-09 15:02:48 -08:00
2026-11-04 23:06:14 -08:00
2026-11-11 15:26:19 +05:30
2026-10-30 11:13:02 -04:00
2026-11-10 23:20:02 -08:00
2026-11-07 16:44:24 -08:00
2026-10-30 11:13:02 -04:00
2026-11-10 11:37:47 -05:00
2026-10-30 15:41:47 +05:30
2026-11-10 00:16:18 +05:30
2026-11-07 02:46:16 -05:00
2026-11-04 23:37:25 -05:00
2026-11-04 21:32:52 -08:00
2026-11-09 14:42:06 -08:00
2026-11-10 01:13:52 -08:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-11-08 11:44:20 -08:00
2026-11-06 04:08:24 +01:00
2026-11-08 16:47:03 +05:30
2026-11-08 16:47:03 +05:30
2026-11-07 01:17:21 -05:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:36:29 +05:30
2026-11-04 23:37:25 -05:00
2026-11-07 02:46:16 -05:00
2026-11-09 14:42:06 -08:00
2026-11-10 13:36:29 +05:30
2026-11-10 13:36:29 +05:30
2026-11-10 13:36:29 +05:30
2026-10-29 16:30:39 +05:30
2026-11-06 20:48:57 -05:00
2026-10-31 22:08:49 -07:00
2026-10-29 16:30:39 +05:30
2026-10-29 16:30:39 +05:30
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 15:15:48 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-07 17:54:05 -06:00
2026-11-07 12:01:04 -08:00
2026-11-07 12:01:04 -08:00
2026-11-09 00:56:23 +05:30
2026-11-07 00:01:43 -05:00
2026-11-10 10:40:31 -05:00
2026-11-10 10:40:31 -05:00
2026-11-04 23:37:25 -05:00
2026-10-29 16:30:39 +05:30
2026-11-06 10:38:43 -05:00
2026-11-06 10:38:43 -05:00
2026-11-09 00:56:23 +05:30
2026-11-10 06:56:54 +00:00
2026-11-10 06:25:43 -06:00
2026-11-10 06:25:20 -06:00
2026-11-10 06:25:43 -06:00
2026-11-01 19:24:04 +05:30
2026-11-10 06:25:43 -06:00
2026-11-09 14:42:06 -08:00
2026-10-29 16:58:09 +05:30
2026-11-02 04:24:00 -08:00
2026-10-30 13:46:07 -04:00
2026-11-08 11:59:30 -08:00
2026-11-02 15:06:27 -05:00
2026-10-29 16:58:09 +05:30
2026-11-08 09:51:09 -08:00
2026-10-31 22:04:21 -07:00
2026-11-05 17:59:21 -05:00
2026-11-06 23:02:20 -05:00
2026-11-06 21:18:01 -08:00
2026-11-08 01:26:58 -08:00
2026-11-06 23:02:29 -05:00
2026-11-06 04:08:24 +01:00
2026-11-06 04:08:46 +01:00
2026-11-02 20:53:09 -08:00
2026-11-08 15:52:48 +05:30
2026-11-04 20:52:12 -08:00
2026-11-09 19:13:40 +01:00
2026-11-06 23:01:26 -05:00
2026-11-10 00:16:18 +05:30
2026-11-08 11:44:20 -08:00
2026-11-01 22:07:56 -08:00
2026-11-10 00:49:30 +05:30
2026-11-06 10:41:13 -05:00
2026-11-01 19:53:24 -08:00
2026-10-30 15:41:47 +05:30
2026-11-11 15:26:19 +05:30
2026-11-11 15:26:19 +05:30
2026-11-10 11:37:47 -05:00
2026-11-08 20:09:42 +05:30
2026-11-09 18:06:44 +05:30
2026-11-09 18:06:44 +05:30
2026-11-05 17:59:21 -05:00
2026-11-04 13:26:30 -08:00
2026-11-06 20:39:14 -08:00
2026-11-09 07:41:08 -08:00
2026-10-30 04:39:18 -07:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:48:57 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 23:27:29 +05:30
2026-11-05 18:28:39 -05:00
2026-11-06 20:22:20 -05:00
2026-11-06 20:48:57 -05:00
2026-10-28 23:07:47 -07:00
2026-11-05 18:47:10 -05:00
2026-11-10 19:57:25 -08:00
2026-11-04 21:58:12 -08:00
2026-11-04 21:58:12 -08:00
2026-11-04 21:58:12 -08:00
2026-11-05 18:28:39 -05:00
2026-11-05 19:16:24 -05:00
2026-11-04 21:58:12 -08:00
2026-11-05 18:28:39 -05:00
2026-11-10 06:26:30 -06:00
2026-11-06 20:22:31 -05:00
2026-10-30 11:27:59 +05:30
2026-11-07 21:35:26 -08:00
2026-11-05 18:27:13 -05:00
2026-11-06 23:27:29 +05:30
2026-11-06 12:57:52 -05:00
2026-11-06 20:22:31 -05:00
2026-11-10 06:26:16 -06:00
2026-11-10 06:26:30 -06:00
2026-11-09 22:17:43 -05:00
2026-11-06 23:04:28 -05:00
2026-10-29 16:58:09 +05:30
2026-11-10 15:30:14 +05:30
2026-11-07 01:11:16 -05:00
2026-11-05 13:08:14 +05:30
2026-11-06 23:27:29 +05:30
2026-11-11 15:26:19 +05:30
2026-11-07 12:01:04 -08:00
2026-11-10 15:30:14 +05:30
2026-11-10 13:26:00 -08:00
2026-11-04 13:38:09 -08:00
2026-11-04 21:32:52 -08:00
2026-11-01 21:54:15 -08:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:26:00 -08:00
2026-11-02 06:57:42 -08:00
2026-11-10 13:26:00 -08:00
2026-11-10 13:36:29 +05:30
2026-11-10 15:06:13 -08:00
2026-11-04 23:37:25 -05:00
2026-11-07 02:46:16 -05:00
2026-11-07 02:46:16 -05:00
2026-11-01 21:30:21 -08:00
2026-11-07 02:46:16 -05:00
2026-11-01 19:53:24 -08:00
2026-11-09 00:56:23 +05:30
2026-11-09 00:56:23 +05:30
2026-11-09 00:56:23 +05:30
2026-11-07 01:17:21 -05:00
2026-11-09 19:13:40 +01:00
2026-11-06 23:04:10 -05:00
2026-11-07 00:01:43 -05:00
2026-11-10 15:44:28 +01:00
2026-11-07 01:17:21 -05:00
2026-11-07 01:17:21 -05:00
2026-11-07 01:17:21 -05:00
2026-10-29 16:58:09 +05:30
2026-11-06 23:17:16 -05:00
2026-11-06 23:23:32 -05:00
2026-11-06 23:17:16 -05:00
2026-11-06 04:08:24 +01:00
2026-11-10 00:16:18 +05:30
2026-11-07 00:01:43 -05:00
2026-11-01 10:08:01 -08:00
2026-11-04 21:32:52 -08:00
2026-11-06 04:08:24 +01:00
2026-11-06 23:02:03 -05:00
2026-11-09 21:17:06 +01:00
2026-11-06 04:08:24 +01:00
2026-11-06 23:04:10 -05:00
2026-11-07 00:01:43 -05:00
2026-11-07 00:01:43 -05:00
2026-11-01 07:26:34 +05:30
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-11-09 21:17:06 +01:00
2026-11-06 20:23:34 -05:00
2026-11-06 04:08:24 +01:00
2026-11-07 17:54:05 -06:00
2026-11-07 17:54:05 -06:00
2026-11-06 04:08:46 +01:00
2026-11-10 15:30:14 +05:30
2026-11-07 12:01:04 -08:00
2026-11-02 13:56:48 -05:00
2026-11-07 12:01:04 -08:00
2026-11-11 15:26:19 +05:30
2026-10-30 05:54:35 -07:00
2026-11-07 12:01:04 -08:00
2026-10-29 16:58:09 +05:30
2026-10-31 12:56:13 +05:30
2026-11-05 13:08:14 +05:30
2026-11-06 20:39:14 -08:00
2026-11-11 15:26:19 +05:30
2026-11-03 22:58:38 -05:00
2026-11-07 12:01:04 -08:00
2026-11-11 15:26:19 +05:30
2026-11-07 12:01:04 -08:00
2026-11-04 10:58:03 -06:00
2026-11-11 02:49:29 -06:00
2026-11-05 18:26:06 -05:00
2026-11-02 13:56:48 -05:00