honker: row 256 (#1761) b2: Webby's N1 (webby-0124): instance-settings.mjs:30 and agents.js:46 comments name the assistant, not the chief of staff; BUILD.md note; comment-only, unrun

This commit is contained in:
jason.woltje committed 2026-10-22 05:33:13 -05:00
1 parent e617543b8d
commit f12441d4fa
3 files changed
+9 -2

No files matched your search

+7
View File
@@ -65,3 +65,10 @@ Design d2 8c50481d2 was accepted by Webby (webby-0123). The code is on honker/ro
### Tests not run
None of these have run. They wait for Sage's CLEAR, after the rebase onto 236.
## 2026-10-22 b2 (Honker): Webby's N1 (webby-0124)
- Two comments said the chief of staff where they mean the assistant. Both now name the assistant:
- instance-settings.mjs:30, "The assistant is refused for every actor, the human included."
- agents.js:46, "true for the assistant and on the tester's."
- Comment-only. The mutant strings above are unchanged and still occur once.
+1 -1
View File
@@ -27,7 +27,7 @@ const HIRE_VAR = key => key === "model" || key.startsWith("limits.");
// Row 256 (#1761, REQ-COS-3): the END_PROTECTED part of a delete, for one actor. A creative
// instance is the human's to delete, and any other actor is refused, as row 213 refuses it a
// change. The chief of staff is refused for every actor, the human included. The listing's
// change. The assistant is refused for every actor, the human included. The listing's
// endProtected is this same check for its reader, so the Agents page offers no Delete it would refuse.
function protectedRefusal(document, instance, actor) {
const { definition } = document.roles[instance];
+1 -1
View File
@@ -43,7 +43,7 @@
acts.push(confirmPair('regenerate', name, 'Regenerate', `Regenerate ${name}? Its workspace is renamed under .retired and it starts fresh.`));
acts.push(e.kept ? button('unkeep', name, 'Unkeep') : button('keep', name, 'Keep'));
// endProtected is the server's delete check for this reader (row 256): false on the human's
// page for a creative instance, true for the chief of staff and on the tester's.
// page for a creative instance, true for the assistant and on the tester's.
if (!e.endProtected) acts.push(confirmPair('delete', name, 'Delete', `Delete ${name}? Its evidence and its workspace under .retired stay.`));
}
return `<tr><th scope="row">${txt(name)}</th><td>${txt(e.definition)}</td><td>${e.launched ? 'yes' : 'no'}</td><td>${e.kept ? 'yes' : 'no'}</td><td>${running.length ? running.map(r => `<code>${txt(r)}</code>`).join(' ') : '<span class="muted">none</span>'}${alive.map(r => ` <strong class="agent-alive">still running after fire: <code>${txt(r)}</code></strong>`).join('')}</td><td class="agent-actions">${acts.join(' ')}</td></tr>`;