atris 2.0.8 → 2.0.9
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/atris/agent_team/validator.md +6 -0
- package/commands/init.js +44 -2
- package/package.json +1 -1
package/commands/init.js
CHANGED
|
@@ -277,18 +277,19 @@ function initAtris() {
|
|
|
277
277
|
fs.writeFileSync(todoFile, `# TODO.md
|
|
278
278
|
|
|
279
279
|
> Working task queue for this project. Target state = 0.
|
|
280
|
+
> Note: Daily tasks live in \`atris/logs/YYYY/YYYY-MM-DD.md\`
|
|
280
281
|
|
|
281
282
|
---
|
|
282
283
|
|
|
283
284
|
## Backlog
|
|
284
285
|
|
|
285
|
-
(
|
|
286
|
+
(See today's journal)
|
|
286
287
|
|
|
287
288
|
---
|
|
288
289
|
|
|
289
290
|
## In Progress
|
|
290
291
|
|
|
291
|
-
(
|
|
292
|
+
(See today's journal)
|
|
292
293
|
|
|
293
294
|
---
|
|
294
295
|
|
|
@@ -301,6 +302,47 @@ function initAtris() {
|
|
|
301
302
|
console.log('✓ Created TODO.md placeholder');
|
|
302
303
|
}
|
|
303
304
|
|
|
305
|
+
// Create logs directory and today's journal with bootstrap tasks
|
|
306
|
+
const logsDir = path.join(targetDir, 'logs');
|
|
307
|
+
const yearDir = path.join(logsDir, new Date().getFullYear().toString());
|
|
308
|
+
const today = new Date().toISOString().split('T')[0];
|
|
309
|
+
const journalFile = path.join(yearDir, `${today}.md`);
|
|
310
|
+
|
|
311
|
+
if (!fs.existsSync(yearDir)) {
|
|
312
|
+
fs.mkdirSync(yearDir, { recursive: true });
|
|
313
|
+
console.log(`✓ Created logs/${new Date().getFullYear()}/ folder`);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (!fs.existsSync(journalFile)) {
|
|
317
|
+
fs.writeFileSync(journalFile, `# Log — ${today}
|
|
318
|
+
|
|
319
|
+
## Completed ✅
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
## In Progress 🔄
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Backlog
|
|
328
|
+
|
|
329
|
+
- **T1:** Generate MAP.md — scan codebase, create navigation index with file:line refs
|
|
330
|
+
- **T2:** First build — pick something from inbox or brainstorm ideas
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
|
|
334
|
+
## Notes
|
|
335
|
+
|
|
336
|
+
**Bootstrap:** Just say "atris next" to start. The system will guide you.
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
## Inbox
|
|
341
|
+
|
|
342
|
+
`);
|
|
343
|
+
console.log(`✓ Created today's journal with bootstrap tasks`);
|
|
344
|
+
}
|
|
345
|
+
|
|
304
346
|
// Create features directory and README
|
|
305
347
|
const featuresDir = path.join(targetDir, 'features');
|
|
306
348
|
const templatesDir = path.join(featuresDir, '_templates');
|
package/package.json
CHANGED