@shinnodua/agent-workflows 0.0.0-stage → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/backend-developer/agent.md +39 -0
- package/.agents/agents/frontend-developer/agent.md +42 -0
- package/.agents/agents/project-manager/agent.md +37 -0
- package/.agents/agents/tech-lead/agent.md +41 -0
- package/.agents/agents/ui-ux-designer/agent.md +41 -0
- package/.agents/skills/add-project/SKILL.md +90 -0
- package/.agents/skills/add-project/agents/openai.yaml +4 -0
- package/.agents/skills/add-project/references/save-protocol.md +90 -0
- package/.agents/skills/approve-plan/SKILL.md +86 -0
- package/.agents/skills/approve-plan/agents/openai.yaml +4 -0
- package/.agents/skills/approve-prd/SKILL.md +59 -0
- package/.agents/skills/approve-prd/agents/openai.yaml +4 -0
- package/.agents/skills/auto-mode/SKILL.md +103 -0
- package/.agents/skills/auto-mode/agents/openai.yaml +4 -0
- package/.agents/skills/create-design/SKILL.md +197 -0
- package/.agents/skills/create-design/agents/openai.yaml +4 -0
- package/.agents/skills/create-diagram/SKILL.md +83 -0
- package/.agents/skills/create-diagram/agents/openai.yaml +4 -0
- package/.agents/skills/create-plan/SKILL.md +104 -0
- package/.agents/skills/create-plan/agents/openai.yaml +4 -0
- package/.agents/skills/create-prd/SKILL.md +82 -0
- package/.agents/skills/create-prd/agents/openai.yaml +4 -0
- package/.agents/skills/griling-plan/SKILL.md +114 -0
- package/.agents/skills/griling-plan/agents/openai.yaml +4 -0
- package/.agents/skills/griling-prd/SKILL.md +91 -0
- package/.agents/skills/griling-prd/agents/openai.yaml +4 -0
- package/.agents/skills/package-installation/SKILL.md +67 -0
- package/.agents/skills/package-installation/agents/openai.yaml +4 -0
- package/.agents/skills/project-setup/SKILL.md +104 -0
- package/.agents/skills/project-setup/agents/openai.yaml +3 -0
- package/.agents/skills/research/SKILL.md +61 -0
- package/.agents/skills/research/agents/openai.yaml +4 -0
- package/.agents/skills/sprint-meeting/SKILL.md +230 -0
- package/.agents/skills/sprint-meeting/agents/openai.yaml +4 -0
- package/.claude/agents/backend-developer.md +7 -0
- package/.claude/agents/frontend-developer.md +7 -0
- package/.claude/agents/project-manager.md +7 -0
- package/.claude/agents/tech-lead.md +7 -0
- package/.claude/agents/ui-ux-designer.md +7 -0
- package/.claude/skills/add-project/SKILL.md +10 -0
- package/.claude/skills/approve-plan/SKILL.md +8 -0
- package/.claude/skills/approve-prd/SKILL.md +8 -0
- package/.claude/skills/auto-mode/SKILL.md +8 -0
- package/.claude/skills/create-design/SKILL.md +8 -0
- package/.claude/skills/create-diagram/SKILL.md +8 -0
- package/.claude/skills/create-plan/SKILL.md +8 -0
- package/.claude/skills/create-prd/SKILL.md +8 -0
- package/.claude/skills/griling-plan/SKILL.md +8 -0
- package/.claude/skills/griling-prd/SKILL.md +8 -0
- package/.claude/skills/package-installation/SKILL.md +8 -0
- package/.claude/skills/project-setup/SKILL.md +8 -0
- package/.claude/skills/research/SKILL.md +8 -0
- package/.claude/skills/sprint-meeting/SKILL.md +8 -0
- package/.codex/prompts/add-project.md +3 -0
- package/.codex/prompts/approve-plan.md +3 -0
- package/.codex/prompts/approve-prd.md +3 -0
- package/.codex/prompts/auto-mode.md +3 -0
- package/.codex/prompts/create-design.md +3 -0
- package/.codex/prompts/create-diagram.md +3 -0
- package/.codex/prompts/create-plan.md +3 -0
- package/.codex/prompts/create-prd.md +3 -0
- package/.codex/prompts/griling-plan.md +3 -0
- package/.codex/prompts/griling-prd.md +3 -0
- package/.codex/prompts/grilling-plan.md +3 -0
- package/.codex/prompts/project-setup.md +3 -0
- package/.codex/prompts/research.md +3 -0
- package/.codex/prompts/sprint-meeting.md +3 -0
- package/.gitmodules.example +9 -0
- package/AGENTS.md +84 -0
- package/CLAUDE.md +1 -0
- package/INSTALL.md +284 -0
- package/LICENSE +21 -0
- package/README.md +342 -2
- package/bin/postinstall.js +57 -0
- package/bin/workflows.js +1172 -0
- package/bin/workflows.test.mjs +682 -0
- package/commands/add-project.md +20 -0
- package/commands/approve-plan.md +25 -0
- package/commands/approve-prd.md +24 -0
- package/commands/auto-mode.md +15 -0
- package/commands/create-design.md +20 -0
- package/commands/create-diagram.md +16 -0
- package/commands/create-plan.md +22 -0
- package/commands/create-prd.md +16 -0
- package/commands/griling-plan.md +16 -0
- package/commands/griling-prd.md +16 -0
- package/commands/grilling-plan.md +16 -0
- package/commands/project-setup.md +16 -0
- package/commands/research.md +16 -0
- package/commands/sprint-meeting.md +16 -0
- package/dashboard/.agents/skills/coding-conventions/SKILL.md +76 -0
- package/dashboard/.agents/skills/coding-conventions/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/design-system-guideline/SKILL.md +51 -0
- package/dashboard/.agents/skills/design-system-guideline/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/lint-and-fix/SKILL.md +55 -0
- package/dashboard/.agents/skills/lint-and-fix/agents/openai.yaml +4 -0
- package/dashboard/.agents/skills/taste-ui/SKILL.md +45 -0
- package/dashboard/.agents/skills/taste-ui/agents/openai.yaml +4 -0
- package/dashboard/AGENTS.md +43 -0
- package/dashboard/bun.lock +352 -0
- package/dashboard/index.html +12 -0
- package/dashboard/package.json +32 -0
- package/dashboard/src/App.tsx +5 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/ActionRequiredPanel/ActionRequiredPanel.tsx +80 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.module.css +25 -0
- package/dashboard/src/features/task-status/components/ArtifactButton/ArtifactButton.tsx +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.module.css +29 -0
- package/dashboard/src/features/task-status/components/ArtifactSummaryCards/ArtifactSummaryCards.tsx +35 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.module.css +85 -0
- package/dashboard/src/features/task-status/components/CategoryPanel/CategoryPanel.tsx +150 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.module.css +41 -0
- package/dashboard/src/features/task-status/components/DashboardHeader/DashboardHeader.tsx +41 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.module.css +25 -0
- package/dashboard/src/features/task-status/components/FilesPanel/FilesPanel.tsx +40 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.module.css +330 -0
- package/dashboard/src/features/task-status/components/HardnessEngineeringPanel/HardnessEngineeringPanel.tsx +299 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.module.css +74 -0
- package/dashboard/src/features/task-status/components/LifecyclePanel/LifecyclePanel.tsx +79 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.module.css +133 -0
- package/dashboard/src/features/task-status/components/MarkdownDialog/MarkdownDialog.tsx +233 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.module.css +53 -0
- package/dashboard/src/features/task-status/components/Sidebar/Sidebar.tsx +163 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.module.css +41 -0
- package/dashboard/src/features/task-status/components/StatusBadge/StatusBadge.tsx +48 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.module.css +97 -0
- package/dashboard/src/features/task-status/components/TaskOverview/TaskOverview.tsx +128 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.module.css +9 -0
- package/dashboard/src/features/task-status/components/TaskStatusDashboard/TaskStatusDashboard.tsx +318 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.module.css +221 -0
- package/dashboard/src/features/task-status/components/WorkflowPanel/WorkflowPanel.tsx +344 -0
- package/dashboard/src/features/task-status/taskStatusConfig.ts +100 -0
- package/dashboard/src/features/task-status/utils/actionItems.ts +247 -0
- package/dashboard/src/features/task-status/utils/artifactGrouping.ts +328 -0
- package/dashboard/src/features/task-status/utils/hardnessScanner.ts +406 -0
- package/dashboard/src/features/task-status/utils/lifecycle.ts +73 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.module.css +11 -0
- package/dashboard/src/features/task-status/utils/markdownInline/markdownInline.tsx +104 -0
- package/dashboard/src/features/task-status/utils/markdownLinks.ts +83 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.module.css +74 -0
- package/dashboard/src/features/task-status/utils/markdownRenderer/markdownRenderer.tsx +326 -0
- package/dashboard/src/features/task-status/utils/status.ts +7 -0
- package/dashboard/src/features/task-status/utils/test/actionItems.test.ts +134 -0
- package/dashboard/src/features/task-status/utils/test/artifactGrouping.test.ts +294 -0
- package/dashboard/src/features/task-status/utils/test/hardnessScanner.test.ts +138 -0
- package/dashboard/src/features/task-status/utils/test/lifecycle.test.ts +49 -0
- package/dashboard/src/features/task-status/utils/test/markdownInline.test.ts +41 -0
- package/dashboard/src/features/task-status/utils/test/markdownLinks.test.ts +158 -0
- package/dashboard/src/features/task-status/utils/test/workspaceMetadata.test.ts +37 -0
- package/dashboard/src/features/task-status/utils/workspaceMetadata.ts +175 -0
- package/dashboard/src/main.tsx +16 -0
- package/dashboard/src/shared/design-system.css +134 -0
- package/dashboard/src/shared/design-system.tsx +84 -0
- package/dashboard/src/styles.css +41 -0
- package/dashboard/src/types.ts +133 -0
- package/dashboard/src/workspace-artifacts.d.ts +9 -0
- package/dashboard/tsconfig.json +22 -0
- package/dashboard/vite.config.ts +579 -0
- package/designs/.gitkeep +1 -0
- package/docs/add-project-command-completion.md +117 -0
- package/docs/public-npm-registry-completion.md +104 -0
- package/docs/workflows.png +0 -0
- package/docs/workspace-template-setup.md +229 -0
- package/meeting-logs/.gitkeep +1 -0
- package/modules/.gitkeep +1 -0
- package/package.json +96 -5
- package/plans/.gitkeep +1 -0
- package/prds/.gitkeep +1 -0
- package/project/PROJECT.md +26 -0
- package/project/repositories.json +72 -0
- package/project/validation.json +9 -0
- package/project/workflows.json +20 -0
- package/research/.gitkeep +1 -0
- package/roles/backend-developer.md +26 -0
- package/roles/frontend-developer.md +25 -0
- package/roles/project-manager.md +42 -0
- package/roles/tech-lead.md +42 -0
- package/roles/ui-ux-designer.md +43 -0
- package/scripts/add-project.mjs +990 -0
- package/scripts/add-project.test.mjs +804 -0
- package/scripts/check-staged-security.mjs +97 -0
- package/scripts/check-staged-security.test.mjs +68 -0
- package/scripts/workspace-integrity.ts +220 -0
- package/templates/auto-mode-completion-summary-template.md +78 -0
- package/templates/meeting-log-template.md +177 -0
- package/templates/plan-template.md +219 -0
- package/templates/prd-template.md +106 -0
- package/templates/research-template.md +119 -0
- package/workflows.md +590 -0
- package/workspace.config.json +43 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { spawnSync } from "node:child_process";
|
|
4
|
+
|
|
5
|
+
function git(args) {
|
|
6
|
+
const result = spawnSync("git", args, {
|
|
7
|
+
encoding: "buffer",
|
|
8
|
+
maxBuffer: 64 * 1024 * 1024,
|
|
9
|
+
});
|
|
10
|
+
if (result.error || result.status !== 0) {
|
|
11
|
+
process.stderr.write(
|
|
12
|
+
`Security check could not read the Git index: ${result.error?.message ?? result.stderr.toString().trim()}\n`,
|
|
13
|
+
);
|
|
14
|
+
process.exit(2);
|
|
15
|
+
}
|
|
16
|
+
return result.stdout;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const staged = git([
|
|
20
|
+
"diff",
|
|
21
|
+
"--cached",
|
|
22
|
+
"--name-only",
|
|
23
|
+
"--diff-filter=ACMR",
|
|
24
|
+
"-z",
|
|
25
|
+
])
|
|
26
|
+
.toString("utf8")
|
|
27
|
+
.split("\0")
|
|
28
|
+
.filter(Boolean);
|
|
29
|
+
|
|
30
|
+
const findings = [];
|
|
31
|
+
const unsafeName =
|
|
32
|
+
/(?:^|\/)(?:\.env(?:\.[^/]+)?|\.npmrc|id_(?:rsa|dsa|ecdsa|ed25519)|[^/]+\.(?:pem|p12|pfx|key))$/i;
|
|
33
|
+
const exampleName = /(?:^|[._-])(?:example|sample|template)(?:$|[._-])/i;
|
|
34
|
+
const safeValue =
|
|
35
|
+
/^(?:example|sample|placeholder|dummy|test|fake|changeme|your[_-]?[a-z_-]*|\$\{[^}]+\}|<[^>]+>|\*+)$/i;
|
|
36
|
+
const patterns = [
|
|
37
|
+
[
|
|
38
|
+
"private key",
|
|
39
|
+
/-----BEGIN (?:RSA |DSA |EC |OPENSSH |PGP )?PRIVATE KEY-----/,
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
"GitHub token",
|
|
43
|
+
/\b(?:gh[pousr]_[A-Za-z0-9_]{20,}|github_pat_[A-Za-z0-9_]{20,})\b/,
|
|
44
|
+
],
|
|
45
|
+
["AWS access key", /\b(?:AKIA|ASIA)[A-Z0-9]{16}\b/],
|
|
46
|
+
["Slack token", /\bxox[baprs]-[A-Za-z0-9-]{20,}\b/],
|
|
47
|
+
["Stripe secret key", /\b(?:sk|rk)_(?:live|test)_[A-Za-z0-9]{16,}\b/],
|
|
48
|
+
[
|
|
49
|
+
"local home path",
|
|
50
|
+
/(?:\/Users\/[^/\s]+\/|\/home\/[^/\s]+\/|[A-Z]:\\Users\\[^\\\s]+\\)/,
|
|
51
|
+
],
|
|
52
|
+
];
|
|
53
|
+
const assignment =
|
|
54
|
+
/\b(?:api[_-]?key|access[_-]?token|auth[_-]?token|client[_-]?secret|password|passwd|secret[_-]?key|private[_-]?key|database[_-]?url)\b["']?\s*[=:]\s*["'`]?([^\s"'`,;#]+)/i;
|
|
55
|
+
const email = /\b[A-Z0-9._%+-]+@([A-Z0-9.-]+\.[A-Z]{2,})\b/gi;
|
|
56
|
+
const dynamicValue =
|
|
57
|
+
/^(?:process\.env\.|import\.meta\.env\.|Deno\.env\.|env\.|os\.getenv\(|getenv\()/i;
|
|
58
|
+
|
|
59
|
+
for (const path of staged) {
|
|
60
|
+
if (unsafeName.test(path) && !exampleName.test(path.split("/").at(-1))) {
|
|
61
|
+
findings.push(`${path}: sensitive filename`);
|
|
62
|
+
}
|
|
63
|
+
const content = git(["show", `:${path}`]);
|
|
64
|
+
if (content.includes(0)) continue;
|
|
65
|
+
const lines = content.toString("utf8").split(/\r?\n/);
|
|
66
|
+
for (const [index, line] of lines.entries()) {
|
|
67
|
+
for (const [label, pattern] of patterns) {
|
|
68
|
+
if (pattern.test(line)) findings.push(`${path}:${index + 1}: ${label}`);
|
|
69
|
+
}
|
|
70
|
+
const assigned = line.match(assignment);
|
|
71
|
+
if (
|
|
72
|
+
assigned &&
|
|
73
|
+
!safeValue.test(assigned[1]) &&
|
|
74
|
+
!dynamicValue.test(assigned[1])
|
|
75
|
+
) {
|
|
76
|
+
findings.push(`${path}:${index + 1}: credential assignment`);
|
|
77
|
+
}
|
|
78
|
+
for (const match of line.matchAll(email)) {
|
|
79
|
+
if (
|
|
80
|
+
!/^(?:example\.(?:com|org|net)|test|invalid|localhost)$/i.test(match[1])
|
|
81
|
+
) {
|
|
82
|
+
findings.push(`${path}:${index + 1}: email address`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (findings.length) {
|
|
89
|
+
process.stderr.write(
|
|
90
|
+
`Security check failed (${findings.length} finding(s)):\n${findings.join("\n")}\nRemove the sensitive data from the staged content and stage the fix.\n`,
|
|
91
|
+
);
|
|
92
|
+
process.exit(1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
process.stdout.write(
|
|
96
|
+
`Security check passed (${staged.length} staged file(s)).\n`,
|
|
97
|
+
);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import { spawnSync } from "node:child_process";
|
|
3
|
+
import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
4
|
+
import os from "node:os";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
import test from "node:test";
|
|
7
|
+
import { fileURLToPath } from "node:url";
|
|
8
|
+
|
|
9
|
+
const scanner = fileURLToPath(
|
|
10
|
+
new URL("./check-staged-security.mjs", import.meta.url),
|
|
11
|
+
);
|
|
12
|
+
const credentialName = ["api", "key"].join("_");
|
|
13
|
+
|
|
14
|
+
function command(cwd, executable, args) {
|
|
15
|
+
const result = spawnSync(executable, args, { cwd, encoding: "utf8" });
|
|
16
|
+
assert.equal(result.error, undefined);
|
|
17
|
+
return result;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function scan(files) {
|
|
21
|
+
const cwd = mkdtempSync(path.join(os.tmpdir(), "agent-workflows-security-"));
|
|
22
|
+
try {
|
|
23
|
+
assert.equal(command(cwd, "git", ["init", "-q"]).status, 0);
|
|
24
|
+
for (const [name, content] of Object.entries(files)) {
|
|
25
|
+
mkdirSync(path.dirname(path.join(cwd, name)), { recursive: true });
|
|
26
|
+
writeFileSync(path.join(cwd, name), content);
|
|
27
|
+
}
|
|
28
|
+
assert.equal(command(cwd, "git", ["add", "."]).status, 0);
|
|
29
|
+
return command(cwd, process.execPath, [scanner]);
|
|
30
|
+
} finally {
|
|
31
|
+
rmSync(cwd, { recursive: true, force: true });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
test("blocks JSON credentials without printing values", () => {
|
|
36
|
+
const result = scan({
|
|
37
|
+
"config.json": `${JSON.stringify({ [credentialName]: "real-secret-123456789" })}\n`,
|
|
38
|
+
});
|
|
39
|
+
assert.equal(result.status, 1);
|
|
40
|
+
assert.match(result.stderr, /config\.json:1: credential assignment/);
|
|
41
|
+
assert.doesNotMatch(result.stderr, /real-secret-123456789/);
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
test("does not allow a real secret with a placeholder prefix", () => {
|
|
45
|
+
const result = scan({
|
|
46
|
+
"config.txt": `${credentialName}=test-actual-secret-123456789\n`,
|
|
47
|
+
});
|
|
48
|
+
assert.equal(result.status, 1);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
test("allows examples and environment references", () => {
|
|
52
|
+
const result = scan({
|
|
53
|
+
"config.txt": `${credentialName}=example\npassword=process.env.DB_PASSWORD\ncontact=dev@example.com\n`,
|
|
54
|
+
});
|
|
55
|
+
assert.equal(result.status, 0, result.stderr);
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
test("blocks sensitive filenames", () => {
|
|
59
|
+
const result = scan({ "private.pem": "fixture\n" });
|
|
60
|
+
assert.equal(result.status, 1);
|
|
61
|
+
assert.match(result.stderr, /private\.pem: sensitive filename/);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
test("an example directory cannot exempt a sensitive filename", () => {
|
|
65
|
+
const result = scan({ "examples/private.pem": "fixture\n" });
|
|
66
|
+
assert.equal(result.status, 1);
|
|
67
|
+
assert.match(result.stderr, /examples\/private\.pem: sensitive filename/);
|
|
68
|
+
});
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import {
|
|
4
|
+
parseWorkspaceMetadata,
|
|
5
|
+
type WorkspaceMetadata,
|
|
6
|
+
} from "../dashboard/src/features/task-status/utils/workspaceMetadata";
|
|
7
|
+
import type { ArtifactType, ProjectProfile } from "../dashboard/src/types";
|
|
8
|
+
|
|
9
|
+
type IntegrityArtifact = {
|
|
10
|
+
content: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
metadata: WorkspaceMetadata;
|
|
13
|
+
relativePath: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const workspaceRoot = process.cwd();
|
|
17
|
+
const workspaceConfig = loadWorkspaceConfig();
|
|
18
|
+
const projectProfile = loadProjectProfile(workspaceConfig.projectProfile);
|
|
19
|
+
const artifactTargets = buildArtifactTargets(workspaceConfig, projectProfile);
|
|
20
|
+
const artifacts: IntegrityArtifact[] = [];
|
|
21
|
+
const errors: string[] = [];
|
|
22
|
+
const warnings: string[] = [];
|
|
23
|
+
|
|
24
|
+
for (const { directory, type } of artifactTargets) {
|
|
25
|
+
for (const filePath of walkMarkdown(path.join(workspaceRoot, directory))) {
|
|
26
|
+
const relativePath = path.relative(workspaceRoot, filePath);
|
|
27
|
+
const content = fs.readFileSync(filePath, "utf8");
|
|
28
|
+
const metadata = legacyMetadata(content, type);
|
|
29
|
+
const parsed = parseWorkspaceMetadata(content, metadata);
|
|
30
|
+
const id = parsed.metadata.id ?? metadata.id;
|
|
31
|
+
|
|
32
|
+
if (parsed.errors.length > 0) {
|
|
33
|
+
errors.push(...parsed.errors.map((error) => `${relativePath}: ${error}`));
|
|
34
|
+
}
|
|
35
|
+
if (parsed.warnings.length > 0) {
|
|
36
|
+
warnings.push(`${relativePath}: ${parsed.warnings.join(" ")}`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
artifacts.push({
|
|
40
|
+
content,
|
|
41
|
+
id,
|
|
42
|
+
metadata: parsed.metadata,
|
|
43
|
+
relativePath,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const ids = new Map<string, string[]>();
|
|
49
|
+
for (const artifact of artifacts) {
|
|
50
|
+
if (!artifact.id) continue;
|
|
51
|
+
ids.set(artifact.id, [
|
|
52
|
+
...(ids.get(artifact.id) ?? []),
|
|
53
|
+
artifact.relativePath,
|
|
54
|
+
]);
|
|
55
|
+
}
|
|
56
|
+
for (const [id, paths] of ids) {
|
|
57
|
+
if (paths.length > 1) {
|
|
58
|
+
const message = `Duplicate artifact ID ${id}: ${paths.join(", ")}`;
|
|
59
|
+
if (paths.some((artifactPath) => artifactPath.startsWith("modules/"))) {
|
|
60
|
+
warnings.push(message);
|
|
61
|
+
} else {
|
|
62
|
+
errors.push(message);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const knownIds = new Set(Array.from(ids.keys(), (id) => id.toUpperCase()));
|
|
68
|
+
for (const artifact of artifacts) {
|
|
69
|
+
const references = [
|
|
70
|
+
artifact.metadata.prdId,
|
|
71
|
+
artifact.metadata.planId,
|
|
72
|
+
artifact.metadata.parentPlanId,
|
|
73
|
+
...artifact.metadata.relatedArtifactIds,
|
|
74
|
+
].filter((value): value is string => Boolean(value));
|
|
75
|
+
for (const reference of references) {
|
|
76
|
+
if (reference.toUpperCase() === artifact.id?.toUpperCase()) continue;
|
|
77
|
+
if (!knownIds.has(reference.toUpperCase())) {
|
|
78
|
+
warnings.push(
|
|
79
|
+
`${artifact.relativePath}: unresolved artifact ID ${reference}`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
for (const match of artifact.content.matchAll(
|
|
85
|
+
/\[[^\]]+\]\(([^)]+\.md(?:#[^)]*)?)\)/gi,
|
|
86
|
+
)) {
|
|
87
|
+
const href = match[1]?.split("#")[0];
|
|
88
|
+
if (!href || /^(https?:|mailto:)/i.test(href)) continue;
|
|
89
|
+
const target = path.resolve(
|
|
90
|
+
path.dirname(path.join(workspaceRoot, artifact.relativePath)),
|
|
91
|
+
href,
|
|
92
|
+
);
|
|
93
|
+
if (!target.startsWith(workspaceRoot) || !fs.existsSync(target)) {
|
|
94
|
+
warnings.push(`${artifact.relativePath}: unresolved local link ${href}`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
for (const warning of warnings) console.warn(`WARN ${warning}`);
|
|
100
|
+
for (const error of errors) console.error(`ERROR ${error}`);
|
|
101
|
+
console.log(
|
|
102
|
+
`Workspace integrity: ${artifacts.length} artifacts, ${errors.length} errors, ${warnings.length} warnings.`,
|
|
103
|
+
);
|
|
104
|
+
process.exitCode = errors.length > 0 ? 1 : 0;
|
|
105
|
+
|
|
106
|
+
type WorkspaceConfig = {
|
|
107
|
+
artifactDirectories?: string[];
|
|
108
|
+
projectProfile?: string;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
function loadWorkspaceConfig(): WorkspaceConfig {
|
|
112
|
+
const configPath = path.join(workspaceRoot, "workspace.config.json");
|
|
113
|
+
if (!fs.existsSync(configPath)) {
|
|
114
|
+
return {};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return JSON.parse(fs.readFileSync(configPath, "utf8")) as WorkspaceConfig;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function loadProjectProfile(profilePath = "project/repositories.json") {
|
|
121
|
+
const resolvedPath = path.join(workspaceRoot, profilePath);
|
|
122
|
+
if (!fs.existsSync(resolvedPath)) {
|
|
123
|
+
return { repositories: [] } satisfies ProjectProfile;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return JSON.parse(fs.readFileSync(resolvedPath, "utf8")) as ProjectProfile;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function buildArtifactTargets(
|
|
130
|
+
config: WorkspaceConfig,
|
|
131
|
+
profile: ProjectProfile,
|
|
132
|
+
): Array<{ directory: string; type: ArtifactType }> {
|
|
133
|
+
const rootTargets = (
|
|
134
|
+
config.artifactDirectories ?? [
|
|
135
|
+
"prds",
|
|
136
|
+
"plans",
|
|
137
|
+
"designs",
|
|
138
|
+
"research",
|
|
139
|
+
"docs",
|
|
140
|
+
]
|
|
141
|
+
).flatMap((directory) => {
|
|
142
|
+
const type = artifactTypeFromDirectory(directory);
|
|
143
|
+
return type ? [{ directory, type }] : [];
|
|
144
|
+
});
|
|
145
|
+
const submoduleTargets = profile.repositories.flatMap((repository) => {
|
|
146
|
+
const directories = repository.artifactDirectories ?? {};
|
|
147
|
+
return [
|
|
148
|
+
directories.plans
|
|
149
|
+
? { directory: directories.plans, type: "plan" as const }
|
|
150
|
+
: undefined,
|
|
151
|
+
directories.designs
|
|
152
|
+
? { directory: directories.designs, type: "design" as const }
|
|
153
|
+
: undefined,
|
|
154
|
+
directories.research
|
|
155
|
+
? { directory: directories.research, type: "research" as const }
|
|
156
|
+
: undefined,
|
|
157
|
+
directories.docs
|
|
158
|
+
? { directory: directories.docs, type: "document" as const }
|
|
159
|
+
: undefined,
|
|
160
|
+
].filter((target): target is NonNullable<typeof target> => Boolean(target));
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
return [...rootTargets, ...submoduleTargets];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
function artifactTypeFromDirectory(
|
|
167
|
+
directory: string,
|
|
168
|
+
): ArtifactType | undefined {
|
|
169
|
+
const typeByDirectory: Record<string, ArtifactType> = {
|
|
170
|
+
designs: "design",
|
|
171
|
+
docs: "document",
|
|
172
|
+
plans: "plan",
|
|
173
|
+
prds: "prd",
|
|
174
|
+
research: "research",
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
return typeByDirectory[directory];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function legacyMetadata(
|
|
181
|
+
content: string,
|
|
182
|
+
type: ArtifactType,
|
|
183
|
+
): WorkspaceMetadata {
|
|
184
|
+
const idLabelByType: Partial<Record<ArtifactType, string>> = {
|
|
185
|
+
design: "Design ID",
|
|
186
|
+
plan: "Plan ID",
|
|
187
|
+
prd: "PRD ID",
|
|
188
|
+
research: "Research ID",
|
|
189
|
+
};
|
|
190
|
+
const idLabel = idLabelByType[type];
|
|
191
|
+
return {
|
|
192
|
+
created: getField(content, "Created"),
|
|
193
|
+
id: idLabel ? getField(content, idLabel) : undefined,
|
|
194
|
+
owner: getField(content, "Owner"),
|
|
195
|
+
parentPlanId: getField(content, "Parent plan ID"),
|
|
196
|
+
planId: getField(content, "Plan ID"),
|
|
197
|
+
prdId: getField(content, "PRD ID"),
|
|
198
|
+
relatedArtifactIds: Array.from(
|
|
199
|
+
content.matchAll(/\b(?:PRD|PLAN|DESIGN|RESEARCH)-\d{8}-[a-z0-9-]+\b/gi),
|
|
200
|
+
).map((match) => match[0].toUpperCase()),
|
|
201
|
+
status: getField(content, "Status"),
|
|
202
|
+
updated: getField(content, "Last updated"),
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function getField(content: string, label: string) {
|
|
207
|
+
return content
|
|
208
|
+
.match(new RegExp(`^\\s*-?\\s*${label}:\\s*([^\\n]+)`, "im"))?.[1]
|
|
209
|
+
?.trim()
|
|
210
|
+
.replace(/^`|`$/g, "");
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function walkMarkdown(directory: string): string[] {
|
|
214
|
+
if (!fs.existsSync(directory)) return [];
|
|
215
|
+
return fs.readdirSync(directory, { withFileTypes: true }).flatMap((entry) => {
|
|
216
|
+
const entryPath = path.join(directory, entry.name);
|
|
217
|
+
if (entry.isDirectory()) return walkMarkdown(entryPath);
|
|
218
|
+
return entry.isFile() && entry.name.endsWith(".md") ? [entryPath] : [];
|
|
219
|
+
});
|
|
220
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Auto-Mode Implementation Completion Summary
|
|
2
|
+
|
|
3
|
+
Use this template after implementing and validating code while workspace auto mode is on. Include the complete delivery record: artifacts, per-repository implementation, validation, human-only questions, and the developer's remaining setup and rollout actions. Every coding agent returns applicable, verified facts for its assigned repository. The coordinator reconciles the repository reports and publishes **one** final summary. Keep it concise; link to actual files or plans.
|
|
4
|
+
|
|
5
|
+
Do not guess external configuration or secret values. Use `None` only after checking that a category has no relevant change. Use `Unknown — <missing fact>; owner: <person/team or service owner>` when a fact cannot be verified. Do not call an unrun build, deployment, or runtime check successful.
|
|
6
|
+
|
|
7
|
+
## 1. Developer actions
|
|
8
|
+
|
|
9
|
+
List only actions the developer or operator still needs to perform, in dependency order. Each action names the repository or service, target environment or build service, exact setting or command, value shape or source when known, and why it is needed. State `None` in a group only when verified.
|
|
10
|
+
|
|
11
|
+
### Build
|
|
12
|
+
|
|
13
|
+
1. `<repository / build service / environment>: <set variable or config, install/build command, generated asset, or package step>; <value shape or source>; <why and when>.`
|
|
14
|
+
|
|
15
|
+
### Run
|
|
16
|
+
|
|
17
|
+
1. `<app / web / API / worker / environment>: <runtime variable or config, service dependency, startup command, or integration step>; <value shape or source>; <why and when>.`
|
|
18
|
+
|
|
19
|
+
### Roll out
|
|
20
|
+
|
|
21
|
+
1. `<repository / service / environment>: <migration, backfill, deploy order, rebuild, cache or app-version compatibility step>; <command and order when known>.`
|
|
22
|
+
|
|
23
|
+
## 2. Artifacts created and approved
|
|
24
|
+
|
|
25
|
+
| Stage | Artifact ID | Path or locator | Status |
|
|
26
|
+
| --- | --- | --- | --- |
|
|
27
|
+
| Research | `<ID>` | `<link>` | `<reviewed / other>` |
|
|
28
|
+
| PRD | `<ID>` | `<link>` | `<approved / other>` |
|
|
29
|
+
| Design | `<ID or not applicable>` | `<link or reason>` | `<status>` |
|
|
30
|
+
| Sprint meeting | `<ID>` | `<link>` | `<complete / other>` |
|
|
31
|
+
| Root plan | `<ID>` | `<link>` | `<complete / other>` |
|
|
32
|
+
| Affected repository plans | `<IDs>` | `<links>` | `<statuses>` |
|
|
33
|
+
|
|
34
|
+
List only affected repository plans. If design does not apply, state why. Include a root design reference when one exists.
|
|
35
|
+
|
|
36
|
+
## 3. Implementation summary
|
|
37
|
+
|
|
38
|
+
### `<repository or platform>`
|
|
39
|
+
|
|
40
|
+
- Changed: `<feature, route, contract, UI, config, or migration and its purpose>`
|
|
41
|
+
- Key files: `<links to the most relevant implementation files>`
|
|
42
|
+
- Integration: `<which shared contracts, API, app, web, or service this change depends on>`
|
|
43
|
+
|
|
44
|
+
Repeat for every changed repository. Note any root submodule pointer changes that the developer needs to commit.
|
|
45
|
+
|
|
46
|
+
## 4. Breaking changes and compatibility
|
|
47
|
+
|
|
48
|
+
- Breaking changes: `<changed contract, behavior, config, or data format; affected consumers and versions; required action, or verified None>`
|
|
49
|
+
- Compatibility and rollout order: `<API before app/web, cached web assets, older app versions, package version, or verified None>`
|
|
50
|
+
- Unknowns: `<missing compatibility fact and owner, or None>`
|
|
51
|
+
|
|
52
|
+
## 5. Environment and operational configuration
|
|
53
|
+
|
|
54
|
+
| Setting or dependency | Repository / service | Target environment or build service | Build time or runtime | Client-visible? | Value shape or source, never secret value | Developer action / rebuild needed |
|
|
55
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
56
|
+
| `<exact name>` | `<owner>` | `<local, CI, preview, staging, production, etc.>` | `<build / runtime>` | `<yes / no>` | `<URL, identifier, secret manager key, existing config source>` | `<action; yes/no rebuild>` |
|
|
57
|
+
|
|
58
|
+
Include only affected entries. Say which environment variables must be added to the build service for the source to build successfully, which are needed at runtime for the app/web/API to work, and where each value comes from. For web client variables, say whether they must be present before bundling. For app builds, identify platform-specific configuration. For API and workers, include affected database, queue, auth, webhook, and other startup dependencies. If no settings changed, write `None — checked <relevant files/config>`.
|
|
59
|
+
|
|
60
|
+
### Data and rollout operations
|
|
61
|
+
|
|
62
|
+
- Migrations and backfills: `<exact command, repository, target environment, order, expected impact, or None/Unknown>`
|
|
63
|
+
- API and client rollout order: `<service/client sequence; compatibility with deployed app versions and cached web assets; or None/Unknown>`
|
|
64
|
+
- Rollback or downtime considerations: `<verified steps or limitation; or None/Unknown>`
|
|
65
|
+
|
|
66
|
+
## 6. Validation results
|
|
67
|
+
|
|
68
|
+
| Repository | Check or command | Result | What it verifies |
|
|
69
|
+
| --- | --- | --- | --- |
|
|
70
|
+
| `<repository>` | `<exact command or manual check>` | `<passed / failed / not run>` | `<unit tests, typecheck, build, UI, route, integration, etc.>` |
|
|
71
|
+
|
|
72
|
+
- Build and runtime evidence: `<which build or runtime was actually exercised, and where>`
|
|
73
|
+
- Limits or blockers: `<failed or unrun checks, missing external access, unresolved facts and owners, or None>`
|
|
74
|
+
- Root submodule pointer status: `<which pointers changed and need a developer commit, or None>`
|
|
75
|
+
|
|
76
|
+
## 7. Human-only questions
|
|
77
|
+
|
|
78
|
+
- `<question, decision owner, and what it blocks; or None>`
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Sprint Meeting Log: <PRD ID>
|
|
2
|
+
|
|
3
|
+
Copy this file when `$sprint-meeting <prd-id>` saves a meeting record.
|
|
4
|
+
|
|
5
|
+
Meeting logs are durable records of role-agent PRD review meetings. Store logs
|
|
6
|
+
in the workspace root `meeting-logs/` directory with this filename pattern:
|
|
7
|
+
|
|
8
|
+
```txt
|
|
9
|
+
<prd-id-lowercase>-sprint-meeting-<YYYYMMDD-HHMM>.md
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Metadata
|
|
13
|
+
|
|
14
|
+
- Meeting ID: `MEETING-<YYYYMMDD-HHMM>-<prd-slug>`
|
|
15
|
+
- Type: `sprint-meeting-log`
|
|
16
|
+
- PRD ID: `<PRD-YYYYMMDD-short-slug>`
|
|
17
|
+
- PRD path: `<relative path to PRD>`
|
|
18
|
+
- PRD status before meeting: `<status>`
|
|
19
|
+
- PRD status after meeting: `<status>`
|
|
20
|
+
- Meeting date: `<YYYY-MM-DD>`
|
|
21
|
+
- Started at: `<HH:MM timezone>`
|
|
22
|
+
- Finished at: `<HH:MM timezone>`
|
|
23
|
+
- Active discussion duration: `<duration, excluding developer wait time>`
|
|
24
|
+
- Developer wait duration: `<duration or "None">`
|
|
25
|
+
- Meeting chair: `<agent or user-visible coordinator>`
|
|
26
|
+
- Related artifact IDs: `[]`
|
|
27
|
+
|
|
28
|
+
## Related Documents Reviewed
|
|
29
|
+
|
|
30
|
+
| Document | Type | Why reviewed |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| `<path or "None">` | `<prd/research/design/plan/doc>` | `<reason>` |
|
|
33
|
+
|
|
34
|
+
## Agent Roster
|
|
35
|
+
|
|
36
|
+
| Agent | Role source | Participation | Notes |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| `@workspace-project-manager` | `roles/project-manager.md` | `<participated/skipped>` | `<notes>` |
|
|
39
|
+
| `@workspace-tech-lead` | `roles/tech-lead.md` | `<participated/skipped>` | `<notes>` |
|
|
40
|
+
| `@workspace-ui-ux-designer` | `roles/ui-ux-designer.md` | `<participated/skipped>` | `<notes>` |
|
|
41
|
+
| `@workspace-backend-developer` | `roles/backend-developer.md` | `<participated/skipped>` | `<notes>` |
|
|
42
|
+
| `@workspace-frontend-developer` | `roles/frontend-developer.md` | `<participated/skipped>` | `<notes>` |
|
|
43
|
+
|
|
44
|
+
## Design Review
|
|
45
|
+
|
|
46
|
+
| Agent | Design reviewed | UI/UX contribution and rationale | Affected flow, screen, or state | Disposition |
|
|
47
|
+
| --- | --- | --- | --- | --- |
|
|
48
|
+
| `@workspace-project-manager` | `<artifact or PRD UX sections>` | `<improvement or "No change needed" with reason>` | `<location or "None">` | `<accepted/rejected/follow-up/no change>` |
|
|
49
|
+
| `@workspace-tech-lead` | `<artifact or PRD UX sections>` | `<improvement or "No change needed" with reason>` | `<location or "None">` | `<accepted/rejected/follow-up/no change>` |
|
|
50
|
+
| `@workspace-ui-ux-designer` | `<artifact or PRD UX sections>` | `<improvement or "No change needed" with reason>` | `<location or "None">` | `<accepted/rejected/follow-up/no change>` |
|
|
51
|
+
| `@workspace-backend-developer` | `<artifact or PRD UX sections>` | `<improvement or "No change needed" with reason>` | `<location or "None">` | `<accepted/rejected/follow-up/no change>` |
|
|
52
|
+
| `@workspace-frontend-developer` | `<artifact or PRD UX sections>` | `<improvement or "No change needed" with reason>` | `<location or "None">` | `<accepted/rejected/follow-up/no change>` |
|
|
53
|
+
|
|
54
|
+
### Design Synthesis
|
|
55
|
+
|
|
56
|
+
- Accepted improvements: `<summary or "None">`
|
|
57
|
+
- Rejected suggestions and reasons: `<summary or "None">`
|
|
58
|
+
- Unresolved design decisions: `<summary or "None">`
|
|
59
|
+
|
|
60
|
+
| Design artifact | Accepted change or follow-up | Update status | Owner |
|
|
61
|
+
| --- | --- | --- | --- |
|
|
62
|
+
| `<path or "None">` | `<specific change or "None">` | `<updated/follow-up/not applicable>` | `<agent or "None">` |
|
|
63
|
+
|
|
64
|
+
## Chat Timeline
|
|
65
|
+
|
|
66
|
+
Record concise user-visible meeting messages in chronological order.
|
|
67
|
+
|
|
68
|
+
| Time | Speaker | Message |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| `<HH:MM>` | `<speaker>` | `<message shown in chat>` |
|
|
71
|
+
|
|
72
|
+
## Round Summaries
|
|
73
|
+
|
|
74
|
+
### Round 1: Discovery
|
|
75
|
+
|
|
76
|
+
| Agent | Findings | Proposed PRD updates | Questions raised |
|
|
77
|
+
| --- | --- | --- | --- |
|
|
78
|
+
| `<agent>` | `<summary>` | `<summary>` | `<question IDs or "None">` |
|
|
79
|
+
|
|
80
|
+
### Round <N>: Routed Answers
|
|
81
|
+
|
|
82
|
+
| Question ID | Asked by | Assigned to | Answer summary | Sources | Review outcome | Follow-up |
|
|
83
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
84
|
+
| `Q-<number>` | `<agent>` | `<agent mentions>` | `<answer>` | `<PRD/doc/source>` | `<accepted/needs-follow-up/human-required/unresolved-time-boxed>` | `<next question ID or "None">` |
|
|
85
|
+
|
|
86
|
+
## Agent Findings
|
|
87
|
+
|
|
88
|
+
### @workspace-project-manager
|
|
89
|
+
|
|
90
|
+
- Findings:
|
|
91
|
+
- `<finding or "None">`
|
|
92
|
+
- Proposed PRD updates:
|
|
93
|
+
- `<update or "None">`
|
|
94
|
+
- Risks:
|
|
95
|
+
- `<risk or "None">`
|
|
96
|
+
|
|
97
|
+
### @workspace-tech-lead
|
|
98
|
+
|
|
99
|
+
- Findings:
|
|
100
|
+
- `<finding or "None">`
|
|
101
|
+
- Proposed PRD updates:
|
|
102
|
+
- `<update or "None">`
|
|
103
|
+
- Risks:
|
|
104
|
+
- `<risk or "None">`
|
|
105
|
+
|
|
106
|
+
### @workspace-ui-ux-designer
|
|
107
|
+
|
|
108
|
+
- Findings:
|
|
109
|
+
- `<finding or "None">`
|
|
110
|
+
- Proposed PRD updates:
|
|
111
|
+
- `<update or "None">`
|
|
112
|
+
- Risks:
|
|
113
|
+
- `<risk or "None">`
|
|
114
|
+
|
|
115
|
+
### @workspace-backend-developer
|
|
116
|
+
|
|
117
|
+
- Findings:
|
|
118
|
+
- `<finding or "None">`
|
|
119
|
+
- Proposed PRD updates:
|
|
120
|
+
- `<update or "None">`
|
|
121
|
+
- Risks:
|
|
122
|
+
- `<risk or "None">`
|
|
123
|
+
|
|
124
|
+
### @workspace-frontend-developer
|
|
125
|
+
|
|
126
|
+
- Findings:
|
|
127
|
+
- `<finding or "None">`
|
|
128
|
+
- Proposed PRD updates:
|
|
129
|
+
- `<update or "None">`
|
|
130
|
+
- Risks:
|
|
131
|
+
- `<risk or "None">`
|
|
132
|
+
|
|
133
|
+
## Consolidated Questions And Answers
|
|
134
|
+
|
|
135
|
+
| Question ID | Question | Asked by | Assigned to | Round | Answer | Review outcome | Source | PRD update |
|
|
136
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
137
|
+
| `Q-<number>` | `<question>` | `<agent>` | `<agent mentions or @developer>` | `<round>` | `<answer or unresolved reason>` | `<accepted/needs-follow-up/human-required/unresolved-time-boxed>` | `<source>` | `<section updated or "None">` |
|
|
138
|
+
|
|
139
|
+
## Developer Questions
|
|
140
|
+
|
|
141
|
+
| Question ID | Question | Asked by | Assigned to | Why human input was required | Developer answer | PRD update |
|
|
142
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
143
|
+
| `Q-<number or "None">` | `<question>` | `<agent/chair>` | `@developer` | `<reason>` | `<answer or "Unanswered">` | `<section updated or "Open Questions">` |
|
|
144
|
+
|
|
145
|
+
## Questions Closed By Agent Consensus
|
|
146
|
+
|
|
147
|
+
| Question ID | Resolution | Agents agreeing | PRD update |
|
|
148
|
+
| --- | --- | --- | --- |
|
|
149
|
+
| `Q-<number or "None">` | `<resolution>` | `<agent mentions>` | `<section updated or "None">` |
|
|
150
|
+
|
|
151
|
+
## Time-Boxed Unresolved Agent Questions
|
|
152
|
+
|
|
153
|
+
| Question ID | Question | Asked by | Assigned to | Why unresolved | PRD impact |
|
|
154
|
+
| --- | --- | --- | --- | --- | --- |
|
|
155
|
+
| `Q-<number or "None">` | `<question>` | `<agent>` | `<agent mentions>` | `<reason>` | `<impact or "None">` |
|
|
156
|
+
|
|
157
|
+
## Human-Only Unresolved Questions
|
|
158
|
+
|
|
159
|
+
| Question ID | Question | Why human-only | PRD location |
|
|
160
|
+
| --- | --- | --- | --- |
|
|
161
|
+
| `Q-<number or "None">` | `<question>` | `<reason>` | `<Open Questions entry or "None">` |
|
|
162
|
+
|
|
163
|
+
## PRD Changes Made
|
|
164
|
+
|
|
165
|
+
| PRD section | Change summary | Source question or finding |
|
|
166
|
+
| --- | --- | --- |
|
|
167
|
+
| `<section>` | `<change>` | `<question ID/finding/developer answer>` |
|
|
168
|
+
|
|
169
|
+
## Final Summary
|
|
170
|
+
|
|
171
|
+
- Outcome: `<PRD updated / no PRD changes / blocked>`
|
|
172
|
+
- Updated PRD: `<path>`
|
|
173
|
+
- Meeting log: `<path>`
|
|
174
|
+
- Developer questions answered: `<count>`
|
|
175
|
+
- Human-only unresolved questions: `<count>`
|
|
176
|
+
- Time-boxed unresolved agent questions: `<count>`
|
|
177
|
+
- Next recommended command: `<command or "None">`
|