You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"✅ Built Permit Garden as a fictional bureaucratic zine and sticker landing page. It has product cards, pricing, and a waitlist CTA: https://example.test/apps/permit-garden/",
"Built Permit Garden as a fictional bureaucratic zine and sticker landing page. It has product cards, pricing, and a waitlist CTA: https://example.test/apps/permit-garden/",
269
+
debug: [
270
+
"verified sub-agent completion has no concrete follow-up action; using direct reply",
271
+
],
272
+
});
273
+
});
274
+
275
+
it("removes loopback route aliases from verified app completion replies",async()=>{
276
+
constcontext=makeContext({
277
+
text: "[sub-agent: civic vitrine (opencode) — task_complete]\nBuilt Civic Vitrine.\n- URL: http://127.0.0.1:6900/apps/civic-vitrine/\n- Public URL: https://example.test/apps/civic-vitrine/\n- Waitlist form: local submit handler.",
278
+
metadata: {
279
+
subAgentVerifiedUrls: [
280
+
"http://127.0.0.1:6900/apps/civic-vitrine/",
281
+
"https://example.test/apps/civic-vitrine/",
282
+
],
283
+
},
284
+
messageHandler: {
285
+
plan: {
286
+
contexts: ["general"],
287
+
reply:
288
+
"✅ Civic Vitrine site built. You can view it locally at http://127.0.0.1:6900/apps/civic-vitrine/ and publicly at https://example.test/apps/civic-vitrine/.",
Copy file name to clipboardExpand all lines: plugins/plugin-agent-orchestrator/src/actions/tasks.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -354,6 +354,8 @@ function taskWithResolvedRoute(
354
354
"--- URL Path Mapping ---",
355
355
"These mappings are authoritative for hosted artifacts and override conflicting guesses in the task text:",
356
356
...mappingLines,
357
+
"For hosted deliverables, do not leave placeholder/mock external assets, TODO/placeholder comments, or unfinished sample code; create complete local assets or omit the asset.",
358
+
'If the user asks for buttons, forms, or calls to action, implement local behavior such as an in-page section, mailto link, or submit-state handler; do not leave inert href="#" controls.',
0 commit comments