From eb1407a8c122c1e96d923792e2eee75dc7db7844 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 22:09:50 +0000 Subject: [PATCH] fix(prompts): add missing H1 headers to resolve schema validation failures - Added H1 headers to 6 daily/weekly agent prompts. - Verified with `npm run validate:scheduler`. - Logged execution in `task-logs/daily/`. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- src/prompts/daily/deps-security-agent.md | 1 + src/prompts/daily/innerhtml-migration-agent.md | 1 + src/prompts/daily/known-issues-agent.md | 1 + src/prompts/daily/load-test-agent.md | 3 ++- src/prompts/daily/log-fixer-agent.md | 1 + src/prompts/weekly/prompt-maintenance-agent.md | 1 + ...26-02-16T22-06-55Z__log-fixer-agent__completed.md | 12 ++++++++++++ 7 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 task-logs/daily/2026-02-16T22-06-55Z__log-fixer-agent__completed.md diff --git a/src/prompts/daily/deps-security-agent.md b/src/prompts/daily/deps-security-agent.md index 10b96ea..c9cb6bf 100644 --- a/src/prompts/daily/deps-security-agent.md +++ b/src/prompts/daily/deps-security-agent.md @@ -1,3 +1,4 @@ +# Deps Security Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture diff --git a/src/prompts/daily/innerhtml-migration-agent.md b/src/prompts/daily/innerhtml-migration-agent.md index 7bd6b1d..46d25c5 100644 --- a/src/prompts/daily/innerhtml-migration-agent.md +++ b/src/prompts/daily/innerhtml-migration-agent.md @@ -1,3 +1,4 @@ +# InnerHTML Migration Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture diff --git a/src/prompts/daily/known-issues-agent.md b/src/prompts/daily/known-issues-agent.md index 3911a84..028a711 100644 --- a/src/prompts/daily/known-issues-agent.md +++ b/src/prompts/daily/known-issues-agent.md @@ -1,3 +1,4 @@ +# Known Issues Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture diff --git a/src/prompts/daily/load-test-agent.md b/src/prompts/daily/load-test-agent.md index 0f23072..d35cb8c 100644 --- a/src/prompts/daily/load-test-agent.md +++ b/src/prompts/daily/load-test-agent.md @@ -1,3 +1,4 @@ +# Load Test Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture @@ -197,4 +198,4 @@ OUTPUTS PER RUN - `torch/scripts/agent/load-test.mjs` (or repo-approved equivalent) - A load report (JSON) produced locally (and committed only if repo allows) - A prioritized list of bottlenecks tied to measured evidence -- 0–N issues for non-trivial bottlenecks, especially security-sensitive ones \ No newline at end of file +- 0–N issues for non-trivial bottlenecks, especially security-sensitive ones diff --git a/src/prompts/daily/log-fixer-agent.md b/src/prompts/daily/log-fixer-agent.md index a7addec..2ad56a4 100644 --- a/src/prompts/daily/log-fixer-agent.md +++ b/src/prompts/daily/log-fixer-agent.md @@ -1,3 +1,4 @@ +# Log Fixer Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture diff --git a/src/prompts/weekly/prompt-maintenance-agent.md b/src/prompts/weekly/prompt-maintenance-agent.md index 1259f19..ee82a0e 100644 --- a/src/prompts/weekly/prompt-maintenance-agent.md +++ b/src/prompts/weekly/prompt-maintenance-agent.md @@ -1,3 +1,4 @@ +# Prompt Maintenance Agent > **Shared contract (required):** Follow [`Scheduler Flow → Shared Agent Run Contract`](../scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents) and [`Scheduler Flow → Canonical artifact paths`](../scheduler-flow.md#canonical-artifact-paths) before and during this run. ## Required startup + artifacts + memory + issue capture diff --git a/task-logs/daily/2026-02-16T22-06-55Z__log-fixer-agent__completed.md b/task-logs/daily/2026-02-16T22-06-55Z__log-fixer-agent__completed.md new file mode 100644 index 0000000..e5f8193 --- /dev/null +++ b/task-logs/daily/2026-02-16T22-06-55Z__log-fixer-agent__completed.md @@ -0,0 +1,12 @@ +--- +cadence: daily +agent: log-fixer-agent +status: completed +reason: 'Fixed 6 prompt files missing H1 headers' +created_at: 2026-02-16T22:06:55.000Z +timestamp: 2026-02-16T22:06:55.000Z +platform: 'jules' +--- +# Scheduler completed +- reason: Fixed 6 prompt files missing H1 headers +- platform: jules \ No newline at end of file