@event4u/agent-config 2.24.0 → 2.26.0

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 (161) hide show
  1. package/.agent-src/commands/bug-fix.md +1 -0
  2. package/.agent-src/commands/create-pr/description-only.md +39 -11
  3. package/.agent-src/commands/create-pr.md +59 -5
  4. package/.agent-src/commands/feature/roadmap.md +2 -2
  5. package/.agent-src/commands/fix/seeder.md +3 -2
  6. package/.agent-src/commands/memory/add.md +3 -3
  7. package/.agent-src/commands/module/create.md +1 -0
  8. package/.agent-src/commands/module/explore.md +10 -6
  9. package/.agent-src/commands/onboard.md +9 -1
  10. package/.agent-src/commands/optimize/augmentignore.md +52 -20
  11. package/.agent-src/commands/optimize/rtk.md +56 -30
  12. package/.agent-src/commands/package-test.md +86 -10
  13. package/.agent-src/commands/quality-fix.md +49 -27
  14. package/.agent-src/commands/update-form-request-messages.md +2 -1
  15. package/.agent-src/commands/video/from-script.md +5 -5
  16. package/.agent-src/commands/video/storyboard.md +1 -1
  17. package/.agent-src/contexts/augment-infrastructure.md +4 -7
  18. package/.agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +1 -1
  19. package/.agent-src/contexts/contracts/research-schema.md +1 -1
  20. package/.agent-src/contexts/execution/interrupt-examples.md +34 -0
  21. package/.agent-src/contexts/execution/roadmap-process-loop.md +69 -14
  22. package/.agent-src/contexts/skills-and-commands.md +2 -2
  23. package/.agent-src/personas/README.md +3 -2
  24. package/.agent-src/personas/ai-video-technical-director.md +2 -2
  25. package/.agent-src/personas/hollywood-director.md +3 -3
  26. package/.agent-src/profiles/content_creator.yml +5 -0
  27. package/.agent-src/rules/architecture.md +24 -10
  28. package/.agent-src/rules/artifact-drafting-protocol.md +6 -0
  29. package/.agent-src/rules/augment-edit-discipline.md +28 -0
  30. package/.agent-src/rules/augment-source-of-truth.md +2 -2
  31. package/.agent-src/rules/autonomous-execution.md +31 -0
  32. package/.agent-src/rules/context-hygiene.md +1 -1
  33. package/.agent-src/rules/domain-adoption-policy.md +4 -5
  34. package/.agent-src/rules/domain-safety-disclaimer.md +114 -0
  35. package/.agent-src/rules/domain-safety-pii.md +142 -0
  36. package/.agent-src/rules/domain-safety-retention.md +86 -0
  37. package/.agent-src/rules/downstream-changes.md +4 -4
  38. package/.agent-src/rules/framework-neutrality-in-generic-skills.md +130 -0
  39. package/.agent-src/rules/git-history-discipline.md +99 -0
  40. package/.agent-src/rules/media-governance-routing.md +82 -0
  41. package/.agent-src/rules/minimal-safe-diff.md +6 -0
  42. package/.agent-src/rules/no-roadmap-references.md +4 -2
  43. package/.agent-src/rules/persona-governance.md +90 -0
  44. package/.agent-src/rules/provider-lifecycle-discipline.md +75 -0
  45. package/.agent-src/rules/roadmap-ci-steps-policy.md +145 -0
  46. package/.agent-src/rules/roadmap-progress-sync.md +11 -5
  47. package/.agent-src/rules/user-interrupt-priority.md +46 -0
  48. package/.agent-src/rules/verify-before-complete.md +11 -2
  49. package/.agent-src/skills/adversarial-review/SKILL.md +1 -1
  50. package/.agent-src/skills/ai-council/SKILL.md +1 -0
  51. package/.agent-src/skills/api-endpoint/SKILL.md +58 -154
  52. package/.agent-src/skills/api-testing/SKILL.md +11 -0
  53. package/.agent-src/skills/character-consistency/SKILL.md +12 -1
  54. package/.agent-src/skills/code-refactoring/SKILL.md +36 -30
  55. package/.agent-src/skills/code-review/SKILL.md +41 -36
  56. package/.agent-src/skills/context-authoring/SKILL.md +1 -1
  57. package/.agent-src/skills/dashboard-design/SKILL.md +1 -2
  58. package/.agent-src/skills/database/SKILL.md +8 -3
  59. package/.agent-src/skills/dependency-upgrade/SKILL.md +65 -19
  60. package/.agent-src/skills/developer-like-execution/SKILL.md +25 -14
  61. package/.agent-src/skills/eloquent/SKILL.md +1 -1
  62. package/.agent-src/skills/feature-planning/SKILL.md +1 -1
  63. package/.agent-src/skills/file-editor/SKILL.md +45 -19
  64. package/.agent-src/skills/finishing-a-development-branch/SKILL.md +2 -2
  65. package/.agent-src/skills/git-workflow/SKILL.md +135 -2
  66. package/.agent-src/skills/laravel-api-endpoint/SKILL.md +187 -0
  67. package/.agent-src/skills/{dto-creator → laravel-dto}/SKILL.md +5 -4
  68. package/.agent-src/skills/{migration-creator → laravel-migration}/SKILL.md +11 -10
  69. package/.agent-src/skills/laravel-reverb/SKILL.md +3 -3
  70. package/.agent-src/skills/{websocket → laravel-websocket}/SKILL.md +4 -3
  71. package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +1 -1
  72. package/.agent-src/skills/merge-conflicts/SKILL.md +49 -17
  73. package/.agent-src/skills/migration-architect/SKILL.md +6 -6
  74. package/.agent-src/skills/module-management/SKILL.md +1 -0
  75. package/.agent-src/skills/motion-choreographer/SKILL.md +12 -0
  76. package/.agent-src/skills/multi-tenancy/SKILL.md +15 -8
  77. package/.agent-src/skills/pest-testing/SKILL.md +18 -0
  78. package/.agent-src/skills/php-debugging/SKILL.md +28 -0
  79. package/.agent-src/skills/php-service/SKILL.md +3 -3
  80. package/.agent-src/skills/pixar-storyteller/SKILL.md +19 -6
  81. package/.agent-src/skills/playwright-testing/SKILL.md +16 -1
  82. package/.agent-src/skills/project-analyzer/SKILL.md +68 -42
  83. package/.agent-src/skills/readme-writing-package/SKILL.md +94 -23
  84. package/.agent-src/skills/roadmap-management/SKILL.md +1 -1
  85. package/.agent-src/skills/roadmap-writing/SKILL.md +10 -0
  86. package/.agent-src/skills/rtk-output-filtering/SKILL.md +23 -8
  87. package/.agent-src/skills/rule-refactor/SKILL.md +145 -0
  88. package/.agent-src/skills/rule-writing/SKILL.md +34 -8
  89. package/.agent-src/skills/scene-expander/SKILL.md +22 -7
  90. package/.agent-src/skills/security/SKILL.md +38 -29
  91. package/.agent-src/skills/skill-reviewer/SKILL.md +1 -1
  92. package/.agent-src/skills/test-driven-development/SKILL.md +4 -4
  93. package/.agent-src/skills/test-performance/SKILL.md +6 -5
  94. package/.agent-src/skills/verify-completion-evidence/SKILL.md +24 -27
  95. package/.agent-src/skills/video-director/SKILL.md +13 -0
  96. package/.agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  97. package/.agent-src/templates/copilot-instructions.md +2 -2
  98. package/.agent-src/templates/roadmaps.md +16 -0
  99. package/.agent-src/templates/rule.md +2 -2
  100. package/.claude-plugin/marketplace.json +6 -4
  101. package/AGENTS.md +1 -1
  102. package/CHANGELOG.md +80 -133
  103. package/README.md +6 -4
  104. package/config/agent-settings.template.yml +26 -0
  105. package/docs/architecture.md +2 -2
  106. package/docs/archive/CHANGELOG-pre-2.25.0.md +191 -0
  107. package/docs/catalog.md +20 -12
  108. package/docs/contracts/file-ownership-matrix.json +588 -90
  109. package/docs/contracts/kernel-membership.md +17 -0
  110. package/docs/contracts/provider-lifecycle.md +122 -0
  111. package/docs/contracts/smoke-contracts.md +8 -8
  112. package/docs/decisions/ADR-011-domain-pack-readiness.md +213 -0
  113. package/docs/decisions/INDEX.md +1 -0
  114. package/docs/getting-started-by-role.md +10 -0
  115. package/docs/getting-started.md +1 -1
  116. package/docs/guidelines/php/api-design.md +1 -1
  117. package/docs/guidelines/php/controllers.md +1 -1
  118. package/docs/guidelines/php/resources.md +1 -1
  119. package/docs/guidelines/php/validations.md +1 -1
  120. package/docs/personas.md +73 -26
  121. package/docs/profiles.md +9 -4
  122. package/package.json +1 -1
  123. package/scripts/_tmp_scan_framework_leakage.py +119 -0
  124. package/scripts/ai-video/adapters/gemini-veo.sh +5 -0
  125. package/scripts/ai-video/adapters/higgsfield.sh +6 -0
  126. package/scripts/ai-video/adapters/kling.sh +5 -0
  127. package/scripts/ai-video/adapters/openai-images.sh +5 -0
  128. package/scripts/ai-video/adapters/sora.sh +6 -0
  129. package/scripts/build_linear_digest.py +0 -1
  130. package/scripts/check_portability.py +6 -0
  131. package/scripts/lint_framework_leakage.py +348 -0
  132. package/scripts/lint_framework_leakage_allowlist.json +476 -0
  133. package/scripts/lint_media_policy_linkage.py +140 -0
  134. package/scripts/lint_persona_governance.py +164 -0
  135. package/scripts/lint_roadmap_ci_steps.py +182 -0
  136. package/scripts/measure_augment_budget.py +6 -0
  137. package/scripts/schemas/command.schema.json +5 -0
  138. package/scripts/schemas/skill.schema.json +5 -0
  139. package/scripts/skill_linter.py +60 -7
  140. package/scripts/smoke/kernel.sh +4 -4
  141. package/scripts/smoke/router.sh +2 -2
  142. package/scripts/smoke/schema.sh +1 -1
  143. package/.agent-src/personas/pixar-storyboard-artist.md +0 -98
  144. package/.agent-src/rules/agent-docs.md +0 -20
  145. package/.agent-src/rules/augment-portability.md +0 -23
  146. package/.agent-src/rules/capture-learnings.md +0 -19
  147. package/.agent-src/rules/docs-sync.md +0 -20
  148. package/.agent-src/rules/domain-safety-disclaimer-consulting.md +0 -52
  149. package/.agent-src/rules/domain-safety-disclaimer-financial.md +0 -54
  150. package/.agent-src/rules/domain-safety-disclaimer-legal.md +0 -49
  151. package/.agent-src/rules/domain-safety-disclaimer-medical.md +0 -56
  152. package/.agent-src/rules/domain-safety-export-redact.md +0 -65
  153. package/.agent-src/rules/domain-safety-logging-pii-floor.md +0 -55
  154. package/.agent-src/rules/domain-safety-pii-finance.md +0 -57
  155. package/.agent-src/rules/domain-safety-pii-marketing.md +0 -60
  156. package/.agent-src/rules/domain-safety-pii-recruiting.md +0 -56
  157. package/.agent-src/rules/domain-safety-pii-support.md +0 -57
  158. package/.agent-src/rules/domain-safety-retention-finance.md +0 -48
  159. package/.agent-src/rules/domain-safety-retention-support.md +0 -55
  160. package/.agent-src/rules/e2e-testing.md +0 -19
  161. package/.agent-src/rules/no-unsolicited-rebase.md +0 -107
@@ -1,55 +0,0 @@
1
- ---
2
- type: "auto"
3
- tier: "2a"
4
- description: "Support / CRM data retention guidance — surface DSR-readiness, consent-window expiry, ticket-body retention vs. analytics aggregate retention"
5
- source: package
6
- triggers:
7
- - keyword: "ticket retention"
8
- - keyword: "CRM retention"
9
- - keyword: "DSAR"
10
- - keyword: "data subject request"
11
- - keyword: "right to be forgotten"
12
- - phrase: "delete customer data"
13
- - phrase: "how long do we keep tickets"
14
- routes_to:
15
- - "skill:data-handling-judgment"
16
- - "skill:privacy-review"
17
- applies_to_user_types:
18
- - "support"
19
- - "gtm"
20
- ---
21
-
22
- # Domain Safety — Support / CRM Retention
23
-
24
- ## Iron Law
25
-
26
- ```
27
- SUPPORT-DATA RETENTION ANSWERS DISTINGUISH RAW TICKET BODY (PII-LADEN)
28
- FROM AGGREGATE ANALYTICS (DE-IDENTIFIED). DSR-READINESS IS THE FLOOR,
29
- NOT THE CEILING.
30
- ```
31
-
32
- The right answer to *"how long do we keep tickets?"* is almost never a single number — it's a two-track policy. Raw ticket bodies contain PII and must respect deletion requests on a DSR clock (typically 30 days under GDPR). De-identified aggregate analytics (resolution times, category counts) can persist indefinitely for product / ops insight.
33
-
34
- ## Required structure in every support-retention answer
35
-
36
- 1. **Two tracks.** Raw ticket body + attachments (PII): short retention with DSR honoring. Aggregate metrics (de-identified): long retention OK.
37
- 2. **Consent-window check.** If consent was time-bound (e.g., "we'll keep your data for 12 months for support quality"), name the expiry and the deletion job that must run.
38
- 3. **DSR readiness.** *"You must be able to honor a deletion request within [N] days. The system needs a query that finds every ticket + attachment + log line tied to one customer."*
39
- 4. **Backup retention gotcha.** *"Backups also contain PII. Either purge on the same DSR clock or document that backups are inaccessible and rotate within [N] days."*
40
-
41
- ## Default floors (cite, then qualify)
42
-
43
- | Class | Typical floor | Driver |
44
- |---|---|---|
45
- | Raw ticket body | 12-24 months from close | Consent window + DSR readiness |
46
- | Attachments with PII | 6-12 months | Higher leak risk → shorter |
47
- | Aggregate analytics (de-identified) | Indefinite | No PII linkage |
48
- | Quality-assurance recordings | 30-90 days | Consent typically narrow |
49
-
50
- Verify against the customer's privacy notice, regulatory regime, and contractual data-processing agreements before locking values.
51
-
52
- ## See also
53
-
54
- - `skill:data-handling-judgment` — retention + DSR shape.
55
- - `skill:privacy-review` — regulatory-regime read.
@@ -1,19 +0,0 @@
1
- ---
2
- type: "auto"
3
- tier: "3"
4
- description: "Playwright E2E tests — locators, assertions, Page Objects, fixtures, CI, and flaky test prevention"
5
- source: package
6
- triggers:
7
- - keyword: "playwright"
8
- - keyword: "e2e"
9
- - phrase: "page object"
10
- routes_to:
11
- - "command:e2e-heal"
12
- ---
13
-
14
- # E2E Testing
15
-
16
- **Iron Law.** Playwright E2E: stable locators, no `waitForTimeout`, Page Objects for shared flows, fixtures over `beforeEach`.
17
-
18
- Body migrated to `command:e2e-heal` (per P4 of `road-to-kernel-and-router.md`).
19
- Trigger-set above activates this routing under the `balanced` and `full` profiles.
@@ -1,107 +0,0 @@
1
- ---
2
- type: "auto"
3
- tier: "2a"
4
- alwaysApply: false
5
- description: "Working with git history — never rewrite, rebase, squash, fixup, or amend without explicit user request; shape is the user's call, not tidiness"
6
- source: package
7
- triggers:
8
- - intent: "rebase the branch"
9
- - intent: "squash commits"
10
- - intent: "clean up commit history"
11
- - intent: "fold this into the previous commit"
12
- - keyword: "git rebase"
13
- - keyword: "fixup"
14
- - keyword: "--amend"
15
- - keyword: "force-push"
16
- - keyword: "squash-merge"
17
- ---
18
-
19
- # No Unsolicited Rebase
20
-
21
- ## Iron Law
22
-
23
- ```
24
- NEVER REBASE, SQUASH, FIXUP, OR AMEND PUBLISHED OR LOCAL HISTORY
25
- WITHOUT THE USER ASKING FOR IT THIS TURN.
26
- LINEAR HISTORY IS A PREFERENCE, NOT A DEFAULT.
27
- COMMIT-CHUNK ORDER IS NOT A CORRECTNESS GOAL.
28
- ```
29
-
30
- Add the next commit on top. Never reorder, fold, drop, or rewrite earlier
31
- commits to make the log "look right".
32
-
33
- ## Why this rule exists
34
-
35
- Interactive rebase + fixup loops generate disproportionate token cost on
36
- every iteration: re-running CI per replayed commit, resolving the same
37
- content conflict in three derived files (`.compression-hashes.json`,
38
- `router.json`, `.windsurfrules`), losing the working tree to a stash that
39
- silently re-introduces older state. A single conflict can burn the budget
40
- of an entire feature. The user pays for it. The "clean history" payoff is
41
- cosmetic; reviewers read the diff, not the log.
42
-
43
- ## When rebase / amend / fixup IS allowed
44
-
45
- Exactly three:
46
-
47
- 1. **User says so this turn** — "rebase onto main", "squash these two",
48
- "amend that". This operation only, not a standing rule.
49
- 2. **Standing instruction not yet revoked** — the user said earlier in
50
- the conversation "always squash before pushing"; honor it.
51
- 3. **Conflict resolution forced by `git pull --rebase`** — the user
52
- already invoked the rebase via pull; finish it.
53
-
54
- Anything else — chunk-tidiness, "logical order", folding a follow-up fix
55
- into its parent — **forbidden**. The follow-up ships as its own commit
56
- (`fix: …`, `chore: …`).
57
-
58
- ## Equivalents that are also forbidden by default
59
-
60
- - `git rebase -i` (interactive)
61
- - `git rebase --autosquash`
62
- - `git commit --fixup` / `--squash` (the helper that feeds the autosquash)
63
- - `git commit --amend` on already-pushed commits
64
- - `git push --force` / `--force-with-lease`
65
- - `git reset --hard` past unpushed work the user might want
66
- - Squash-merge of a PR via API or CLI when the user has not picked the
67
- merge strategy
68
- - Cherry-pick rewriting that drops or reorders commits
69
-
70
- `--amend` on the *current local* commit before the first push is the
71
- narrow exception (treated as continuing to compose the commit, not
72
- rewriting history).
73
-
74
- ## When you'd be tempted
75
-
76
- - "I want commit 3 to come before commit 2 because the topic flows better."
77
- → don't. Reviewers read the PR diff.
78
- - "There are two `chore: regenerate` commits, ugly." → don't. They are
79
- honest checkpoints.
80
- - "A linter caught an issue in commit 2 — let me fold the fix in."
81
- → don't. Add `fix(scope): …` on top.
82
- - "I want to drop the WIP commit before pushing." → ask the user first.
83
- - "Squash-merge when I open the PR will clean it anyway." → also true,
84
- also irrelevant — let the merge strategy do that work, not you.
85
-
86
- ## Failure mode catalog
87
-
88
- - **Rebase-conflict cascade.** Interactive rebase replays N commits. Any
89
- derived file (`.compression-hashes.json`, generated tool projections,
90
- index/catalog) carries a hash per commit and conflicts on every replay.
91
- Resolution time scales with N, not with the actual change.
92
- - **Stash-pop reverts work.** A `git stash` issued during rebase recovery
93
- can re-introduce older edits that overwrite committed work after the
94
- rebase finishes. Hard to spot in `git status` because the file shapes
95
- match.
96
- - **Force-push during review.** Rewriting history on a branch with an
97
- open PR invalidates review comments anchored to commits and forces a
98
- re-review.
99
-
100
- ## See also
101
-
102
- - [`scope-control`](scope-control.md) — git-ops permission gate ("rebase"
103
- already named in the canonical list).
104
- - [`commit-policy`](commit-policy.md) — commits are the user's call;
105
- rewriting them is a stronger version of the same restriction.
106
- - [`token-efficiency`](token-efficiency.md) — Iron Law on burning the
107
- user's tokens for cosmetic gain.