fix: vault TOML template must match vault-env.sh schema
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Add required fields (id, formula, secrets), remove unknown fields (unblocks, focus, [execution] section). Move focus and unblocks info into context string and comments respectively. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
29f3d451c7
commit
0d78dae5a8
1 changed files with 4 additions and 6 deletions
|
|
@ -128,13 +128,11 @@ For each weakness you identify, choose one:
|
||||||
Vault dispatch (requires lib/vault.sh):
|
Vault dispatch (requires lib/vault.sh):
|
||||||
source "$PROJECT_REPO_ROOT/lib/vault.sh"
|
source "$PROJECT_REPO_ROOT/lib/vault.sh"
|
||||||
|
|
||||||
TOML_CONTENT="# Vault action: predict-<prediction_number>-<formula>
|
TOML_CONTENT="id = \"predict-<prediction_number>-<formula>\"
|
||||||
context = \"Test prediction #<prediction_number>: <theory summary>\"
|
context = \"Test prediction #<prediction_number>: <theory summary> — focus: <specific test>\"
|
||||||
unblocks = [\"#<prediction_number>\"]
|
|
||||||
|
|
||||||
[execution]
|
|
||||||
formula = \"<formula-name>\"
|
formula = \"<formula-name>\"
|
||||||
focus = \"<specific test>\"
|
secrets = []
|
||||||
|
# Unblocks: #<prediction_number>
|
||||||
# Expected evidence: evidence/<dir>/<date>-<name>.json
|
# Expected evidence: evidence/<dir>/<date>-<name>.json
|
||||||
"
|
"
|
||||||
PR_NUM=$(vault_request "predict-<prediction_number>-<formula>" "$TOML_CONTENT")
|
PR_NUM=$(vault_request "predict-<prediction_number>-<formula>" "$TOML_CONTENT")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue