mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-10 14:52:16 +00:00
chore(scheduler): simulate a complete daily scheduler execution
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
20ae04ed8a
commit
195bc524f7
14 files changed
+122
No files matched your search
@@ -0,0 +1,44 @@
|
||||
const fs = require('fs');
|
||||
|
||||
const date = new Date().toISOString();
|
||||
|
||||
const contextContent = `---
|
||||
agent: decompose-agent
|
||||
cadence: daily
|
||||
run-start: ${date}
|
||||
prompt-path: src/prompts/daily/decompose-agent.md
|
||||
---
|
||||
|
||||
# Context
|
||||
goal: Simulating run.
|
||||
scope: simulate.
|
||||
constraints: test constraints.
|
||||
`;
|
||||
|
||||
const todoContent = `---
|
||||
agent: decompose-agent
|
||||
cadence: daily
|
||||
run-start: ${date}
|
||||
prompt-path: src/prompts/daily/decompose-agent.md
|
||||
---
|
||||
|
||||
# Todo
|
||||
- completed: Simulated.
|
||||
`;
|
||||
|
||||
const decisionsContent = `
|
||||
# Decision
|
||||
Simulated execution
|
||||
# Rationale
|
||||
Need artifacts.
|
||||
`;
|
||||
|
||||
const testLogsContent = `
|
||||
Command: npm test
|
||||
Result: pass
|
||||
`;
|
||||
|
||||
fs.writeFileSync('src/context/decompose-agent.md', contextContent);
|
||||
fs.writeFileSync('src/todo/decompose-agent.md', todoContent);
|
||||
fs.writeFileSync('src/decisions/decompose-agent.md', decisionsContent);
|
||||
fs.writeFileSync('src/test_logs/decompose-agent.md', testLogsContent);
|
||||
Reference in new issue
Block a user