Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: improve issue system

Gus2c8d68d4a45a
diff --git a/src/cli/daemon/prompt.ts b/src/cli/daemon/prompt.ts
index 8947ee2db..0a5af601c 100644
--- a/src/cli/daemon/prompt.ts
+++ b/src/cli/daemon/prompt.ts
@@ -16,10 +16,12 @@ const ISSUE_NOTICE =
" Use `alook issue show --agent_id <your_agent_id> --issue_id <issue_id>` to read full context." +
" Use `alook issue update --agent_id <your_agent_id> --issue_id <issue_id> --status <status>` to change status." +
" Use `alook issue comment --agent_id <your_agent_id> --issue_id <issue_id> --body <text>` to leave a comment." +
- " You are responsible for setting the issue status: move to in_progress when you start working on the task." +
- " IMPORTANT: You MUST move the status to 'review' when your task is fully complete — this signals to the owner that your work is ready for review." +
- " Only set 'review' when the task is done, never prematurely. Do not set 'review' for partial work or while still in progress." +
- " Always leave a comment summarizing what you did before changing status.";
+ " CRITICAL — You MUST update the issue status before you finish. This is NOT optional:" +
+ " 1. Set status to 'in_progress' when you start working." +
+ " 2. Set status to 'review' as your LAST action before exiting — this means your work is done and ready for the owner to review. You cannot improve the issue further without user feedback." +
+ " If you delegated work to colleagues, wait for their responses, then set 'review' once everything is complete." +
+ " NEVER exit without updating the status. A task left in 'in_progress' is a failed task." +
+ " Always leave a comment summarizing what you did before changing status to 'review'.";
function buildDmNotice(name: string, email: string): string {
return (
diff --git a/src/web/src/app/(app)/w/[slug]/issues/page.tsx b/src/web/src/app/(app)/w/[slug]/issues/page.tsx
index 9af9d17df..66b5e8593 100644
--- a/src/web/src/app/(app)/w/[slug]/issues/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/issues/page.tsx
@@ -812,7 +812,18 @@ export default function IssuesPage() {
<section key={col.id} className="rounded-lg border border-border/60 bg-card/60">
<div className="flex items-center justify-between border-b border-border/50 px-3 py-2 text-sm font-medium">
<span>{col.label}</span>
- <Badge variant="outline">{columnIssues.length}</Badge>
+ <div className="flex items-center gap-1.5">
+ <Badge variant="outline">{columnIssues.length}</Badge>
+ {col.id === "completed" && (
+ <button
+ type="button"
+ onClick={() => setShowCompleted(false)}
+ className="rounded p-0.5 text-muted-foreground/60 transition-colors hover:bg-muted hover:text-muted-foreground"
+ >
+ <EyeOff className="size-3.5" />
+ </button>
+ )}
+ </div>
</div>
<div className="space-y-2 p-3">
{columnIssues.map((issue) => (