@moo.md/hum 0.3.0 → 0.4.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.
- package/defaults/hum.json +5 -0
- package/defaults/roles/build.md +1 -1
- package/defaults/roles/fix.md +1 -1
- package/npm-shrinkwrap.json +3297 -0
- package/package.json +6 -2
- package/release.json +3 -0
- package/schema/hum.schema.json +47 -7
- package/scripts/eval.ts +21 -5
- package/src/adapter-api.ts +3 -1
- package/src/adapters/claude-bg.ts +2 -2
- package/src/adapters/claude-p.ts +44 -18
- package/src/adapters/contract.ts +12 -0
- package/src/adapters/fake.ts +5 -0
- package/src/adapters/git.ts +61 -9
- package/src/adapters/github-client.ts +15 -0
- package/src/adapters/github-commits.ts +84 -0
- package/src/adapters/github.ts +9 -0
- package/src/adapters/guard.ts +1 -0
- package/src/adapters/item-file.ts +1 -1
- package/src/adapters/markdown.ts +10 -1
- package/src/adapters/pull-requests.ts +8 -8
- package/src/adapters/registry.ts +3 -6
- package/src/adapters/roundup.ts +3 -0
- package/src/bytes.ts +1 -0
- package/src/cli/service.ts +176 -29
- package/src/cli/setup.ts +4 -5
- package/src/config/checks.ts +21 -50
- package/src/config/load.ts +2 -3
- package/src/config/machine.ts +29 -0
- package/src/config/refusal.ts +5 -6
- package/src/config/schema.ts +23 -7
- package/src/config/wake-job.ts +6 -2
- package/src/decide/risk.ts +2 -2
- package/src/exec.ts +10 -0
- package/src/index.ts +1 -1
- package/src/loop/records.ts +8 -1
- package/src/measure/rate.ts +14 -0
- package/src/publish/bundle.ts +128 -0
- package/src/publish/handoff.ts +107 -0
- package/src/publish/handover.ts +182 -0
- package/src/publish/intents.ts +61 -0
- package/src/publish/publisher.ts +259 -0
- package/src/publish/wake.ts +78 -0
- package/src/service/ci-state.ts +99 -0
- package/src/service/plugins.ts +137 -0
- package/src/service/wake.ts +3 -1
- package/src/service/workflows.ts +122 -28
- package/src/setup/propose.ts +17 -4
- package/src/setup/prove.ts +3 -3
- package/src/setup/write.ts +2 -2
- package/src/state/items.ts +17 -8
- package/src/state/open.ts +20 -6
- package/src/state/records.ts +7 -0
- package/src/state/runs.ts +5 -0
- package/src/state/saved.ts +17 -2
- package/src/worker/base-check.ts +41 -13
- package/src/worker/checks.ts +3 -2
- package/src/worker/evidence.ts +72 -0
- package/src/worker/kind.ts +4 -7
- package/src/worker/land.ts +173 -81
- package/src/worker/merged.ts +20 -8
- package/src/worker/open.ts +33 -17
- package/src/worker/questions.ts +16 -8
- package/src/worker/signed-push.ts +167 -0
- package/src/worker/thin-path.ts +245 -133
- package/src/worker/worker.ts +50 -9
- package/surface.json +185 -56
package/defaults/hum.json
CHANGED
|
@@ -139,6 +139,11 @@
|
|
|
139
139
|
},
|
|
140
140
|
"restartDelaySeconds": 10,
|
|
141
141
|
"ciWakeTimeoutMinutes": 60,
|
|
142
|
+
"ciOutboxMaxMegabytes": 200,
|
|
143
|
+
"ciUsageLimitMaxHours": 168,
|
|
144
|
+
"followUpsPerPass": 10,
|
|
145
|
+
"publishTreeMaxMegabytes": 1024,
|
|
146
|
+
"ciMergeMarginMinutes": 10,
|
|
142
147
|
"pullRequestToken": {
|
|
143
148
|
"from": "secret",
|
|
144
149
|
"secret": "HUM_GITHUB_TOKEN"
|
package/defaults/roles/build.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
You build the planned change on the item's branch. Match the code around it, and
|
|
1
|
+
You build the planned change on the item's branch. Match the code around it, and leave the whole change in the working tree for hum to commit.
|
|
2
2
|
|
|
3
3
|
Stop and say so when the work passes the token cap or needs an answer only the owner holds.
|
package/defaults/roles/fix.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
You fix what the checks or the review reported, and nothing else. Read the failure, change the least that clears it, and commit.
|
|
1
|
+
You fix what the checks or the review reported, and nothing else. Read the failure, change the least that clears it, and leave the change in the working tree for hum to commit.
|