Commit Graph

4 Commits

Author SHA1 Message Date
wandering1 dee76b1b4a Roles: re-point reused Sessions when a role model drifts
A role model only seeded brand-new Sessions, so Workers created before a settings change kept their old route forever — the operator's complaint that the default model 'did not take effect'. On dispatch, ensure() now compares the durable selection or header of an existing Session against the configured role model and appends a model/selection event when they drift, leaving the deployment default alone. Seven unit cases cover drift, idempotence, effort, and precedence.
2026-11-02 04:54:32 +08:00
wandering1 d527ad8045 Sessions: account a restored Session to its Workspace
Ensure() only registered a Workspace when the Session was new, so Sessions restored from disk never entered the Workspace record and stayed invisible in the panel. Always create (idempotent) and attach an unaccounted Session; warn on attach failure. Tests gain a shared Workspace fixture.
2026-11-02 04:28:26 +08:00
dev 4379973775 Sources: add Gitea; fix Windows shims for shell tool, repo paths and stateDir 2026-11-01 19:32:40 +08:00
DeepSeek Harness Team 6337fc823c feat: add the dsh-superagent research prototype 2026-10-31 20:05:39 +08:00