record revivable SKILL.md git-ref provenance on skill_writing (guardrail item 7)
This commit is contained in:
1 parent
f91f86742e
commit
d866d94d04
6 files changed
+128
-2
No files matched your search
@@ -123,6 +123,9 @@ function eventRow(evt) {
|
||||
div.textContent = `preempted ${evt.preempted}`;
|
||||
} else if (evt.kind === "skill_writing") {
|
||||
div.textContent = `writing skill ${evt.skill} — ${evt.description} (${evt.model || "codegen"})`;
|
||||
if (evt.contract_ref) {
|
||||
div.title = `SKILL.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
}
|
||||
} else if (evt.kind === "skill_created") {
|
||||
div.textContent = `created ${evt.skill}${evt.written ? " (body written)" : " (stub)"}`;
|
||||
div.title = evt.body || evt.description || "";
|
||||
@@ -349,6 +352,12 @@ function eventNode(evt) {
|
||||
desc.className = "muted";
|
||||
desc.textContent = evt.description || "";
|
||||
body.appendChild(desc);
|
||||
if (evt.contract_ref) {
|
||||
const ref = document.createElement("div");
|
||||
ref.className = "muted";
|
||||
ref.textContent = `SKILL.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
body.appendChild(ref);
|
||||
}
|
||||
const badge = document.createElement("span");
|
||||
badge.className = "writing-badge";
|
||||
badge.textContent = "writing skill body…";
|
||||
|
||||
Reference in new issue
Block a user