dotai-cli 0.7.0__tar.gz → 0.8.0__tar.gz

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 (90) hide show
  1. dotai_cli-0.8.0/CHANGELOG.md +118 -0
  2. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/PKG-INFO +124 -266
  3. dotai_cli-0.8.0/PRODUCT.md +117 -0
  4. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/README.md +123 -265
  5. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/pyproject.toml +1 -1
  6. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/__init__.py +1 -1
  7. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/agents.py +17 -14
  8. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/__init__.py +9 -55
  9. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/insights_cmd.py +1 -1
  10. dotai_cli-0.8.0/src/dotai/cli/migrate_cmd.py +68 -0
  11. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/roles_cmd.py +3 -2
  12. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/sync_cmd.py +1 -1
  13. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/context.py +7 -35
  14. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/converter.py +29 -64
  15. dotai_cli-0.8.0/src/dotai/migration.py +248 -0
  16. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/rules.py +1 -1
  17. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/skills.py +24 -6
  18. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/sync.py +62 -32
  19. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_context.py +14 -9
  20. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_converter.py +3 -3
  21. dotai_cli-0.8.0/tests/test_evaluation_fixtures.py +125 -0
  22. dotai_cli-0.8.0/tests/test_init.py +77 -0
  23. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_insights.py +1 -0
  24. dotai_cli-0.8.0/tests/test_migration.py +125 -0
  25. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_skills.py +34 -0
  26. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_sync.py +123 -1
  27. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/uv.lock +1 -1
  28. dotai_cli-0.7.0/CHANGELOG.md +0 -65
  29. dotai_cli-0.7.0/PRODUCT.md +0 -93
  30. dotai_cli-0.7.0/src/dotai/seed/roles/architect.md +0 -26
  31. dotai_cli-0.7.0/src/dotai/seed/roles/debugger.md +0 -26
  32. dotai_cli-0.7.0/src/dotai/seed/roles/founder.md +0 -29
  33. dotai_cli-0.7.0/src/dotai/seed/roles/mentor.md +0 -26
  34. dotai_cli-0.7.0/src/dotai/seed/roles/product-manager.md +0 -26
  35. dotai_cli-0.7.0/src/dotai/seed/roles/qa.md +0 -26
  36. dotai_cli-0.7.0/src/dotai/seed/roles/reviewer.md +0 -26
  37. dotai_cli-0.7.0/src/dotai/seed/roles/security.md +0 -26
  38. dotai_cli-0.7.0/src/dotai/seed/roles/ship.md +0 -26
  39. dotai_cli-0.7.0/src/dotai/seed/roles/writer.md +0 -26
  40. dotai_cli-0.7.0/src/dotai/seed/skills/careful.md +0 -31
  41. dotai_cli-0.7.0/src/dotai/seed/skills/commit-helper.md +0 -48
  42. dotai_cli-0.7.0/src/dotai/seed/skills/compress.md +0 -59
  43. dotai_cli-0.7.0/src/dotai/seed/skills/context-dump.md +0 -47
  44. dotai_cli-0.7.0/src/dotai/seed/skills/investigate.md +0 -38
  45. dotai_cli-0.7.0/src/dotai/seed/skills/learn.md +0 -54
  46. dotai_cli-0.7.0/src/dotai/seed/skills/parallel-work.md +0 -88
  47. dotai_cli-0.7.0/src/dotai/seed/skills/plan.md +0 -38
  48. dotai_cli-0.7.0/src/dotai/seed/skills/review.md +0 -43
  49. dotai_cli-0.7.0/src/dotai/seed/skills/scaffold.md +0 -35
  50. dotai_cli-0.7.0/src/dotai/seed/skills/ship.md +0 -29
  51. dotai_cli-0.7.0/src/dotai/seed/skills/techdebt.md +0 -44
  52. dotai_cli-0.7.0/src/dotai/seed/skills/verify.md +0 -35
  53. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/.github/workflows/ci.yml +0 -0
  54. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/.github/workflows/publish.yml +0 -0
  55. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/.gitignore +0 -0
  56. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/LICENSE +0 -0
  57. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/rdc.yaml +0 -0
  58. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/__main__.py +0 -0
  59. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/catalog.py +0 -0
  60. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/__main__.py +0 -0
  61. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/agents_cmd.py +0 -0
  62. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/prefs_cmd.py +0 -0
  63. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/rules_cmd.py +0 -0
  64. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/cli/skills_cmd.py +0 -0
  65. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/import_agent.py +0 -0
  66. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/insights.py +0 -0
  67. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/maintenance.py +0 -0
  68. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/models.py +0 -0
  69. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/preferences.py +0 -0
  70. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/roles.py +0 -0
  71. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/scope.py +0 -0
  72. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/store.py +0 -0
  73. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/tools/__init__.py +0 -0
  74. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/tools/base.py +0 -0
  75. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/tools/registry.py +0 -0
  76. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/utils.py +0 -0
  77. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/src/dotai/vet.py +0 -0
  78. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/__init__.py +0 -0
  79. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/conftest.py +0 -0
  80. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_agents.py +0 -0
  81. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_catalog.py +0 -0
  82. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_import_agent.py +0 -0
  83. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_maintenance.py +0 -0
  84. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_models.py +0 -0
  85. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_preferences.py +0 -0
  86. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_roles.py +0 -0
  87. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_rules.py +0 -0
  88. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_store.py +0 -0
  89. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_utils.py +0 -0
  90. {dotai_cli-0.7.0 → dotai_cli-0.8.0}/tests/test_vet.py +0 -0
@@ -0,0 +1,118 @@
1
+ # Changelog
2
+
3
+ ## 0.8.0 — 2026-11-07
4
+
5
+ ### Product focus decision
6
+
7
+ - Narrowed dotai around **durable personal developer guidance**—private standards,
8
+ architectural decisions, local constraints, exceptions, and lessons deliberately
9
+ retained across repositories and coding agents. Retired features that merely
10
+ duplicated ordinary engineering competence or native harness capabilities.
11
+
12
+ ### Added
13
+
14
+ - `dotai migrate`: Losslessly migrates legacy folder skills (`main.md` -> `SKILL.md`)
15
+ and legacy persona roles to user-authored perspective skills with safety backups
16
+ under `~/.config/dotai/backups/`. Supports `--dry-run` to preview actions.
17
+
18
+ ### Changed
19
+
20
+ - **Native skill packages**: Adopt canonical `SKILL.md` packages with package bodies,
21
+ metadata, scripts, references, assets, and relative paths kept intact. Removed
22
+ lossy section slicing from skill converters. Dotai-specific metadata is stored
23
+ cleanly in `.dotai-metadata.json`.
24
+ - **Durable personal guidance focus**: Fresh initialization (`dotai init`) creates
25
+ empty starter structures and `rules.md` without bundling mandatory generic
26
+ workflow or persona libraries. Existing user files are preserved during upgrade.
27
+ - **Explicit workflow selection**: Removed implicit task-word routing (`_route_skill`).
28
+ Incidental words in tasks do not trigger workflows; skills load only when
29
+ explicitly requested (`--skill`).
30
+ - **Retired automatic persona injection**: Roles are deprecated as a first-class
31
+ abstraction; perspective guidance is maintained as standard user-authored skills.
32
+ Legacy roles remain readable for backward compatibility and can be migrated.
33
+ - **Claude bootstrap reassessment**: Avoid unconditional repeated resolver calls
34
+ when no file-scoped guidance exists or task state has not changed.
35
+ - **Accurate product claims**: Receipt reporting and documentation distinguish
36
+ selection from agent compliance or causality ("what dotai selected and returned,
37
+ and why"), distinguish Claude Code's automatic user-memory adapter from portable
38
+ manual CLI resolution, and state clearly that prompt rules are guidance rather
39
+ than enforced sandbox boundaries.
40
+
41
+ ### Removed
42
+
43
+ - Bundled generic seed workflows (`src/dotai/seed/skills/*`, including prompt-based
44
+ careful mode and session-bootstrap context dumps) and generic seed roles
45
+ (`src/dotai/seed/roles/*`) from default installation. Existing user-installed
46
+ files in `~/.ai/` and project `.ai/` directories are never deleted.
47
+
48
+ ## 0.7.1 — 2026-11-06
49
+
50
+ ### Fixed
51
+
52
+ - `sync_project` no longer deletes `CLAUDE.md` content after a `# AI Context`
53
+ substring. A legacy generated block is replaced only when the heading is a
54
+ whole line, the next content is the old primer, and the block ends at a
55
+ closing sentence dotai used to write. Text outside that span stays. Any other
56
+ heading is left in place and the managed block is appended.
57
+
58
+ ## 0.7.0 — 2026-11-04
59
+
60
+ ### Changed
61
+
62
+ - Share project discovery and override handling between context resolution and
63
+ primers, including nested directories, custom knowledge paths, and disabled
64
+ local overrides. Unrelated registered projects are excluded.
65
+ - Deliver full universal rule bodies and freeform conventions in resolved
66
+ context. Compact primers replace individual scoped-rule listings with a count
67
+ and resolver pointer.
68
+ - Load active general preferences by default, advertise other active domains,
69
+ and honor explicitly requested packs independently of domain selection.
70
+ - Preserve complete bodies when loading existing dotai skills while retaining
71
+ structured Python fields and identifying the source directory.
72
+ - Report file-scope facts separately from resolution status; missing files keep
73
+ a resolution provisional whenever scoped rules exist.
74
+
75
+ ### Fixed
76
+
77
+ - Match inherited rule globs from nested working directories and preserve hidden
78
+ and symlinked file names during matching.
79
+ - Avoid receipt temporary-file collisions and tolerate concurrent history
80
+ pruning at the retention limit.
81
+ - Pluralize the compact primer's file-scoped rule count.
82
+ - Treat a rule as universal only when every glob is a catch-all, so one
83
+ specific glob keeps the rule file-scoped.
84
+ - Search, `rules`, project audits, scoped insights, and project skill sync
85
+ read the same ancestor catalog as context. Unrelated projects stay out.
86
+
87
+ ## 0.6.0 — 2026-07-17
88
+
89
+ ### Added
90
+
91
+ - `dotai learn --directive` for proactive engineering standards, taste, and
92
+ guardrails without requiring a prior mistake.
93
+ - `dotai insights` for deterministic local delivery evidence: resolution health,
94
+ selection counts, last use, rule-summary exposure, and unused knowledge.
95
+ - Bounded metadata-only receipt history, retaining the latest 500 resolutions
96
+ per agent.
97
+ - `PRODUCT.md` defining dotai as portable engineering judgment for coding agents.
98
+
99
+ ### Changed
100
+
101
+ - Repositioned the CLI and documentation around developer-controlled engineering
102
+ judgment rather than universal context.
103
+ - `dotai sync` now has one repository-safe behavior: local context outside the
104
+ worktree.
105
+ - `dotai primer` now always emits the compact bootstrap.
106
+ - `dotai search` reads live knowledge instead of a cached index.
107
+ - `dotai install` is the single entry point for supported external skill formats.
108
+
109
+ ### Removed
110
+
111
+ - Commands: `watch`, `detach`, `index`, `tree`, `prompt`, `role`, `convert`, and
112
+ `import-plugin`.
113
+ - Shared/full/agent-specific sync controls and primer session overlays.
114
+ - Freeform `dotai learn --append-md` capture.
115
+ - The cached knowledge-tree model and `watchdog` dependency.
116
+
117
+ This release intentionally breaks pre-1.0 CLI compatibility to keep one clear,
118
+ local-first product path.