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