dashboard: also remove the tombstone revive trigger
mara asked on PR #3854 to remove the revive action alongside the blank-name spawn form. Both posted to /api/request-spawn as the last two frontend callers; with this the dashboard has no UI path left that hits that endpoint (backend removal/decision stays damocles's call). Drops the K3PT ST4T3 tombstone row's ⊕ R3V1V3 form, leaving PURG3 as the only per-tombstone action. Updated the two doc/comment spots that described the now-gone button.
This commit is contained in:
parent
8475d9921f
commit
d9937ee834
3 changed files with 2 additions and 13 deletions
|
|
@ -135,8 +135,7 @@ page — see below.)
|
|||
**K3PT ST4T3** — two sub-sections on one pane:
|
||||
|
||||
*Tombstones*: agents with kept state and **no container** (size + age +
|
||||
claude-creds badge). Two actions: `⊕ R3V1V3` (queues a Spawn
|
||||
approval; existing state is reused), `PURG3` (wipes state + applied
|
||||
claude-creds badge). One action: `PURG3` (wipes state + applied
|
||||
dirs; `POST /api/purge-tombstone/{name}`).
|
||||
|
||||
⚠️ **Not only *destroyed* agents.** Nothing records a destroy: every
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<main class="core-main">
|
||||
|
||||
<!-- K3PT ST4T3: tombstoned-agent kept state + stale permission entries.
|
||||
tombstones-section shows destroyed agents (revive / purge buttons).
|
||||
tombstones-section shows destroyed agents (purge button).
|
||||
tombstones-stale-perms is lazy-loaded on tab activation and shows
|
||||
agents with explicit capability/tool-group entries but no live
|
||||
container (typically renamed/deleted agents whose JSON entries
|
||||
|
|
|
|||
|
|
@ -74,16 +74,6 @@ function renderTombstones(s) {
|
|||
li.append(head);
|
||||
|
||||
const actions = el('div', { class: 'actions' });
|
||||
const respawn = el('form', {
|
||||
method: 'POST', action: '/api/request-spawn',
|
||||
class: 'inline', 'data-async': '',
|
||||
'data-confirm': 'queue spawn approval for ' + t.name + '? state will be reused.',
|
||||
});
|
||||
respawn.append(
|
||||
el('input', { type: 'hidden', name: 'name', value: t.name }),
|
||||
el('button', { type: 'submit', class: 'btn btn-start' }, '⊕ R3V1V3'),
|
||||
);
|
||||
actions.append(respawn);
|
||||
actions.append(form(
|
||||
'/api/purge-tombstone/' + t.name, 'btn-destroy', 'PURG3',
|
||||
'PURGE ' + t.name + '? config history, claude creds, '
|
||||
|
|
|
|||
Loading…
Reference in a new issue