atris 2.0.8 → 2.0.10
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 +12 -0
- package/commands/init.js +43 -2
- package/commands/sync.js +2 -0
- package/package.json +1 -1
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
> **Role:** Validate execution, update docs, ensure quality | **Source:** build.md, MAP.md, code
|
|
4
4
|
|
|
5
|
+
## Project Context
|
|
6
|
+
|
|
7
|
+
**Project Type:** nodejs (nodejs)
|
|
8
|
+
|
|
9
|
+
**Validation:** Run `npm test` to verify changes work correctly.
|
|
10
|
+
|
|
11
|
+
## Project Context
|
|
12
|
+
|
|
13
|
+
**Project Type:** nodejs (nodejs)
|
|
14
|
+
|
|
15
|
+
**Validation:** Run `npm test` to verify changes work correctly.
|
|
16
|
+
|
|
5
17
|
---
|
|
6
18
|
|
|
7
19
|
## Your Job
|
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,46 @@ 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
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## Notes
|
|
334
|
+
|
|
335
|
+
**Bootstrap:** Say "atris next" to start. After MAP.md is generated, system will brainstorm ideas for your first build.
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
## Inbox
|
|
340
|
+
|
|
341
|
+
`);
|
|
342
|
+
console.log(`✓ Created today's journal with bootstrap tasks`);
|
|
343
|
+
}
|
|
344
|
+
|
|
304
345
|
// Create features directory and README
|
|
305
346
|
const featuresDir = path.join(targetDir, 'features');
|
|
306
347
|
const templatesDir = path.join(featuresDir, '_templates');
|
package/commands/sync.js
CHANGED
|
@@ -23,8 +23,10 @@ function syncAtris() {
|
|
|
23
23
|
|
|
24
24
|
const filesToSync = [
|
|
25
25
|
{ source: 'atris.md', target: 'atris.md' },
|
|
26
|
+
{ source: 'atris/atrisDev.md', target: 'atrisDev.md' },
|
|
26
27
|
{ source: 'PERSONA.md', target: 'PERSONA.md' },
|
|
27
28
|
{ source: 'GETTING_STARTED.md', target: 'GETTING_STARTED.md' },
|
|
29
|
+
{ source: 'atris/CLAUDE.md', target: 'CLAUDE.md' },
|
|
28
30
|
{ source: 'atris/agent_team/navigator.md', target: 'agent_team/navigator.md' },
|
|
29
31
|
{ source: 'atris/agent_team/executor.md', target: 'agent_team/executor.md' },
|
|
30
32
|
{ source: 'atris/agent_team/validator.md', target: 'agent_team/validator.md' },
|
package/package.json
CHANGED