@sallmarta/eye-hate-agent 1.0.2 → 1.0.3

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 (89) hide show
  1. package/README.md +38 -310
  2. package/bin/eha.js +203 -118
  3. package/docs/templates/project-docs-template/foundation/architecture.md +79 -0
  4. package/docs/templates/project-docs-template/foundation/changelog.md +53 -0
  5. package/docs/templates/project-docs-template/foundation/feature-inventory.md +46 -0
  6. package/docs/templates/project-docs-template/foundation/phases.md +60 -0
  7. package/docs/templates/project-docs-template/foundation/prd.md +69 -0
  8. package/docs/templates/project-docs-template/foundation/status.md +57 -0
  9. package/docs/templates/project-docs-template/foundation/workflow.md +59 -0
  10. package/docs/templates/project-docs-template/getting-started.md +52 -0
  11. package/docs/{vibes → templates}/project-docs-template/index.md +12 -12
  12. package/docs/templates/project-docs-template/operations/ci-cd.md +56 -0
  13. package/docs/templates/project-docs-template/operations/compliance.md +46 -0
  14. package/docs/templates/project-docs-template/operations/governance.md +46 -0
  15. package/docs/templates/project-docs-template/operations/observability.md +53 -0
  16. package/docs/templates/project-docs-template/operations/production-runbook.md +62 -0
  17. package/docs/templates/project-docs-template/operations/security.md +49 -0
  18. package/docs/templates/project-docs-template/technical/api-contract.md +49 -0
  19. package/docs/templates/project-docs-template/technical/database.md +59 -0
  20. package/docs/templates/project-docs-template/technical/error-handling.md +54 -0
  21. package/docs/templates/project-docs-template/technical/internationalization.md +46 -0
  22. package/docs/templates/project-docs-template/technical/testing.md +57 -0
  23. package/docs/templates/project-docs-template/technical/ui-ux.md +68 -0
  24. package/docs/{vibes → templates}/project-docs-template/technical-guidelines/index.md +3 -3
  25. package/docs/{vibes → templates}/reusable-prompts/00-project-docs-bootstrap.md +2 -4
  26. package/docs/{vibes → templates}/reusable-prompts/00-project-docs-parity.md +3 -5
  27. package/docs/{vibes → templates}/reusable-prompts/00-project-docs-refresh.md +2 -4
  28. package/docs/{vibes → templates}/reusable-prompts/02-sdd-discuss.md +2 -2
  29. package/{.agents/rules/agent.md → docs/templates/rules/agent-rules.md} +6 -11
  30. package/docs/templates/skills/architecture/db-schema-design/SKILL.md +14 -0
  31. package/docs/{vibes/skills → templates/skills/auditing}/full-verification/SKILL.md +1 -1
  32. package/docs/{vibes/skills → templates/skills/auditing}/parity/SKILL.md +2 -2
  33. package/docs/templates/skills/engineering/refactor-specialist/SKILL.md +13 -0
  34. package/docs/{vibes/skills → templates/skills/engineering}/test-authoring/SKILL.md +177 -1
  35. package/docs/templates/skills/engineering/ui-ux-implementation/SKILL.md +13 -0
  36. package/docs/templates/skills/operations/ci-cd-authoring/SKILL.md +13 -0
  37. package/docs/templates/skills/operations/observability-setup/SKILL.md +13 -0
  38. package/package.json +4 -6
  39. package/src/engine/index.js +7 -12
  40. package/src/engine/install.js +67 -163
  41. package/src/engine/runtime-adapters.js +263 -50
  42. package/src/engine/skill-registry.js +67 -0
  43. package/src/engine/state.js +29 -7
  44. package/src/engine/workflow-registry.js +14 -23
  45. package/.claude/commands/eha/README.md +0 -3
  46. package/.claude/commands/eha/eha-bootstrap.md +0 -9
  47. package/.claude/commands/eha/eha-discuss.md +0 -9
  48. package/.claude/commands/eha/eha-execute.md +0 -9
  49. package/.claude/commands/eha/eha-parity.md +0 -9
  50. package/.claude/commands/eha/eha-refresh.md +0 -9
  51. package/.claude/commands/eha/eha-verify.md +0 -9
  52. package/.claude/rules/agent-rules.md +0 -64
  53. package/.github/instructions/agent-rules.instructions.md +0 -63
  54. package/.github/instructions/eha-workflows.instructions.md +0 -21
  55. package/docs/eyehateagent-contract.md +0 -475
  56. package/docs/eyehateagent-maintenance.md +0 -103
  57. package/docs/project-docs/changelog.md +0 -299
  58. package/docs/project-docs/foundation/architecture.md +0 -117
  59. package/docs/project-docs/foundation/status.md +0 -32
  60. package/docs/project-docs/foundation/workflow.md +0 -63
  61. package/docs/project-docs/index.md +0 -20
  62. package/docs/project-docs/testing.md +0 -73
  63. package/docs/vibes/project-docs-template/foundation/architecture.md +0 -79
  64. package/docs/vibes/project-docs-template/foundation/changelog.md +0 -53
  65. package/docs/vibes/project-docs-template/foundation/feature-inventory.md +0 -46
  66. package/docs/vibes/project-docs-template/foundation/phases.md +0 -60
  67. package/docs/vibes/project-docs-template/foundation/prd.md +0 -69
  68. package/docs/vibes/project-docs-template/foundation/status.md +0 -57
  69. package/docs/vibes/project-docs-template/foundation/workflow.md +0 -59
  70. package/docs/vibes/project-docs-template/getting-started.md +0 -52
  71. package/docs/vibes/project-docs-template/operations/ci-cd.md +0 -56
  72. package/docs/vibes/project-docs-template/operations/compliance.md +0 -46
  73. package/docs/vibes/project-docs-template/operations/governance.md +0 -46
  74. package/docs/vibes/project-docs-template/operations/observability.md +0 -53
  75. package/docs/vibes/project-docs-template/operations/production-runbook.md +0 -62
  76. package/docs/vibes/project-docs-template/operations/security.md +0 -49
  77. package/docs/vibes/project-docs-template/technical/api-contract.md +0 -49
  78. package/docs/vibes/project-docs-template/technical/database.md +0 -59
  79. package/docs/vibes/project-docs-template/technical/error-handling.md +0 -54
  80. package/docs/vibes/project-docs-template/technical/internationalization.md +0 -46
  81. package/docs/vibes/project-docs-template/technical/testing.md +0 -57
  82. package/docs/vibes/project-docs-template/technical/ui-ux.md +0 -68
  83. package/docs/vibes/skills/project-elevation/SKILL.md +0 -157
  84. package/docs/vibes/skills/test-authoring/references/patterns.md +0 -116
  85. package/docs/vibes/skills/test-authoring/references/test-types.md +0 -52
  86. /package/docs/{vibes → templates}/reusable-prompts/01-sdd-execute.md +0 -0
  87. /package/docs/{vibes/skills → templates/skills/architecture}/api-design/SKILL.md +0 -0
  88. /package/docs/{vibes/skills/analysis → templates/skills/architecture/system-analysis}/SKILL.md +0 -0
  89. /package/docs/{vibes/skills/code-audit → templates/skills/auditing/security-audit}/SKILL.md +0 -0
@@ -1,103 +0,0 @@
1
- # Template Maintenance — Template Repository
2
-
3
- ## 1. Summary
4
-
5
- Use this file when changing the template itself rather than adopting the template into another repository.
6
-
7
- This file owns template governance, lifecycle expectations, and maintainer workflow for changes to:
8
-
9
- - `docs/eyehateagent-contract.md`
10
- - docs-level contract anchors
11
- - platform instruction surfaces (mirrored rule files)
12
- - reusable prompts
13
- - skills
14
- - adoption and onboarding docs
15
- - engine and installer code under `bin/` and `src/`
16
- - runtime projection behavior for repo-local generated outputs
17
-
18
- It does not own project-specific facts for adopted repositories.
19
-
20
- ---
21
-
22
- ## 2. Scope
23
-
24
- This file covers:
25
-
26
- - template-level structure, naming, routing, and lifecycle changes
27
- - engine-level structure, runtime projections, and installer lifecycle changes
28
- - backward-compatible vs. breaking template changes
29
- - deprecation and removal of template surfaces
30
- - maintainer workflow across the contract anchors, platform instruction surfaces, project-doc owners, skills, reusable prompts, and summary docs
31
- - registry-driven extension of optional regular docs and guideline types
32
- - starter guideline template additions or revisions under `docs/vibes/project-docs-template/technical-guidelines/`
33
-
34
- ---
35
-
36
- ## 3. Ownership Boundaries
37
-
38
- | Question | Owner |
39
- | --- | --- |
40
- | Canonical structure, routing, ownership model, and adoption rules | `docs/eyehateagent-contract.md` |
41
- | How to add skills, rule points, project-doc owners, or contract changes in any repository using this system | `docs/eyehateagent-contract.md` |
42
- | First orientation for someone opening the repo | `README.md` |
43
- | Adoption workflow for copying the template into another repo | `README.md` |
44
- | EHA engine architecture and runtime support model | `docs/project-docs/foundation/architecture.md` |
45
- | EHA maintainer and development loop | `docs/project-docs/foundation/workflow.md` |
46
- | Template governance, lifecycle, and deprecation | this file |
47
-
48
- ---
49
-
50
- ## 4. Change Classes
51
-
52
- | Class | Typical example | Required response |
53
- | --- | --- | --- |
54
- | Summary-only clarification | Tighten wording in `README.md` without changing behavior | Update the owner or summary, then run the narrowest maintenance audit |
55
- | Backward-compatible template change | Add an optional doc, add a registry entry for a known optional doc type, add a reusable skill, add a starter template, or refine maintainer guidance without changing canonical paths | Update the owning doc, dependent summaries, and run the maintenance audit |
56
- | Backward-compatible engine change | Add a new engine module, installer behavior, runtime projection, or CLI command without changing canonical contract ownership | Update the owning project docs, dependent summaries, and run the narrowest code-plus-doc validation |
57
- | Breaking template change | Move `docs/eyehateagent-contract.md`, move `docs/eyehateagent-maintenance.md`, rename canonical paths, change stable headings, or change routing, precedence, fallback, or output rules | Update the contract first, add migration notes, update dependents, and run the full maintenance audit |
58
-
59
- ## 5. Compatibility And Breaking Changes
60
-
61
- Treat these as breaking unless proven otherwise:
62
-
63
- - root contract-anchor path changes
64
- - canonical project-doc path or filename changes
65
- - stable heading changes in project docs, skills, or reusable prompts
66
- - required document set changes
67
- - registry schema or registry-ownership changes that reusable prompts or adopters rely on
68
- - routing, precedence, fallback, or output-by-mode changes
69
- - reusable prompt or skill structure changes that adopted repositories may rely on
70
-
71
- For a breaking change:
72
-
73
- 1. Update the owning document first, usually `docs/eyehateagent-contract.md`.
74
- 2. Update all platform instruction surfaces (mirrored rule files) in the same change (e.g., `.agents/`, `.claude/`, `.github/`).
75
- 3. Update affected skills, reusable prompts, onboarding docs, and summaries.
76
- 4. Update downstream copies that still track the template's canonical paths.
77
- 5. Add migration notes for adopters in `changelog.md` or the affected owner doc.
78
- 6. Run the full maintenance audit.
79
-
80
- ---
81
-
82
- ## 6. Deprecation Policy
83
-
84
- - Mark a deprecated surface in place with its replacement and the reason for deprecation.
85
- - Do not remove a reusable prompt, skill, canonical doc reference, or contract anchor until a replacement and migration note exist.
86
- - Remove deprecated surfaces only after dependent docs are updated and the maintenance audit passes.
87
-
88
- ---
89
-
90
- ## 7. Maintainer Workflow
91
-
92
- 1. Classify the change before editing.
93
- 2. Use `docs/eyehateagent-contract.md` for extension rules that must survive adoption.
94
- 3. When adding a known optional regular doc type, start by updating `docs/vibes/project-docs-template/index.md`.
95
- 4. When adding a known guideline type, start by updating `docs/vibes/project-docs-template/technical-guidelines/index.md`.
96
- 5. If the new doc class needs a new stable heading pattern or ownership rule, update `docs/eyehateagent-contract.md` before relying on the registries.
97
- 6. Do not remove the roughly 65% context-compaction exception from the platform instruction surfaces (mirrored rule files) unless the contract is intentionally updated in the same change.
98
- 7. Ensure any changes to routing, precedence, fallback, or output rules in the contract are also synchronized into the "Contract Essentials" embedded in all platform instruction surfaces (mirrored rule files).
99
- 8. Update template-repo-only workflow or governance here only when the change affects this repository as a template.
100
- 9. Update engine owner docs under `docs/project-docs/` when runtime support, installer behavior, or CLI behavior changes.
101
- 10. Update mirrors, summaries, skills, reusable prompts, registries, starter template files, and downstream copies that quote or depend on the changed owner.
102
- 11. Run the maintenance audit sequence.
103
- 12. Record maintainer-facing changes in `changelog.md`.
@@ -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.