@sallmarta/eye-hate-agent 1.0.2 → 1.0.4

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 (74) hide show
  1. package/README.md +56 -304
  2. package/bin/eha.js +203 -118
  3. package/docs/templates/project-docs-template/index.md +208 -0
  4. package/docs/templates/project-docs-template/technical-guidelines/index.md +81 -0
  5. package/docs/templates/reusable-prompts/00-project-docs-bootstrap.md +40 -0
  6. package/docs/{vibes → templates}/reusable-prompts/00-project-docs-parity.md +4 -6
  7. package/docs/{vibes → templates}/reusable-prompts/00-project-docs-refresh.md +11 -11
  8. package/docs/{vibes → templates}/reusable-prompts/01-sdd-execute.md +1 -1
  9. package/docs/{vibes → templates}/reusable-prompts/02-sdd-discuss.md +3 -3
  10. package/{.agents/rules/agent.md → docs/templates/rules/agent-rules.md} +7 -12
  11. package/docs/{vibes → templates}/skills/api-design/SKILL.md +14 -25
  12. package/docs/{vibes/skills/full-verification → templates/skills/code-audit}/SKILL.md +36 -54
  13. package/docs/templates/skills/db-schema-design/SKILL.md +120 -0
  14. package/docs/templates/skills/devops-ci-cd/SKILL.md +99 -0
  15. package/docs/templates/skills/observability/SKILL.md +99 -0
  16. package/docs/{vibes/skills/parity → templates/skills/parity-audit}/SKILL.md +26 -52
  17. package/docs/templates/skills/refactor/SKILL.md +100 -0
  18. package/docs/templates/skills/security-audit/SKILL.md +149 -0
  19. package/docs/{vibes/skills/analysis → templates/skills/system-analysis}/SKILL.md +19 -41
  20. package/docs/{vibes/skills/test-authoring → templates/skills/system-tester}/SKILL.md +28 -46
  21. package/docs/templates/skills/ui-ux-design/SKILL.md +102 -0
  22. package/docs/templates/skills/wireframing/SKILL.md +88 -0
  23. package/package.json +4 -6
  24. package/src/engine/index.js +9 -12
  25. package/src/engine/install.js +67 -165
  26. package/src/engine/runtime-adapters.js +266 -50
  27. package/src/engine/skill-registry.js +72 -0
  28. package/src/engine/state.js +29 -7
  29. package/src/engine/workflow-registry.js +14 -23
  30. package/.claude/commands/eha/README.md +0 -3
  31. package/.claude/commands/eha/eha-bootstrap.md +0 -9
  32. package/.claude/commands/eha/eha-discuss.md +0 -9
  33. package/.claude/commands/eha/eha-execute.md +0 -9
  34. package/.claude/commands/eha/eha-parity.md +0 -9
  35. package/.claude/commands/eha/eha-refresh.md +0 -9
  36. package/.claude/commands/eha/eha-verify.md +0 -9
  37. package/.claude/rules/agent-rules.md +0 -64
  38. package/.github/instructions/agent-rules.instructions.md +0 -63
  39. package/.github/instructions/eha-workflows.instructions.md +0 -21
  40. package/docs/eyehateagent-contract.md +0 -475
  41. package/docs/eyehateagent-maintenance.md +0 -103
  42. package/docs/project-docs/changelog.md +0 -299
  43. package/docs/project-docs/foundation/architecture.md +0 -117
  44. package/docs/project-docs/foundation/status.md +0 -32
  45. package/docs/project-docs/foundation/workflow.md +0 -63
  46. package/docs/project-docs/index.md +0 -20
  47. package/docs/project-docs/testing.md +0 -73
  48. package/docs/vibes/project-docs-template/foundation/architecture.md +0 -79
  49. package/docs/vibes/project-docs-template/foundation/changelog.md +0 -53
  50. package/docs/vibes/project-docs-template/foundation/feature-inventory.md +0 -46
  51. package/docs/vibes/project-docs-template/foundation/phases.md +0 -60
  52. package/docs/vibes/project-docs-template/foundation/prd.md +0 -69
  53. package/docs/vibes/project-docs-template/foundation/status.md +0 -57
  54. package/docs/vibes/project-docs-template/foundation/workflow.md +0 -59
  55. package/docs/vibes/project-docs-template/getting-started.md +0 -52
  56. package/docs/vibes/project-docs-template/index.md +0 -66
  57. package/docs/vibes/project-docs-template/operations/ci-cd.md +0 -56
  58. package/docs/vibes/project-docs-template/operations/compliance.md +0 -46
  59. package/docs/vibes/project-docs-template/operations/governance.md +0 -46
  60. package/docs/vibes/project-docs-template/operations/observability.md +0 -53
  61. package/docs/vibes/project-docs-template/operations/production-runbook.md +0 -62
  62. package/docs/vibes/project-docs-template/operations/security.md +0 -49
  63. package/docs/vibes/project-docs-template/technical/api-contract.md +0 -49
  64. package/docs/vibes/project-docs-template/technical/database.md +0 -59
  65. package/docs/vibes/project-docs-template/technical/error-handling.md +0 -54
  66. package/docs/vibes/project-docs-template/technical/internationalization.md +0 -46
  67. package/docs/vibes/project-docs-template/technical/testing.md +0 -57
  68. package/docs/vibes/project-docs-template/technical/ui-ux.md +0 -68
  69. package/docs/vibes/project-docs-template/technical-guidelines/index.md +0 -52
  70. package/docs/vibes/reusable-prompts/00-project-docs-bootstrap.md +0 -59
  71. package/docs/vibes/skills/code-audit/SKILL.md +0 -170
  72. package/docs/vibes/skills/project-elevation/SKILL.md +0 -157
  73. package/docs/vibes/skills/test-authoring/references/patterns.md +0 -116
  74. package/docs/vibes/skills/test-authoring/references/test-types.md +0 -52
@@ -1,299 +0,0 @@
1
- # Changelog — Eye Hate Agent
2
-
3
- All notable changes to Eye Hate Agent are documented here. Keep in mind, `docs/project-docs/changelog.md` has to be updated whenever important things change in this repository.
4
-
5
- ## [1.18.2] - 2026-05-26
6
-
7
- ### Changed
8
-
9
- - **Bare scoped npx follow-up**: Reordered the package bin entries and bumped `package.json` to `1.0.2` so bare `npx @sallmarta/eye-hate-agent ...` should prefer `eye-hate-agent` before the installed `eha` alias.
10
-
11
- ## [1.18.1] - 2026-05-26
12
-
13
- ### Changed
14
-
15
- - **npx entrypoint compatibility**: Added a package-name bin alias (`eye-hate-agent`) alongside `eha` and bumped `package.json` to `1.0.1` so `npx @sallmarta/eye-hate-agent ...` resolves correctly after republishing.
16
-
17
- ## [1.18.0] - 2026-05-26
18
-
19
- ### Added
20
-
21
- - **MIT license file**: Added a root `LICENSE` file so the published npm package has an explicit license artifact.
22
-
23
- ### Changed
24
-
25
- - **Scoped package identity**: Updated `package.json` to use the public scoped package name `@sallmarta/eye-hate-agent`.
26
- - **npm metadata hardening**: Added repository, homepage, bugs URL, keywords, author, `publishConfig.access`, and a Node.js engine requirement for npm publishing.
27
- - **README install guidance**: Updated `README.md` to distinguish local development, global install, and one-off `npx` usage for the scoped package.
28
- - **Packaged CLI portability**: Updated the engine to accept generic project roots and materialize bundled contract and workflow sources into `.eha/generated/sources/` so installed tarballs work outside the EHA source repo.
29
- - **Release workflow docs**: Updated `docs/project-docs/foundation/workflow.md` and `docs/project-docs/testing.md` with package validation and publish-preparation steps.
30
-
31
- ## [1.17.0] - 2026-05-25
32
-
33
- ### Added
34
-
35
- - **EHA engine foundation**: Added `src/engine/` with a workflow registry, repo-root/state handling, runtime adapters, install/uninstall orchestration, and workflow prompt preparation.
36
- - **Engine-backed CLI**: Replaced the thin prompt-printing CLI with an engine-backed `eha` control plane supporting `install`, `uninstall`, `doctor`, `bootstrap`, `refresh`, `parity`, `discuss`, `execute`, `verify`, and `init`.
37
- - **Repo-local runtime projections**: Added generated runtime outputs for Claude (`.claude/commands/eha/`) and GitHub Copilot (`.github/instructions/eha-workflows.instructions.md`).
38
- - **Owner docs for the engine**: Added `docs/project-docs/index.md`, `foundation/architecture.md`, `foundation/workflow.md`, and `foundation/status.md` to own the new engine direction.
39
- - **Engine tests**: Added a Node built-in test suite covering workflow dispatch, repo-root discovery, and install/uninstall behavior.
40
- - **Newest workflow reference**: Added `newest-flow.md` at the repository root with full current-state flowcharts and step-by-step workflows for new projects and running/mature projects.
41
-
42
- ### Changed
43
-
44
- - **Repository identity**: Updated `README.md` so EHA is described as a template-and-engine repository instead of template-only.
45
- - **Verification policy**: Updated `docs/project-docs/testing.md` so engine and CLI changes require executable checks in addition to the existing document-first maintenance review.
46
- - **Maintenance scope**: Updated `docs/eyehateagent-maintenance.md` so engine code, installer behavior, and runtime projections are explicitly part of template-repo maintenance.
47
-
48
- ## [1.16.0] - 2026-05-24
49
-
50
- ### Changed
51
-
52
- - **Parity Fix — `guidelines/` → `technical-guidelines/`**: Standardized all references across the contract, README, maintenance doc, template `technical-guidelines/index.md`, `full-verification` skill, and `test-authoring` skill to use `technical-guidelines/` as the canonical subdirectory name. Eliminates the most pervasive naming inconsistency in the repository.
53
- - **Parity Fix — flat paths → 4-layer paths**: Updated all stale flat-path references (`project.md`, `architecture.md`, `testing.md`, `status.md`) to use 4-layer taxonomy paths (`foundation/prd.md`, `foundation/architecture.md`, `technical/testing.md`, `foundation/status.md`) across the contract (Naming And Surface Rules, Request Routing Examples, Registry Policy, Guideline Policy, Adoption Checklists), README (required docs list, recommended docs), and all seven skills.
54
- - **Parity Fix — drop `quick-reference.md`**: Removed all ghost references to `quick-reference.md` from the contract (Naming And Surface Rules, Adoption Checklists), and from the Required Project Inputs tables of all seven skills (`parity`, `full-verification`, `analysis`, `api-design`, `code-audit`, `project-elevation`, `test-authoring`).
55
- - **Parity Fix — `project.md` → `prd.md`**: Updated all remaining references to the absorbed `project.md` to `prd.md` or `foundation/prd.md` across skills and the contract.
56
- - **Parity Fix — maintenance doc headings**: Added numbered prefixes to all section headings in `docs/eyehateagent-maintenance.md` to match the Stable Headings defined in the contract.
57
- - **Parity Fix — file casing**: Renamed `docs/project-docs/CHANGELOG.md` → `changelog.md` and `docs/project-docs/TESTING.md` → `testing.md` to match the contract's lowercase convention.
58
- - **Parity Fix — CLI and package**: Fixed `bin/eha.js` version from `2.0.0` to `1.0.0` to match `package.json`. Added missing `commander` and `chalk` dependencies to `package.json`. Removed stale `"main": "index.js"` entry.
59
- - **Parity Fix — template guideline paths**: Updated `docs/vibes/project-docs-template/technical-guidelines/index.md` guideline file paths from `guidelines/` to `technical-guidelines/`.
60
- - **Parity Fix — testing.md starter path**: Updated `docs/project-docs/testing.md` to reference the correct 4-layer starter template path.
61
-
62
- ---
63
-
64
- ## [1.15.0] - 2026-05-24
65
-
66
- ### Added
67
-
68
- - **EHA CLI Tool**: Introduced `bin/eha.js` and a `package.json` to make Eye Hate Agent an executable Node module. The CLI allows users to initialize and run parity/SDD prompts directly via terminal commands.
69
- - **Spec-Driven Development (SDD) Prompts**: Created brand new executable AI workflows `01-sdd-execute.md` (for TDD/SDD code generation) and `02-sdd-discuss.md` (for brainstorming specifications before writing code) to formalize the agile execution loop.
70
-
71
- ### Changed
72
-
73
- - **Massive Template Overhaul**: Restructured `docs/vibes/project-docs-template` into a strict 4-layer taxonomy (`foundation`, `operations`, `technical`, `technical-guidelines`).
74
- - **Mega PRD Integration**: Absorbed `project.md` and `business-process.md` into `foundation/prd.md` to prevent context fragmentation.
75
- - **Testing Consolidation**: Absorbed `test-plan.md` and `test-case.md` into `technical/testing.md` to streamline the verification policy.
76
- - **Data Dictionary**: Formalized a Data Dictionary section inside `technical/database.md`.
77
- - **Backlog Unified**: Designated `foundation/phases.md` as the unified agile sprint tracker, officially replacing `sprints.md`.
78
- - **Contract Sync**: Completely rewrote `eyehateagent-contract.md` and `README.md` to align the "Required Document Set", "Stable Headings", and "Ownership Rules" with the new 4-layer architecture.
79
- - **Reusable Prompts Sync**: Rewrote the Output Contracts and target paths across all executable AI workflows (`00-project-docs-bootstrap.md`, `01-sdd-execute.md`, `02-sdd-discuss.md`, `00-project-docs-parity.md`, `00-project-docs-refresh.md`) to strictly enforce the new 4-layer taxonomy and eliminate hardcoded legacy folders.
80
-
81
- ---
82
-
83
- ## [1.14.0] - 2026-05-22
84
-
85
- ### Changed
86
-
87
- - Enhanced Rule 2.5 (Claude) and Rule 2.4 (Gemini, Copilot) for Session Continuity across all platform instruction surfaces. Standardized the handoff filename to a predictable, overwriting `session-handoff.md` under `active-repo/memories/session/session-handoff.md` to prevent directory clutter. Explicitly defined handoff compilation requirements to mandate a comprehensive active conversation summary, strict redaction of sensitive data (API keys, credentials, PII), dynamic tailoring based on user-provided compaction arguments, and providing a copy-pasteable short prompt (e.g., "Resume session from memories/session/session-handoff.md") for seamless onboarding.
88
-
89
- ---
90
-
91
- ## [1.13.0] - 2026-05-22
92
-
93
- ### Changed
94
-
95
- - Consolidated all three platform instruction surfaces (`.claude/rules/agent-rules.md`, `.agents/rules/agent.md`, and `.github/instructions/agent-rules.instructions.md`) to a point-numbered (`#1.1`, `#2.4`, etc.) 5-heading schema to achieve perfect consistency and remove redundancy.
96
- - Replaced the generic `[AGENT-SPECIFIC CACHE RULE GOES HERE]` placeholder with researched, platform-specific cache-integrity rules:
97
- - **Gemini** (`.agents/rules/agent.md`): Added `Prefix Stability` rule targeting implicit prefix cache protection, byte-identical prefix requirements, and non-deterministic serialization risks.
98
- - **Claude** (`.claude/rules/agent-rules.md`): Added `Prefix & Lookback Integrity` rule targeting byte-identical prefix order, dynamic injection prevention, and the ~20-block lookback window overflow.
99
- - **Copilot** (`.github/instructions/agent-rules.instructions.md`): Added `Context Efficiency` rule targeting usage-based AI Credits billing, explicit over implicit context, and session hygiene.
100
- - Merged redundant rule **4.1** (`Keep rules generic...`) into **2.1** (`Context Limit`) under `## 2. Context & Cache Integrity`, cleanly shift-renumbering all Section 4 items to keep the completion section tightly focused.
101
- - Strengthened **Section 5 (Contract Essentials)** across all surfaces with bolded subtitles and advanced behavioral safeguards:
102
- - Formally embedded the nested **Decision Precedence** list directly from the contract.
103
- - Upgraded **Failure & Fallback** to explicitly address code-doc drift (the "do not guess" rule on code, tests, and configs).
104
- - Introduced **Codebase & Comment Integrity** to strictly prevent the silent deletion of comments, docstrings, formatting, and structures.
105
- - Elevated **Completion & Verification** to actively search for correctness, edge cases, and unexpected side effects.
106
-
107
- ---
108
-
109
- ## [1.12.0] - 2026-05-18
110
-
111
- ### Added
112
-
113
- - Added `## Guidelines` as a stable heading to the `architecture.md` template and contract to ensure domain-specific rules are properly delegated to `guidelines/index.md`.
114
- - Added a note to `README.md` clarifying that adopters only need to keep the platform instruction surface(s) they actually use (typically `.agents` for Gemini, `.claude` for Claude, or `.github` for GitHub Copilot).
115
- - Added `.agents/rules/` to the adoption topology folder trees in `README.md` to match the newly supported 3-mirror architecture.
116
- - Added explicit, punchy "Pros and Cons" summaries to all three topology scenarios in `README.md` to help adopters choose the right architecture (including strict target isolation benefits for Scenario 3).
117
-
118
- ### Changed
119
-
120
- - Unified repository taxonomy by changing all scattered references of "mirrored rule files" and "rules" to "platform instruction surfaces (mirrored rule files)" across the contract, maintenance doc, README, reusable prompts, and skills.
121
- - Restored the explicit `docs/eyehateagent-contract.md` dependency to the `full-verification` skill so it can accurately route template-level consistency checks to `parity`.
122
- - Updated the testing diagnostic commands in `docs/project-docs/testing.md` to explicitly search the new `.agents` directory for consistency checking.
123
- - Streamlined `api-design`, `analysis`, `test-authoring`, `project-elevation`, and `code-audit` skills by removing redundant dependencies on the meta-contract, focusing them strictly on `docs/project-docs/` for normal work.
124
-
125
- ---
126
-
127
- ## [1.11.0] - 2026-05-18
128
-
129
- ### Added
130
-
131
- - Added `## 7. Contract Essentials` section to all three mirrored agent rule files (`.claude/rules/agent-rules.md`, `.github/instructions/agent-rules.instructions.md`, `.agents/rules/agent.md`). Extracts four critical behavioral rules from the contract that agents need on every task: skill invocation override, decision precedence order, core fallback behaviors, and completion requirements. This ensures agents follow these rules even when they don't open the full contract.
132
-
133
- ### Changed
134
-
135
- - Refined all three agent rule files: tightened wording for knowledge preservation, format precedence, approach description, and merged scattered verification rules into a single completion bullet in § 7.
136
-
137
- ### Removed
138
-
139
- - Removed redundant contract file-reading trigger (line 43) from all rule files — § 7 Contract Essentials now covers what agents would find there.
140
- - Removed template-maintainer guidance ("Keep reusable rules free of stack-specific commands...") from always-on rules — this belongs in the contract's authoring section, not in agent behavior rules.
141
-
142
- ---
143
-
144
- ## [1.10.0] - 2026-05-16
145
-
146
- ### Added in 1.10.0
147
-
148
- - Added explicit rules and guidance across the contract, reusable prompts, and agent rules for preserving valuable project-specific knowledge from legacy documentation (e.g., 'Decision Rationale') even if it lacks a standard template heading. Agents are now instructed to evaluate whether such information should become a new custom section in an existing document or a new separate file, and to ask the user if the best approach is ambiguous.
149
- - Added explicit rules for codebase-only knowledge discovery during documentation bootstrap and refresh. When no legacy docs exist, agents now inspect code, comments, configs, tests, and repository structure for valuable domain knowledge and surface it as custom sections or files, marking codebase-inferred facts with lower confidence until the user confirms them.
150
-
151
- ---
152
-
153
- ## [1.9.0] - 2026-05-15
154
-
155
- ### Changed in 1.9.0
156
-
157
- - Renamed the `consistency-audit` workflow family to `parity` across the reusable prompt, matching skill, routing docs, README guidance, and verification guidance so the user-facing and internal names stay aligned.
158
- - Retired the old `00-project-docs-consistency-audit.md` and `docs/vibes/skills/consistency-audit/` paths so only the canonical parity surfaces remain in the active template.
159
-
160
- ---
161
-
162
- ## [1.8.0] - 2026-05-15
163
-
164
- ### Changed in 1.8.0
165
-
166
- - Expanded the consistency-audit prompt and related contract and skill surfaces so audits can inspect current implementation evidence when code and docs disagree, and require an ask-the-user pause when authority between docs and code is not explicit.
167
- - Tightened `00-project-docs-refresh.md` so legacy or reference folders such as `docs-old/` and `docs-legacy/` can promote still-valid optional docs, active guideline sets, and phased-planning docs into `docs/project-docs/` instead of being left stranded in reference-only paths.
168
- - Clarified README Step 3 with explicit migration guidance and example prompts for promoting legacy `guidelines/` and `phases/` material during refresh-oriented adoption.
169
- - Added a narrow contract-level migration rule so reusable prompts promote justified legacy optional docs into the active owner-doc set and update the relevant registries.
170
- - Refined the contract, refresh prompt, consistency-audit prompt, and README so legacy docs are mapped by governed concern and content rather than by legacy folder or filename.
171
- - Added representative semantic-normalization examples such as `epic` or `roadmap` mapping to phased-planning owners and `protocol` or `standard` mapping to guideline owners when their content matches those concerns.
172
- - Added an explicit ask-the-user fallback pattern for ambiguous legacy mappings so agents do not silently guess when a legacy label may need to be preserved or may map to multiple active owners.
173
-
174
- ---
175
-
176
- ## [1.7.0] - 2026-05-13
177
-
178
- ### Added in 1.7.0
179
-
180
- - Added a README `Legend` section that defines repo-specific terms in plain language for adopters and maintainers.
181
-
182
- ### Changed in 1.7.0
183
-
184
- - Made legacy-doc migration explicit across the README, contract, and reusable prompts by treating clearly named folders such as `docs-legacy/` as reference input instead of active owner docs.
185
- - Condensed README Step 3 into a smaller scenario guide and migration checklist that is easier for both humans and agents to scan.
186
- - Simplified more README wording outside the Legend so the main guide uses less contract-heavy language.
187
- - Merged the README navigation and registry-extension guidance into one shorter `Key Paths` section and removed redundant file-summary sections.
188
- - Rephrased the README explanation of regular docs versus guidelines with simpler language and clearer examples.
189
- - Reworked README Step 3 into a shorter tutorial-style flow with one explicit procedure for new repos, existing docs, and legacy-doc migration.
190
-
191
- ### Removed in 1.7.0
192
-
193
- - Removed one more redundant recap from README Step 3 so the prompt-selection flow reads more directly.
194
- - Removed two advanced Legend terms and shortened the README guideline example list so the guide stays lighter for first-time readers.
195
-
196
- ---
197
-
198
- ## [1.6.0] - 2026-05-12
199
-
200
- ### Added in 1.6.0
201
-
202
- - Added explicit maintainer-facing anchors for where to register new optional regular doc types and guideline types.
203
- - Added a registry-driven extension model for optional regular docs and guideline types.
204
- - Added a starter `docs/vibes/project-docs-template/index.md` registry and retuned reusable prompts to treat registries as inventory sources of truth.
205
- - Added a local `docs/project-docs/testing.md` owner doc for template-maintenance validation rules.
206
- - Added a recommended starter guideline pack and a required `guidelines/index.md` when guideline files exist.
207
- - Added starter guideline templates and updated reusable prompts and maintainer docs to keep guideline guidance consistent.
208
- - Added a central skill-selection matrix in `docs/eyehateagent-contract.md` to separate analysis, audit, design, verification, elevation, and consistency work more clearly.
209
- - Added a new `full-verification` skill as the broad verification entry point for code, docs, contracts, architecture, quality, and project-health checks.
210
-
211
- ### Changed in 1.6.0
212
-
213
- - Refreshed `README.md` with a table of contents, a clearer file index, and more explicit registry-driven extension entry points.
214
- - Clarified the contract split between core project docs and technical guideline docs.
215
- - Tightened `project-elevation` so it is explicitly forward-looking rather than a generic analysis wrapper.
216
- - Clarified `test-authoring` as a verification-strategy-first skill that chooses the right checks before writing tests.
217
- - Updated the contract and overlapping specialist skills so broad verification requests route cleanly to `full-verification` before choosing a single best specialist path.
218
-
219
- ---
220
-
221
- ## [1.5.0] - 2026-05-12
222
-
223
- ### Added in 1.5.0
224
-
225
- - Added a repository index to `README.md` and refreshed the adoption examples to show the new contract layout.
226
-
227
- ### Changed in 1.5.0
228
-
229
- - Moved the canonical template anchors under `docs/` as `docs/eyehateagent-contract.md` and `docs/eyehateagent-maintenance.md`.
230
- - Retargeted the platform instruction surfaces (mirrored rule files), reusable prompts, skills, and changelog references to the new docs-anchor paths.
231
- - Refined the contract and maintenance wording to match the new docs-anchor model while preserving the 65% context-compaction exception.
232
-
233
- ---
234
-
235
- ## [1.4.0] - 2026-05-11
236
-
237
- ### Added in 1.4.0
238
-
239
- - Added template governance through `docs/eyehateagent-maintenance.md`.
240
-
241
- ### Changed in 1.4.0
242
-
243
- - Moved the contract anchors to the repository root and retargeted live references.
244
- - Formalized Scenario 2 support in `docs/eyehateagent-contract.md` while keeping Scenario 3 outside the contract.
245
- - Turned `README.md` into the main operator guide with a chained adoption flow: topology, target project category, and starter reusable prompt.
246
-
247
- ### Removed in 1.4.0
248
-
249
- - Removed standalone adoption-guide surfaces that are now absorbed into the root `README.md`.
250
-
251
- ---
252
-
253
- ## [1.3.0] - 2026-05-10
254
-
255
- ### Changed in 1.3.0
256
-
257
- - Simplified the platform instruction surfaces (mirrored rule files) and clarified response-shape precedence through `docs/eyehateagent-contract.md`.
258
- - Shifted template verification back to a document-first, human-reviewed maintenance flow.
259
-
260
- ### Removed in 1.3.0
261
-
262
- - Removed outdated sample-oriented docs from the active template tree.
263
-
264
- ---
265
-
266
- ## [1.2.0] - 2026-05-09
267
-
268
- ### Changed in 1.2.0
269
-
270
- - Refined contract, testing, quick-reference, and maintenance docs for clearer ownership and consistency.
271
- - Updated `README.md` and platform instruction surfaces (mirrored rule files) to better match the template workflow and terminology.
272
-
273
- ---
274
-
275
- ## [1.1.0] - 2026-05-08
276
-
277
- ### Added in 1.1.0
278
-
279
- - Added the root `README.md` as the first human-facing adoption guide.
280
- - Added optional starter docs for `prd.md` and `production-runbook.md`.
281
-
282
- ### Changed in 1.1.0
283
-
284
- - Clarified keep, replace, and remove rules for copying the template into target repositories.
285
- - Tightened starter-pack and reusable-prompt guidance for downstream doc management.
286
-
287
- ---
288
-
289
- ## [1.0.0] - 2026-05-07
290
-
291
- ### Added in 1.0.0
292
-
293
- - Initial release of the template foundation with project-doc owner files, mirrored agent rules, reusable prompts, and reusable skills.
294
- - Added the first downstream adoption guide and the starter scaffold under `docs/vibes/project-docs-template/`.
295
- - Added starter `getting-started.md` and `changelog.md` for the scaffold.
296
-
297
- ### Changed in 1.0.0
298
-
299
- - Elevated reusable prompts as a first-class template surface and standardized skill documentation for clearer guidance.
@@ -1,117 +0,0 @@
1
- # EHA Architecture
2
-
3
- Last updated: 2026-05-26
4
-
5
- ## Purpose
6
-
7
- Eye Hate Agent is now a **hybrid template-and-engine repository**.
8
-
9
- It still owns:
10
-
11
- - the contract
12
- - mirrored platform instruction surfaces
13
- - reusable prompts
14
- - reusable skills
15
-
16
- It now also owns:
17
-
18
- - a repo-local engine
19
- - a repo-local installer
20
- - runtime projection logic
21
- - an engine-backed CLI
22
-
23
- ## Core architecture
24
-
25
- ### Canonical source surfaces
26
-
27
- Human-authored source-of-truth assets stay in:
28
-
29
- - `docs/eyehateagent-contract.md`
30
- - `docs/eyehateagent-maintenance.md`
31
- - `docs/vibes/reusable-prompts/`
32
- - `docs/vibes/skills/`
33
- - `.claude/rules/`
34
- - `.github/instructions/`
35
- - `.agents/rules/`
36
-
37
- These are edited directly by maintainers.
38
-
39
- ### Engine layer
40
-
41
- Engine code lives under `src/engine/` and currently owns:
42
-
43
- - workflow registry
44
- - repo-root and state-path resolution
45
- - runtime adapter registry
46
- - install and uninstall orchestration
47
- - workflow prompt preparation for CLI dispatch
48
-
49
- ### CLI layer
50
-
51
- `bin/eha.js` is the control plane.
52
-
53
- It owns:
54
-
55
- - runtime installation
56
- - runtime uninstallation
57
- - doctor output
58
- - workflow dispatch for `bootstrap`, `refresh`, `parity`, `discuss`, `execute`, and `verify`
59
-
60
- ## Runtime support tiers
61
-
62
- ### Claude
63
-
64
- **Support tier:** full
65
-
66
- Generated outputs:
67
-
68
- - `.claude/commands/eha/eha-bootstrap.md`
69
- - `.claude/commands/eha/eha-refresh.md`
70
- - `.claude/commands/eha/eha-parity.md`
71
- - `.claude/commands/eha/eha-discuss.md`
72
- - `.claude/commands/eha/eha-execute.md`
73
- - `.claude/commands/eha/eha-verify.md`
74
-
75
- Claude receives generated command surfaces from the workflow registry.
76
-
77
- ### GitHub Copilot
78
-
79
- **Support tier:** guided
80
-
81
- Generated outputs:
82
-
83
- - `.github/instructions/eha-workflows.instructions.md`
84
-
85
- Copilot currently receives generated instruction routing rather than slash-command surfaces. This is an intentional capability gap and should remain explicit until a stronger Copilot command surface is defined.
86
-
87
- ## Generated outputs model
88
-
89
- Generated outputs stay **inside the repository** for transparency.
90
-
91
- Current generated paths:
92
-
93
- - runtime surfaces in `.claude/` and `.github/`
94
- - engine manifest in `.eha/generated/install-manifest.json`
95
- - bundled contract and workflow source copies in `.eha/generated/sources/`
96
- - execution artifacts in `.eha/state/`
97
-
98
- ### Ownership rule
99
-
100
- - canonical source assets are edited by humans
101
- - generated runtime outputs are materialized by `eha install`
102
- - generated outputs may be reviewed directly, but durable behavior changes should be made in the owning source assets or engine code first
103
-
104
- ## Workflow registry model
105
-
106
- The engine workflow registry maps CLI commands to canonical reusable prompts:
107
-
108
- | CLI command | Canonical source |
109
- | --- | --- |
110
- | `bootstrap` / `init` | `docs/vibes/reusable-prompts/00-project-docs-bootstrap.md` |
111
- | `refresh` | `docs/vibes/reusable-prompts/00-project-docs-refresh.md` |
112
- | `parity` | `docs/vibes/reusable-prompts/00-project-docs-parity.md` |
113
- | `discuss` | `docs/vibes/reusable-prompts/02-sdd-discuss.md` |
114
- | `execute` | `docs/vibes/reusable-prompts/01-sdd-execute.md` |
115
- | `verify` | `docs/vibes/reusable-prompts/00-project-docs-parity.md` |
116
-
117
- `verify` currently routes to parity until a dedicated verify workflow exists.
@@ -1,32 +0,0 @@
1
- # EHA Status
2
-
3
- Last updated: 2026-05-25
4
-
5
- ## Current status
6
-
7
- EHA is in the early productization phase.
8
-
9
- ### Completed in the current phase
10
-
11
- - established the EHA engine direction
12
- - chose initial runtimes: Claude and GitHub Copilot
13
- - chose generated outputs to remain inside the repository
14
- - added an initial engine layer under `src/engine/`
15
- - replaced the thin CLI with an engine-backed CLI
16
- - added repo-local install, uninstall, and doctor commands
17
- - added runtime projection scaffolding for Claude and Copilot
18
-
19
- ### Not complete yet
20
-
21
- - runtime support remains uneven: Claude is fuller than Copilot
22
- - `verify` still routes to parity because there is no dedicated verify prompt
23
- - brownfield intelligence and deeper workflow execution are not implemented yet
24
- - release discipline is still early
25
-
26
- ## Productization roadmap
27
-
28
- 1. deepen the runtime adapter contract and support tiers
29
- 2. add richer engine state and artifact handling
30
- 3. implement stronger workflow execution behavior beyond prompt preparation
31
- 4. add brownfield analysis and project-state detection
32
- 5. harden validation and release flow
@@ -1,63 +0,0 @@
1
- # EHA Workflow
2
-
3
- Last updated: 2026-05-25
4
-
5
- ## Purpose
6
-
7
- This file owns the maintainer workflow for developing the EHA template and the EHA engine together.
8
-
9
- ## Maintainer loop
10
-
11
- 1. Edit the owning source assets:
12
- - contract and maintenance docs
13
- - reusable prompts and skills
14
- - mirrored platform instruction surfaces
15
- - `src/engine/` and `bin/eha.js`
16
- 2. Regenerate repo-local runtime surfaces with `eha install claude copilot`
17
- 3. Inspect engine state with `eha doctor`
18
- 4. Run verification for changed code and docs
19
- 5. Update `docs/project-docs/changelog.md`
20
-
21
- ## Workflow commands
22
-
23
- The current engine-backed CLI commands are:
24
-
25
- - `eha install`
26
- - `eha uninstall`
27
- - `eha doctor`
28
- - `eha bootstrap`
29
- - `eha refresh`
30
- - `eha parity`
31
- - `eha discuss`
32
- - `eha execute`
33
- - `eha verify`
34
- - `eha init`
35
-
36
- ## Install model
37
-
38
- The installer is currently **repo-local**.
39
-
40
- It generates runtime outputs into the repository itself instead of external config roots. This is intentional for transparency during the current productization phase.
41
-
42
- ## Release and publish loop
43
-
44
- The target public package identity is `@sallmarta/eye-hate-agent`.
45
-
46
- Use this order for release preparation:
47
-
48
- 1. Update package metadata and changelog.
49
- 2. Run `npm test`.
50
- 3. Run `npm pack --dry-run` and inspect the package contents.
51
- 4. Run `npm pack`, install the tarball into a clean temporary directory, and smoke-test the CLI.
52
- 5. Run `npm login` against the `@sallmarta` npm account when a real publish is intended.
53
- 6. Publish with `npm publish --access public`.
54
-
55
- ## Editing rule
56
-
57
- When behavior changes:
58
-
59
- - update engine code or canonical prompt assets first
60
- - regenerate runtime outputs second
61
- - update owner docs third
62
-
63
- Do not treat generated runtime outputs as the primary design surface.
@@ -1,20 +0,0 @@
1
- # EHA Project Docs Index
2
-
3
- This repository now has two active roles:
4
-
5
- 1. the reusable Eye Hate Agent template system
6
- 2. the EHA engine and installer code that productizes the template
7
-
8
- ## Active owner docs
9
-
10
- | Path | Purpose | Status |
11
- | --- | --- | --- |
12
- | `docs/project-docs/foundation/architecture.md` | Owns the EHA engine architecture, runtime support tiers, and generated-output model | Active |
13
- | `docs/project-docs/foundation/workflow.md` | Owns maintainer and development workflow for the engine and repo-local installs | Active |
14
- | `docs/project-docs/foundation/status.md` | Owns current implementation status and phased productization roadmap | Active |
15
- | `docs/project-docs/testing.md` | Owns validation policy for template and engine changes | Active |
16
- | `docs/project-docs/changelog.md` | Owns maintainer-facing change history | Active |
17
-
18
- ## Optional docs
19
-
20
- No additional optional owner docs are active yet for the EHA engine beyond the files listed above.
@@ -1,73 +0,0 @@
1
- # Testing & Verification
2
-
3
- Last updated: 2026-05-12
4
-
5
- ---
6
-
7
- ## Verification Policy
8
-
9
- This repository is now a hybrid template-and-engine repository.
10
- This owner doc applies to the `eye-hate-agent` repository itself; downstream repositories should define their own local `docs/project-docs/testing.md`, typically starting from `docs/vibes/project-docs-template/testing.md`.
11
- Validation for template-maintenance work remains document-first, but engine and CLI changes now require executable checks where available.
12
- Use the narrowest check that can prove the changed contract, prompt, skill, template, installer, or CLI behavior is internally consistent.
13
-
14
- ## Verification Matrix
15
-
16
- | Change type | Preferred validation | Fallback |
17
- | --- | --- | --- |
18
- | Summary-only doc clarification | Markdown diagnostics on changed files, then targeted diff review | Manual read-through of the changed owner doc and dependent summary docs |
19
- | Contract, maintenance, reusable-prompt, or skill change | Markdown diagnostics, targeted consistency search across affected docs, then maintenance audit review | Structured manual consistency review across contract owner, dependent docs, and changelog |
20
- | Starter template change under `docs/vibes/project-docs-template/` | Markdown diagnostics on added or changed templates, then check that referenced template surfaces and indexes stay aligned | Manual folder inventory plus cross-reference review |
21
- | Canonical path, filename, stable heading, or routing change | Markdown diagnostics, consistency search across docs and platform instruction surfaces, then full maintenance audit review | Manual owner-by-owner review only if search tooling is unavailable |
22
- | Engine, installer, or CLI change | `npm test`, targeted CLI smoke checks, then owner-doc consistency review | Manual CLI smoke check plus structural code review if a full test does not exist |
23
- | npm package metadata or release-surface change | `npm test`, `npm pack --dry-run`, tarball smoke install, then owner-doc consistency review | Manual package file review plus local CLI smoke checks |
24
-
25
- ## Commands
26
-
27
- - changed-file diagnostics: use editor or Problems diagnostics for every changed Markdown file
28
- - targeted consistency search: `rg -n "<changed-term>|<path>|<heading>" README.md docs .agents .github .claude`
29
- - changed-doc review: `git --no-pager diff -- README.md docs`
30
- - folder inventory for scaffold changes: `rg --files docs/vibes/project-docs-template`
31
- - engine test suite: `npm test`
32
- - CLI smoke check: `node bin/eha.js doctor`
33
- - package contents preview: `npm pack --dry-run`
34
- - tarball creation: `npm pack`
35
- - tarball smoke install: install the generated `.tgz` into a clean temporary directory, then run `npx eha doctor` or the installed `eha doctor`
36
-
37
- Replace `<changed-term>|<path>|<heading>` with the concrete contract term, file path, or heading touched by the change.
38
-
39
- ## Test Layers
40
-
41
- - File diagnostics: confirm changed Markdown files have no syntax or lint issues.
42
- - Owner-doc consistency: confirm the owning doc expresses the durable truth first.
43
- - Dependent-doc consistency: confirm summaries, reusable prompts, skills, and maintenance docs still match the owner.
44
- - Template-surface consistency: confirm starter templates and indexes match the advertised contract.
45
- - Maintenance-audit review: for higher-impact changes, run the same cross-surface review expected by the maintenance workflow.
46
-
47
- ## Naming and File Conventions
48
-
49
- - Owner testing doc path: `docs/project-docs/testing.md`
50
- - Adoption starter for downstream repos: `docs/vibes/project-docs-template/technical/testing.md`
51
- - Changelog path for maintainer-facing changes: `docs/project-docs/changelog.md`
52
- - Template starter docs live under `docs/vibes/project-docs-template/`
53
- - Reusable prompts live under `docs/vibes/reusable-prompts/`
54
- - Skills live under `docs/vibes/skills/`
55
-
56
- ## CI / Release Gates
57
-
58
- - Required before merge: changed Markdown files are diagnostic-clean.
59
- - Required before merge: owning docs and dependent docs are checked for consistency.
60
- - Required before merge: maintainer-facing template changes are recorded in `docs/project-docs/changelog.md`.
61
- - Required before merge: engine and CLI changes pass `npm test`.
62
- - Required before publish: package metadata changes pass `npm pack --dry-run` and a tarball smoke-install check.
63
- - Required before release of breaking template changes: run the full maintenance audit sequence described by `docs/eyehateagent-maintenance.md`.
64
- - Advisory: confirm platform instruction surfaces (mirrored rule files) were either updated or explicitly left unchanged because they remain generic.
65
-
66
- ## Manual Checks
67
-
68
- - Confirm the owning document was updated before dependent summaries or reusable assets.
69
- - Confirm contract changes did not leave stale paths, headings, or ownership rules in README, reusable prompts, maintenance docs, or skills.
70
- - Confirm new starter templates use the stable heading pattern defined by the contract.
71
- - Confirm the repo is not claiming executable tests that do not actually exist.
72
- - Confirm engine-generated runtime outputs still map back to canonical source assets and owner docs.
73
- - Confirm package metadata points at the canonical GitHub repository and intended npm scope.