From 58c4f14d572c04e6031b6a819e79bc0585c8f972 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 17 Feb 2026 02:10:29 +0000 Subject: [PATCH] docs(prompts): sync roster.json and scheduler rosters - Updated roster.json based on prompt directory scan. - Regenerated daily and weekly scheduler markdown tables. - Added run artifacts and task log. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- scripts/fix-duplication.mjs | 32 +++++++++++++++++++ src/context/CONTEXT_2026-02-17T02-04-05Z.md | 3 ++ src/context/CONTEXT_2026-02-17T02-04-31Z.md | 8 +++++ .../CONTEXT_manual-jules-1771293773.md | 19 +++++++++++ .../DECISIONS_2026-02-17T02-04-05Z.md | 4 +++ .../DECISIONS_2026-02-17T02-04-31Z.md | 9 ++++++ .../DECISIONS_manual-jules-1771293773.md | 9 ++++++ src/prompts/roster.json | 6 ++-- src/prompts/weekly-scheduler.md | 8 ++--- .../TEST_LOG_2026-02-17T02-04-05Z.md | 6 ++++ .../TEST_LOG_2026-02-17T02-04-31Z.md | 11 +++++++ .../TEST_LOG_manual-jules-1771293773.md | 11 +++++++ src/todo/TODO_2026-02-17T02-04-05Z.md | 5 +++ src/todo/TODO_2026-02-17T02-04-31Z.md | 10 ++++++ src/todo/TODO_manual-jules-1771293773.md | 14 ++++++++ ...-50Z__scheduler-update-agent__completed.md | 8 +++++ 16 files changed, 156 insertions(+), 7 deletions(-) create mode 100644 scripts/fix-duplication.mjs create mode 100644 src/context/CONTEXT_2026-02-17T02-04-05Z.md create mode 100644 src/context/CONTEXT_2026-02-17T02-04-31Z.md create mode 100644 src/context/CONTEXT_manual-jules-1771293773.md create mode 100644 src/decisions/DECISIONS_2026-02-17T02-04-05Z.md create mode 100644 src/decisions/DECISIONS_2026-02-17T02-04-31Z.md create mode 100644 src/decisions/DECISIONS_manual-jules-1771293773.md create mode 100644 src/test_logs/TEST_LOG_2026-02-17T02-04-05Z.md create mode 100644 src/test_logs/TEST_LOG_2026-02-17T02-04-31Z.md create mode 100644 src/test_logs/TEST_LOG_manual-jules-1771293773.md create mode 100644 src/todo/TODO_2026-02-17T02-04-05Z.md create mode 100644 src/todo/TODO_2026-02-17T02-04-31Z.md create mode 100644 src/todo/TODO_manual-jules-1771293773.md create mode 100644 task-logs/daily/2026-02-17T02-09-50Z__scheduler-update-agent__completed.md diff --git a/scripts/fix-duplication.mjs b/scripts/fix-duplication.mjs new file mode 100644 index 0000000..ef52699 --- /dev/null +++ b/scripts/fix-duplication.mjs @@ -0,0 +1,32 @@ +import fs from 'fs'; + +const fix = (filePath) => { + let content = fs.readFileSync(filePath, 'utf8'); + const header = '| # | Agent Name | Prompt File |\n|---|------------|-------------|'; + + const parts = content.split(header); + if (parts.length < 2) return; // Should not happen + + const pre = parts[0]; + const post = parts[1]; + + const lines = post.split('\n'); + const tableLines = []; + let i = 0; + + // Skip initial empty lines if any (though usually generateTable doesn't add them at start) + while(i < lines.length && lines[i].trim() === '') i++; + + // Capture rows + while(i < lines.length && lines[i].trim().startsWith('|')) { + tableLines.push(lines[i]); + i++; + } + + const newContent = pre + header + '\n' + tableLines.join('\n') + '\n'; + fs.writeFileSync(filePath, newContent); + console.log(`Fixed ${filePath}`); +}; + +fix('src/prompts/daily-scheduler.md'); +fix('src/prompts/weekly-scheduler.md'); diff --git a/src/context/CONTEXT_2026-02-17T02-04-05Z.md b/src/context/CONTEXT_2026-02-17T02-04-05Z.md new file mode 100644 index 0000000..8ace392 --- /dev/null +++ b/src/context/CONTEXT_2026-02-17T02-04-05Z.md @@ -0,0 +1,3 @@ +# Context for Scheduler Update Agent + +Run manually to sync roster. diff --git a/src/context/CONTEXT_2026-02-17T02-04-31Z.md b/src/context/CONTEXT_2026-02-17T02-04-31Z.md new file mode 100644 index 0000000..d640677 --- /dev/null +++ b/src/context/CONTEXT_2026-02-17T02-04-31Z.md @@ -0,0 +1,8 @@ +# Context for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 + +Run manually to sync roster. +Executing prompt: src/prompts/daily/scheduler-update-agent.md diff --git a/src/context/CONTEXT_manual-jules-1771293773.md b/src/context/CONTEXT_manual-jules-1771293773.md new file mode 100644 index 0000000..47fa136 --- /dev/null +++ b/src/context/CONTEXT_manual-jules-1771293773.md @@ -0,0 +1,19 @@ +# Context for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 + +## Goal +Sync scheduler roster with actual files. + +## Scope +- src/prompts/daily/ +- src/prompts/weekly/ +- roster.json +- scheduler markdown files +- Active Prompt: src/prompts/daily/scheduler-update-agent.md + +## Constraints +- Do not create/delete prompt files. +- Follow roster.json as source of truth. diff --git a/src/decisions/DECISIONS_2026-02-17T02-04-05Z.md b/src/decisions/DECISIONS_2026-02-17T02-04-05Z.md new file mode 100644 index 0000000..a081f8a --- /dev/null +++ b/src/decisions/DECISIONS_2026-02-17T02-04-05Z.md @@ -0,0 +1,4 @@ +# Decisions for Scheduler Update Agent + +- Synced roster.json with actual file system state. +- Updated daily-scheduler.md and weekly-scheduler.md to match roster.json. diff --git a/src/decisions/DECISIONS_2026-02-17T02-04-31Z.md b/src/decisions/DECISIONS_2026-02-17T02-04-31Z.md new file mode 100644 index 0000000..9959978 --- /dev/null +++ b/src/decisions/DECISIONS_2026-02-17T02-04-31Z.md @@ -0,0 +1,9 @@ +# Decisions for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +## Decision: Sync Roster +**Rationale**: Files on disk did not match roster.json. diff --git a/src/decisions/DECISIONS_manual-jules-1771293773.md b/src/decisions/DECISIONS_manual-jules-1771293773.md new file mode 100644 index 0000000..9959978 --- /dev/null +++ b/src/decisions/DECISIONS_manual-jules-1771293773.md @@ -0,0 +1,9 @@ +# Decisions for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +## Decision: Sync Roster +**Rationale**: Files on disk did not match roster.json. diff --git a/src/prompts/roster.json b/src/prompts/roster.json index 3317932..6d41f4b 100644 --- a/src/prompts/roster.json +++ b/src/prompts/roster.json @@ -33,10 +33,10 @@ "perf-deepdive-agent", "perf-optimization-agent", "pr-review-agent", - "prompt-maintenance-agent", - "prompt-safety-agent", "prompt-fixer-agent", "prompt-gap-analysis-agent", + "prompt-maintenance-agent", + "prompt-safety-agent", "race-condition-agent", "refactor-agent", "repo-fit-agent", @@ -46,4 +46,4 @@ "ui-ux-agent", "weekly-synthesis-agent" ] -} +} \ No newline at end of file diff --git a/src/prompts/weekly-scheduler.md b/src/prompts/weekly-scheduler.md index 4a3e4f3..983b268 100644 --- a/src/prompts/weekly-scheduler.md +++ b/src/prompts/weekly-scheduler.md @@ -33,10 +33,10 @@ Canonical roster source: `src/prompts/roster.json` (`weekly` key). | 7 | perf-deepdive-agent | `perf-deepdive-agent.md` | | 8 | perf-optimization-agent | `perf-optimization-agent.md` | | 9 | pr-review-agent | `pr-review-agent.md` | -| 10 | prompt-maintenance-agent | `prompt-maintenance-agent.md` | -| 11 | prompt-safety-agent | `prompt-safety-agent.md` | -| 12 | prompt-fixer-agent | `prompt-fixer-agent.md` | -| 13 | prompt-gap-analysis-agent | `prompt-gap-analysis-agent.md` | +| 10 | prompt-fixer-agent | `prompt-fixer-agent.md` | +| 11 | prompt-gap-analysis-agent | `prompt-gap-analysis-agent.md` | +| 12 | prompt-maintenance-agent | `prompt-maintenance-agent.md` | +| 13 | prompt-safety-agent | `prompt-safety-agent.md` | | 14 | race-condition-agent | `race-condition-agent.md` | | 15 | refactor-agent | `refactor-agent.md` | | 16 | repo-fit-agent | `repo-fit-agent.md` | diff --git a/src/test_logs/TEST_LOG_2026-02-17T02-04-05Z.md b/src/test_logs/TEST_LOG_2026-02-17T02-04-05Z.md new file mode 100644 index 0000000..ed18787 --- /dev/null +++ b/src/test_logs/TEST_LOG_2026-02-17T02-04-05Z.md @@ -0,0 +1,6 @@ +# Test Log for Scheduler Update Agent + +- Command: node scripts/temp-scheduler-update.mjs +- Result: Success +- Command: npm run lint +- Result: Success diff --git a/src/test_logs/TEST_LOG_2026-02-17T02-04-31Z.md b/src/test_logs/TEST_LOG_2026-02-17T02-04-31Z.md new file mode 100644 index 0000000..594dd84 --- /dev/null +++ b/src/test_logs/TEST_LOG_2026-02-17T02-04-31Z.md @@ -0,0 +1,11 @@ +# Test Log for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +- Command: node scripts/temp-scheduler-update.mjs +- Result: Success +- Command: npm run lint +- Result: Success diff --git a/src/test_logs/TEST_LOG_manual-jules-1771293773.md b/src/test_logs/TEST_LOG_manual-jules-1771293773.md new file mode 100644 index 0000000..594dd84 --- /dev/null +++ b/src/test_logs/TEST_LOG_manual-jules-1771293773.md @@ -0,0 +1,11 @@ +# Test Log for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +- Command: node scripts/temp-scheduler-update.mjs +- Result: Success +- Command: npm run lint +- Result: Success diff --git a/src/todo/TODO_2026-02-17T02-04-05Z.md b/src/todo/TODO_2026-02-17T02-04-05Z.md new file mode 100644 index 0000000..8764d20 --- /dev/null +++ b/src/todo/TODO_2026-02-17T02-04-05Z.md @@ -0,0 +1,5 @@ +# TODO for Scheduler Update Agent + +- [x] Scan prompt directories +- [x] Update roster.json +- [x] Update scheduler markdown tables diff --git a/src/todo/TODO_2026-02-17T02-04-31Z.md b/src/todo/TODO_2026-02-17T02-04-31Z.md new file mode 100644 index 0000000..491cee4 --- /dev/null +++ b/src/todo/TODO_2026-02-17T02-04-31Z.md @@ -0,0 +1,10 @@ +# TODO for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +- [x] Scan prompt directories +- [x] Update roster.json +- [x] Update scheduler markdown tables diff --git a/src/todo/TODO_manual-jules-1771293773.md b/src/todo/TODO_manual-jules-1771293773.md new file mode 100644 index 0000000..8e60593 --- /dev/null +++ b/src/todo/TODO_manual-jules-1771293773.md @@ -0,0 +1,14 @@ +# TODO for Scheduler Update Agent + +**Agent**: scheduler-update-agent +**Cadence**: daily +**Session**: manual-jules-1771293773 +Prompt: src/prompts/daily/scheduler-update-agent.md + +## Pending Tasks +- None + +## Completed Tasks +- [x] Scan prompt directories +- [x] Update roster.json +- [x] Update scheduler markdown tables diff --git a/task-logs/daily/2026-02-17T02-09-50Z__scheduler-update-agent__completed.md b/task-logs/daily/2026-02-17T02-09-50Z__scheduler-update-agent__completed.md new file mode 100644 index 0000000..8ded078 --- /dev/null +++ b/task-logs/daily/2026-02-17T02-09-50Z__scheduler-update-agent__completed.md @@ -0,0 +1,8 @@ +--- +agent: scheduler-update-agent +status: completed +cadence: daily +platform: jules +--- + +Successfully synced roster.json and scheduler markdown files.