-
Notifications
You must be signed in to change notification settings - Fork 0
125 lines (108 loc) · 4.41 KB
/
ci.yml
File metadata and controls
125 lines (108 loc) · 4.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
name: Validate installer and skill structure
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate bash syntax
run: |
bash -n install.sh
bash -n uninstall.sh
bash -n scripts/validate-patterns.sh
bash -n scripts/validate-commands.sh
bash -n scripts/validate-examples.sh
bash -n scripts/validate-goals.sh
bash -n scripts/validate-golden-artifacts.sh
bash -n scripts/validate-scenarios.sh
bash -n scripts/smoke-install.sh
bash -n scripts/smoke-uninstall.sh
bash -n scripts/smoke-artifact-memory.sh
- name: Make scripts executable
run: chmod +x scripts/*.sh install.sh uninstall.sh
- name: Validate pattern files
run: scripts/validate-patterns.sh
- name: Validate command files
run: scripts/validate-commands.sh
- name: Validate example artifacts
run: scripts/validate-examples.sh
- name: Validate goal contracts
run: scripts/validate-goals.sh
- name: Validate golden artifact fixtures
run: scripts/validate-golden-artifacts.sh
- name: Validate routing scenarios
run: scripts/validate-scenarios.sh
- name: Smoke test artifact memory
run: scripts/smoke-artifact-memory.sh
- name: Dry-run installer
run: DRY_RUN=1 INSTALL_UPSTREAM=0 FETCH_EXAMPLES=0 bash install.sh
- name: Dry-run uninstaller
run: DRY_RUN=1 RESTORE_BACKUP=0 bash uninstall.sh
- name: Smoke test installer with temporary CLAUDE_HOME
run: scripts/smoke-install.sh
- name: Smoke test uninstaller with temporary CLAUDE_HOME
run: scripts/smoke-uninstall.sh
- name: Verify required repository files
run: |
test -f README.md
test -f LICENSE
test -f CREDITS.md
test -f CHANGELOG.md
test -f install.sh
test -f uninstall.sh
test -f docs/INTENT_DISTILLATION.md
test -f docs/ARTIFACT_BUDGET.md
test -f docs/AUTODISCOVERY.md
test -f docs/CONTEXT_PACKS.md
test -f docs/DECISION_COST_GATE.md
test -f docs/EXPLAINER_CLARITY.md
test -f docs/GOLDEN_OUTPUTS.md
test -f docs/HTML_ARTIFACT_CHAINS.md
test -f docs/HTML_ADVANTAGE_GATE.md
test -f docs/HTML_DELIVERY.md
test -f docs/THARIQ_SITE_LEARNINGS.md
test -f docs/USER_IN_THE_LOOP.md
test -f docs/VISUAL_EXPLAINER_PLAYBOOK.md
test -f docs/VISUAL_STYLE_STANDARD.md
test -f docs/NEXT_ACTION_HANDOFF.md
test -f docs/SHARE_AND_REENTRY.md
test -f docs/PROCESS_CAPSULE.md
test -f docs/SENIOR_CHAINED_PROMPTS.md
test -f docs/EXPERT_PROMPT_GATES.md
test -f docs/COHERENCE_GUARD.md
test -f docs/HTML_UX_STANDARD.md
test -f docs/pattern-router.md
test -f docs/QUALITY_BAR.md
test -f docs/DOCS_MAP.md
test -f docs/LEAN_HTML_RENDERING.md
test -f docs/fact-sheet-protocol.md
test -f skills/thariq-html-effectiveness/SKILL.md
test -f commands/pick-the-right-html.md
test -f commands/make-the-right-html.md
test -f commands/check-the-plan.md
test -f commands/check-the-diff.md
test -f commands/reenter-project.md
test -f commands/build-decision-tool.md
test -f commands/audit-html.md
test -f commands/think-with-me-about.md
test -f commands/open-html-explainer-memory.md
test -f scripts/audit-artifact.py
test -f scripts/deliver-artifact.py
test -f scripts/save-artifact.py
test -f scripts/rebuild-knowledge-base.py
test -f scripts/smoke-artifact-memory.sh
test -f examples/plan-review-minimal.example.html
test -f examples/diff-review-minimal.example.html
test -f examples/prompt-tuner-minimal.example.html
test -f examples/diff-review-full.example.html
test -f examples/architecture-diagram.example.html
test -f examples/project-recap.example.html
test -f examples/ticket-triage.example.html
test -f examples/prompt-tuner-full.example.html
test -f examples/visual-direction-explorer.example.html