@datacore-one/cli 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/index.js +128 -42
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8375,7 +8375,14 @@ function createSpace(name, type = "team") {
8375
8375
  "notes/journals",
8376
8376
  "notes/pages",
8377
8377
  "notes/zettel",
8378
- "journal"
8378
+ "journal",
8379
+ "3-knowledge",
8380
+ "3-knowledge/pages",
8381
+ "3-knowledge/zettel",
8382
+ "3-knowledge/literature",
8383
+ "3-knowledge/reference",
8384
+ "4-archive",
8385
+ "content"
8379
8386
  ] : [
8380
8387
  ".datacore",
8381
8388
  ".datacore/commands",
@@ -8409,26 +8416,46 @@ function createSpace(name, type = "team") {
8409
8416
 
8410
8417
  Capture everything here. Process daily to zero.
8411
8418
 
8419
+ * TODO Do more. With less.
8412
8420
  * Inbox
8413
8421
  `);
8414
8422
  writeFileSync2(join3(spacePath, "org", "next_actions.org"), `#+TITLE: Next Actions
8423
+ #+TODO: TODO NEXT WAITING | DONE CANCELED
8415
8424
  #+FILETAGS: :tasks:
8416
8425
 
8417
- Tasks organized by context. Tag with :AI: to delegate to agents.
8426
+ Tasks organized by focus area. Tag with :AI: to delegate to agents.
8427
+
8428
+ * TIER 1: STRATEGIC FOUNDATION
8429
+ ** /Projects
8430
+ ** /Work
8431
+ * TIER 2: SUPPORTING WORK
8432
+ ** Admin
8433
+ ** Maintenance
8434
+ * PERSONAL: LIFE & DEVELOPMENT
8435
+ ** /Personal Development
8436
+ ** /Health & Longevity
8437
+ ** Home & Family
8438
+ ** Financial Management
8439
+ * RESEARCH & LEARNING
8440
+ ** Technology
8441
+ ** Skills
8442
+ `);
8443
+ writeFileSync2(join3(spacePath, "org", "nightshift.org"), `#+TITLE: Nightshift Queue
8444
+ #+TODO: QUEUED EXECUTING | DONE FAILED
8445
+ #+FILETAGS: :nightshift:
8418
8446
 
8419
- * @computer
8420
- * @phone
8421
- * @errands
8422
- * @home
8423
- * @office
8424
- * @waiting
8447
+ AI tasks queued for overnight execution. Managed by /tomorrow command.
8448
+
8449
+ * Queue
8425
8450
  `);
8426
- writeFileSync2(join3(spacePath, "org", "projects.org"), `#+TITLE: Projects
8427
- #+FILETAGS: :projects:
8451
+ writeFileSync2(join3(spacePath, "org", "habits.org"), `#+TITLE: Habits
8452
+ #+FILETAGS: :habits:
8428
8453
 
8429
- Active projects (outcomes requiring multiple actions).
8454
+ Recurring behaviors and routines. Track with org-habit.
8430
8455
 
8431
- * Projects
8456
+ * Daily
8457
+ * Weekly
8458
+ * Monthly
8432
8459
  `);
8433
8460
  writeFileSync2(join3(spacePath, "org", "someday.org"), `#+TITLE: Someday/Maybe
8434
8461
  #+FILETAGS: :someday:
@@ -8436,6 +8463,14 @@ Active projects (outcomes requiring multiple actions).
8436
8463
  Ideas and projects for the future. Review monthly.
8437
8464
 
8438
8465
  * Someday
8466
+ * Maybe
8467
+ `);
8468
+ writeFileSync2(join3(spacePath, "org", "archive.org"), `#+TITLE: Archive
8469
+ #+FILETAGS: :archive:
8470
+
8471
+ Completed and canceled tasks. Searchable history.
8472
+
8473
+ * Archived Tasks
8439
8474
  `);
8440
8475
  } else {
8441
8476
  writeFileSync2(join3(spacePath, "org", "inbox.org"), `#+TITLE: Inbox
@@ -8459,18 +8494,35 @@ Your personal knowledge base and GTD system.
8459
8494
 
8460
8495
  1. **Capture** → \`org/inbox.org\` - dump everything here
8461
8496
  2. **Clarify** → Is it actionable? What's the next action?
8462
- 3. **Organize** → Move to \`next_actions.org\` by context
8497
+ 3. **Organize** → Move to \`next_actions.org\` by focus area
8463
8498
  4. **Reflect** → Weekly review, monthly strategic
8464
8499
  5. **Engage** → Do the work, delegate with :AI: tags
8465
8500
 
8466
- ## Quick Links
8501
+ ## Org Files (GTD)
8502
+
8503
+ | File | Purpose |
8504
+ |------|---------|
8505
+ | [inbox.org](org/inbox.org) | Single capture point - process to zero daily |
8506
+ | [next_actions.org](org/next_actions.org) | Active tasks by focus area |
8507
+ | [nightshift.org](org/nightshift.org) | AI task queue (overnight processing) |
8508
+ | [habits.org](org/habits.org) | Recurring behaviors |
8509
+ | [someday.org](org/someday.org) | Future possibilities |
8510
+ | [archive.org](org/archive.org) | Completed/canceled tasks |
8467
8511
 
8468
- - [Inbox](org/inbox.org) - Capture here
8469
- - [Next Actions](org/next_actions.org) - Today's work
8470
- - [Projects](org/projects.org) - Active projects
8471
- - [Someday](org/someday.org) - Future ideas
8472
- - [Notes](notes/) - Knowledge base
8473
- - [Journal](journal/) - Daily entries
8512
+ ## Knowledge
8513
+
8514
+ | Folder | Purpose |
8515
+ |--------|---------|
8516
+ | [notes/](notes/) | Personal knowledge base (Obsidian) |
8517
+ | [notes/journals/](notes/journals/) | Daily personal journals |
8518
+ | [3-knowledge/](3-knowledge/) | Structured knowledge (zettelkasten) |
8519
+
8520
+ ## Other
8521
+
8522
+ - [journal/](journal/) - AI session journals (auto-generated)
8523
+ - [content/](content/) - Generated content (drafts, emails)
8524
+ - [0-inbox/](0-inbox/) - File inbox (process files here)
8525
+ - [4-archive/](4-archive/) - Historical content
8474
8526
  `);
8475
8527
  } else {
8476
8528
  writeFileSync2(join3(spacePath, "_index.md"), `# ${name}
@@ -8496,27 +8548,56 @@ Team space.
8496
8548
  if (type === "personal") {
8497
8549
  writeFileSync2(join3(spacePath, "CLAUDE.base.md"), `# Personal Space
8498
8550
 
8499
- Personal GTD system and knowledge base.
8551
+ Personal GTD system and knowledge base (per DIP-0009).
8500
8552
 
8501
- ## GTD Workflow
8553
+ ## GTD Files
8554
+
8555
+ | File | Purpose | Process |
8556
+ |------|---------|---------|
8557
+ | \`org/inbox.org\` | Single capture point | Process to zero daily |
8558
+ | \`org/next_actions.org\` | Active tasks by focus area | Work from here |
8559
+ | \`org/nightshift.org\` | AI task queue | Auto-managed by /tomorrow |
8560
+ | \`org/habits.org\` | Recurring behaviors | Track daily |
8561
+ | \`org/someday.org\` | Future possibilities | Review monthly |
8562
+ | \`org/archive.org\` | Completed tasks | Searchable history |
8502
8563
 
8503
- - \`org/inbox.org\` - Single capture point, process to zero daily
8504
- - \`org/next_actions.org\` - Tasks by context (@computer, @phone, etc.)
8505
- - \`org/projects.org\` - Active multi-step outcomes
8506
- - \`org/someday.org\` - Future ideas, review monthly
8564
+ ## Task States
8565
+
8566
+ | State | Meaning |
8567
+ |-------|---------|
8568
+ | \`TODO\` | Standard next action |
8569
+ | \`NEXT\` | High priority, work today |
8570
+ | \`WAITING\` | Blocked on external |
8571
+ | \`DONE\` | Completed (terminal) |
8572
+ | \`CANCELED\` | Will not do (terminal) |
8507
8573
 
8508
8574
  ## AI Delegation
8509
8575
 
8510
8576
  Tag tasks with \`:AI:\` to delegate to agents:
8511
- - \`:AI:research:\` - Research and summarize
8512
- - \`:AI:content:\` - Draft content
8513
- - \`:AI:data:\` - Analyze data
8514
8577
 
8515
- ## Knowledge
8578
+ | Tag | Agent | Autonomous |
8579
+ |-----|-------|------------|
8580
+ | \`:AI:content:\` | gtd-content-writer | Yes |
8581
+ | \`:AI:research:\` | gtd-research-processor | Yes |
8582
+ | \`:AI:data:\` | gtd-data-analyzer | Yes |
8583
+ | \`:AI:pm:\` | gtd-project-manager | Yes |
8584
+
8585
+ ## Knowledge Structure
8586
+
8587
+ | Location | Purpose |
8588
+ |----------|---------|
8589
+ | \`notes/\` | Personal knowledge base (Obsidian) |
8590
+ | \`notes/journals/\` | Daily personal reflections |
8591
+ | \`3-knowledge/zettel/\` | Atomic concept notes |
8592
+ | \`3-knowledge/literature/\` | Source summaries |
8593
+
8594
+ ## Daily Workflow
8516
8595
 
8517
- - \`notes/\` - Personal knowledge base (Obsidian)
8518
- - \`notes/journals/\` - Daily reflections
8519
- - \`notes/zettel/\` - Atomic concept notes
8596
+ 1. **Morning** - Run \`/today\` for briefing
8597
+ 2. **Capture** - Everything to inbox.org
8598
+ 3. **Process** - Clear inbox, route tasks
8599
+ 4. **Work** - Focus on NEXT items
8600
+ 5. **Evening** - Run \`/tomorrow\` for wrap-up
8520
8601
 
8521
8602
  ## See Also
8522
8603
 
@@ -9301,15 +9382,20 @@ commands: []
9301
9382
  if (isTTY) {
9302
9383
  console.log(` ${c2.green}✓${c2.reset} Created 0-personal/`);
9303
9384
  console.log();
9304
- console.log(` ${c2.bold}GTD Inbox:${c2.reset} org/inbox.org`);
9305
- console.log(` ${c2.dim}Capture everything here, process to zero daily${c2.reset}`);
9385
+ console.log(` ${c2.bold}GTD System (org/):${c2.reset}`);
9386
+ console.log(` ${c2.cyan}inbox.org${c2.reset} ${c2.dim}- Capture everything here${c2.reset}`);
9387
+ console.log(` ${c2.cyan}next_actions.org${c2.reset} ${c2.dim}- Tasks by focus area${c2.reset}`);
9388
+ console.log(` ${c2.cyan}nightshift.org${c2.reset} ${c2.dim}- AI task queue (overnight)${c2.reset}`);
9389
+ console.log(` ${c2.cyan}habits.org${c2.reset} ${c2.dim}- Daily/weekly routines${c2.reset}`);
9390
+ console.log(` ${c2.cyan}someday.org${c2.reset} ${c2.dim}- Future ideas${c2.reset}`);
9306
9391
  console.log();
9307
- console.log(` ${c2.bold}Next Actions:${c2.reset} org/next_actions.org`);
9308
- console.log(` ${c2.dim}Tasks by context: @computer, @phone, @errands${c2.reset}`);
9309
- console.log(` ${c2.dim}Tag with :AI: to delegate to agents${c2.reset}`);
9392
+ console.log(` ${c2.bold}Knowledge:${c2.reset}`);
9393
+ console.log(` ${c2.cyan}notes/${c2.reset} ${c2.dim}- Personal wiki (Obsidian)${c2.reset}`);
9394
+ console.log(` ${c2.cyan}3-knowledge/${c2.reset} ${c2.dim}- Zettelkasten structure${c2.reset}`);
9310
9395
  console.log();
9311
- console.log(` ${c2.bold}Knowledge:${c2.reset} notes/`);
9312
- console.log(` ${c2.dim}Your personal wiki and note archive${c2.reset}`);
9396
+ console.log(` ${c2.bold}AI Delegation:${c2.reset}`);
9397
+ console.log(` ${c2.dim}Tag tasks with :AI: to delegate:${c2.reset}`);
9398
+ console.log(` ${c2.dim}:AI:research: :AI:content: :AI:data: :AI:pm:${c2.reset}`);
9313
9399
  }
9314
9400
  } else {
9315
9401
  if (isTTY) {
@@ -9516,7 +9602,7 @@ import { execSync as execSync5 } from "child_process";
9516
9602
  import { join as join8 } from "path";
9517
9603
  var DATA_DIR6 = join8(process.env.HOME || "~", "Data");
9518
9604
  var LOCK_FILE = join8(DATA_DIR6, "datacore.lock.yaml");
9519
- var CLI_VERSION = "1.0.5";
9605
+ var CLI_VERSION = "1.0.6";
9520
9606
  function getGitInfo(path) {
9521
9607
  if (!existsSync8(join8(path, ".git"))) {
9522
9608
  return {};
@@ -9735,7 +9821,7 @@ function restoreFromSnapshot(snapshot, options = {}) {
9735
9821
  }
9736
9822
 
9737
9823
  // src/index.ts
9738
- var VERSION = "1.0.5";
9824
+ var VERSION = "1.0.6";
9739
9825
  var args = process.argv.slice(2);
9740
9826
  var parsed = parseArgs(args);
9741
9827
  async function handleMeta(command, cmdArgs, flags, format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datacore-one/cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "CLI for setting up and managing Datacore installations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",