@fullchico/harness 0.0.0-stage → 0.1.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 (83) hide show
  1. package/.claude-plugin/marketplace.json +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +243 -2
  4. package/bin/harness.js +21 -0
  5. package/install +108 -0
  6. package/package.json +27 -4
  7. package/plugin/.claude-plugin/plugin.json +9 -0
  8. package/plugin/agents/implementador.md +55 -0
  9. package/plugin/agents/orquestrador.md +59 -0
  10. package/plugin/agents/qualidade.md +44 -0
  11. package/plugin/agents/revisor-ambiente.md +86 -0
  12. package/plugin/agents/revisor-bugs.md +153 -0
  13. package/plugin/agents/revisor-spec.md +49 -0
  14. package/plugin/agents/revisor.md +96 -0
  15. package/plugin/agents/seguranca.md +62 -0
  16. package/plugin/bin/sync +322 -0
  17. package/plugin/map.json +387 -0
  18. package/plugin/payload/agents-clean +77 -0
  19. package/plugin/payload/approve +34 -0
  20. package/plugin/payload/arch_check.py +94 -0
  21. package/plugin/payload/compose_check.py +186 -0
  22. package/plugin/payload/conf-apply +22 -0
  23. package/plugin/payload/destroy +21 -0
  24. package/plugin/payload/dev +24 -0
  25. package/plugin/payload/down +20 -0
  26. package/plugin/payload/entrega/despacho.md +186 -0
  27. package/plugin/payload/entrega/fechamento.md +179 -0
  28. package/plugin/payload/entrega/tickets.md +154 -0
  29. package/plugin/payload/env-common.sh +64 -0
  30. package/plugin/payload/fetch +10 -0
  31. package/plugin/payload/gate-check +159 -0
  32. package/plugin/payload/git-hooks/commit-msg +32 -0
  33. package/plugin/payload/git-hooks/pre-commit +19 -0
  34. package/plugin/payload/git-hooks/pre-push +15 -0
  35. package/plugin/payload/hooks/__pycache__/common.cpython-313.pyc +0 -0
  36. package/plugin/payload/hooks/__pycache__/gate_stamp.cpython-313.pyc +0 -0
  37. package/plugin/payload/hooks/common.py +274 -0
  38. package/plugin/payload/hooks/dispatch_guard.py +290 -0
  39. package/plugin/payload/hooks/gate_stamp.py +242 -0
  40. package/plugin/payload/hooks/managed_guard.py +95 -0
  41. package/plugin/payload/hooks/service_guard.py +178 -0
  42. package/plugin/payload/hooks/session_context.py +68 -0
  43. package/plugin/payload/hooks/subagent_context.py +49 -0
  44. package/plugin/payload/integrate +110 -0
  45. package/plugin/payload/learn +7 -0
  46. package/plugin/payload/learn.py +282 -0
  47. package/plugin/payload/manifest_check.py +68 -0
  48. package/plugin/payload/memory +7 -0
  49. package/plugin/payload/memory.py +521 -0
  50. package/plugin/payload/pendings +7 -0
  51. package/plugin/payload/ports-free +55 -0
  52. package/plugin/payload/pr +52 -0
  53. package/plugin/payload/prepare +10 -0
  54. package/plugin/payload/push +44 -0
  55. package/plugin/payload/setup-worktree +61 -0
  56. package/plugin/payload/skills-add +20 -0
  57. package/plugin/payload/skills-search +6 -0
  58. package/plugin/payload/skills-show +6 -0
  59. package/plugin/payload/skills_remote.py +111 -0
  60. package/plugin/payload/subagent-rules.md +14 -0
  61. package/plugin/payload/ticket +67 -0
  62. package/plugin/payload/tickets_check.py +206 -0
  63. package/plugin/payload/up +45 -0
  64. package/plugin/payload/update +45 -0
  65. package/plugin/payload/validate +90 -0
  66. package/plugin/payload/worktree-env +128 -0
  67. package/plugin/skills/aprender/SKILL.md +62 -0
  68. package/plugin/skills/buscar-skills/SKILL.md +73 -0
  69. package/plugin/skills/dream/SKILL.md +92 -0
  70. package/plugin/skills/entregar/SKILL.md +110 -0
  71. package/plugin/skills/entregar/references/spec.md +84 -0
  72. package/plugin/skills/mapear/SKILL.md +85 -0
  73. package/plugin/skills/setup/SKILL.md +66 -0
  74. package/plugin/templates/AGENTS.managed.md +173 -0
  75. package/plugin/templates/AGENTS.project.md +3 -0
  76. package/plugin/templates/CLAUDE.md +10 -0
  77. package/plugin/templates/conductor.toml +16 -0
  78. package/plugin/templates/docs/agents/domain.md +15 -0
  79. package/plugin/templates/docs/agents/issue-tracker.md +23 -0
  80. package/plugin/templates/docs/agents/stack.md +132 -0
  81. package/plugin/templates/harness.conf +61 -0
  82. package/plugin/templates/orca.yaml +10 -0
  83. package/plugin/templates/settings.json +210 -0
@@ -0,0 +1,210 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "extraKnownMarketplaces": {
4
+ "fullchico": {
5
+ "source": {
6
+ "source": "github",
7
+ "repo": "FullChico/fullchico-harness",
8
+ "ref": "__VERSION__"
9
+ }
10
+ },
11
+ "ponytail": {
12
+ "source": {
13
+ "source": "github",
14
+ "repo": "DietrichGebert/ponytail"
15
+ }
16
+ }
17
+ },
18
+ "enabledPlugins": {
19
+ "harness@fullchico": true,
20
+ "mattpocock-skills@claude-plugins-official": true,
21
+ "ponytail@ponytail": true,
22
+ "frontend-design@claude-plugins-official": true
23
+ },
24
+ "worktree": {
25
+ "baseRef": "head"
26
+ },
27
+ "hooks": {
28
+ "PreToolUse": [
29
+ {
30
+ "matcher": "Bash",
31
+ "hooks": [
32
+ {
33
+ "type": "command",
34
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/service_guard.py\"",
35
+ "timeout": 30,
36
+ "statusMessage": "Conferindo guard de comandos..."
37
+ },
38
+ {
39
+ "type": "command",
40
+ "command": "if command -v rtk >/dev/null 2>&1; then rtk hook claude; fi"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "matcher": "Agent|Task",
46
+ "hooks": [
47
+ {
48
+ "type": "command",
49
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/dispatch_guard.py\"",
50
+ "timeout": 30,
51
+ "statusMessage": "Conferindo pedido ao revisor..."
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "matcher": "Edit|Write",
57
+ "hooks": [
58
+ {
59
+ "type": "command",
60
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/managed_guard.py\"",
61
+ "timeout": 30,
62
+ "statusMessage": "Conferindo arquivos gerenciados..."
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "SubagentStop": [
68
+ {
69
+ "matcher": "^harness:(seguranca|revisor|qualidade|revisor-bugs|revisor-ambiente)$",
70
+ "hooks": [
71
+ {
72
+ "type": "command",
73
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/gate_stamp.py\"",
74
+ "timeout": 30
75
+ },
76
+ {
77
+ "type": "command",
78
+ "command": "\"$CLAUDE_PROJECT_DIR/.harness/ports-free\"",
79
+ "timeout": 30
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "SubagentStart": [
85
+ {
86
+ "hooks": [
87
+ {
88
+ "type": "command",
89
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/subagent_context.py\"",
90
+ "timeout": 15
91
+ }
92
+ ]
93
+ }
94
+ ],
95
+ "SessionStart": [
96
+ {
97
+ "hooks": [
98
+ {
99
+ "type": "command",
100
+ "command": "python3 -I \"$CLAUDE_PROJECT_DIR/.harness/hooks/session_context.py\"",
101
+ "timeout": 20
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ },
107
+ "sandbox": {
108
+ "enabled": true,
109
+ "failIfUnavailable": true,
110
+ "allowUnsandboxedCommands": false,
111
+ "filesystem": {
112
+ "denyWrite": [
113
+ ".harness",
114
+ "harness.conf",
115
+ "harness.d",
116
+ ".claude/skills",
117
+ "skills-lock.json",
118
+ "CLAUDE.md",
119
+ "docs/agents",
120
+ "orca.yaml",
121
+ ".conductor"
122
+ ],
123
+ "allowWrite": [
124
+ "~/.npm",
125
+ "~/Library/pnpm",
126
+ "~/.local/share/pnpm",
127
+ "~/.yarn",
128
+ "~/.bun/install/cache"
129
+ ]
130
+ },
131
+ "excludedCommands": [
132
+ ".harness/up",
133
+ "./.harness/up",
134
+ ".harness/down",
135
+ "./.harness/down",
136
+ ".harness/destroy",
137
+ "./.harness/destroy",
138
+ ".harness/conf-apply",
139
+ "./.harness/conf-apply",
140
+ ".harness/push",
141
+ "./.harness/push",
142
+ ".harness/push --force",
143
+ "./.harness/push --force",
144
+ ".harness/fetch",
145
+ "./.harness/fetch",
146
+ ".harness/pr *",
147
+ ".harness/skills-search *",
148
+ "./.harness/skills-search *",
149
+ ".harness/skills-show *",
150
+ "./.harness/skills-show *",
151
+ ".harness/skills-add *",
152
+ "./.harness/skills-add *",
153
+ "./.harness/pr *",
154
+ ".harness/ports-free",
155
+ "./.harness/ports-free"
156
+ ],
157
+ "network": {
158
+ "allowLocalBinding": true,
159
+ "allowedDomains": [
160
+ "registry.npmjs.org"
161
+ ],
162
+ "deniedDomains": [
163
+ "github.com",
164
+ "*.github.com"
165
+ ]
166
+ },
167
+ "autoAllowBashIfSandboxed": true
168
+ },
169
+ "permissions": {
170
+ "deny": [
171
+ "Edit(/.harness/**)",
172
+ "Edit(/.claude/settings.json)",
173
+ "Edit(/.claude/settings.local.json)",
174
+ "Edit(/CLAUDE.md)",
175
+ "Edit(/docs/agents/**)",
176
+ "Edit(/harness.conf)",
177
+ "Edit(/.claude/skills/**)",
178
+ "Edit(/skills-lock.json)",
179
+ "Edit(/harness.d/**)"
180
+ ],
181
+ "ask": [
182
+ "Bash(.harness/destroy)",
183
+ "Bash(./.harness/destroy)",
184
+ "Bash(.harness/skills-add *)",
185
+ "Bash(./.harness/skills-add *)"
186
+ ],
187
+ "allow": [
188
+ "Bash(.harness/up)",
189
+ "Bash(./.harness/up)",
190
+ "Bash(.harness/down)",
191
+ "Bash(./.harness/down)",
192
+ "Bash(.harness/conf-apply)",
193
+ "Bash(./.harness/conf-apply)",
194
+ "Bash(.harness/fetch)",
195
+ "Bash(./.harness/fetch)",
196
+ "Bash(.harness/push)",
197
+ "Bash(./.harness/push)",
198
+ "Bash(.harness/push --force)",
199
+ "Bash(./.harness/push --force)",
200
+ "Bash(.harness/pr *)",
201
+ "Bash(.harness/skills-search *)",
202
+ "Bash(./.harness/skills-search *)",
203
+ "Bash(.harness/skills-show *)",
204
+ "Bash(./.harness/skills-show *)",
205
+ "Bash(./.harness/pr *)",
206
+ "Bash(.harness/ports-free)",
207
+ "Bash(./.harness/ports-free)"
208
+ ]
209
+ }
210
+ }