git-vibe-setup 3.0.0 → 3.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-vibe-setup",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,67 +2,110 @@
2
2
 
3
3
  version: 1
4
4
 
5
- branches:
6
- base: ""
5
+ permissions:
6
+ # Users with write, maintain, or admin can approve automation.
7
+ approver_roles:
8
+ - write
9
+ - maintain
10
+ - admin
7
11
 
8
- runner:
9
- default: ubuntu-latest
12
+ labels:
13
+ story: gvi:story
14
+ needs_discussion: gvi:needs-discussion
15
+ investigate: git-vibe:investigate
16
+ investigating: gvi:investigating
17
+ investigated: gvi:investigated
18
+ ready_for_approval: gvi:ready-for-approval
19
+ approved: git-vibe:approved
20
+ review: git-vibe:review
21
+ reviewing: gvi:reviewing
22
+ in_progress: gvi:in-progress
23
+ blocked: gvi:blocked
24
+ pr_opened: gvi:pr-opened
25
+ pr_approved: gvi:pr-approved
26
+ pr_merged: gvi:pr-merged
27
+ validate: git-vibe:validate
28
+ validating: gvi:validating
29
+ validated: gvi:validated
30
+
31
+ commands:
32
+ prefix: /git-vibe
33
+ allow_external_agent_mentions: false
34
+
35
+ event_delivery:
36
+ # webhook: repository webhook points at the self-hosted GitVibe server.
37
+ # relay: webhook proxy/tunnel such as Smee, Hookdeck, Cloudflare Tunnel, or ngrok.
38
+ # actions: no-server receiver workflows in the consumer repository.
39
+ # polling: local/scheduled worker polls GitHub APIs with cursors/ETags.
40
+ mode: webhook
41
+ relay:
42
+ provider: smee
43
+ # GitHub Actions Secret name. Relay URLs may contain delivery tokens; do not commit the real URL.
44
+ url_secret: GITVIBE_RELAY_URL
45
+ actions_receiver:
46
+ enabled: false
47
+ scheduled_scan: "*/15 * * * *"
48
+ polling:
49
+ enabled: false
50
+ interval_seconds: 300
10
51
 
11
52
  github_auth:
53
+ # Self-hosted default: the GitVibe server uses a fine-grained PAT scoped to this repository.
12
54
  mode: webhook-pat
13
55
  # GitHub Actions Secret name. Stores the GitHub write token.
14
56
  token_secret: GITVIBE_GITHUB_TOKEN
15
57
 
58
+ tests:
59
+ commands: []
60
+
16
61
  ai:
17
- default_profile: local_proxy
62
+ security:
63
+ web:
64
+ # Default for public repositories: let AI search current GitHub project material only.
65
+ # Add domains only for websites the repository owner trusts AI to search and fetch.
66
+ allowed_domains: []
67
+ # - github.com
68
+ # - "*.github.com"
18
69
  profiles:
19
70
  local_proxy:
20
- enabled: true
21
71
  adapter: ai-sdk-agentool
72
+ # Optional: set to the selected model's context window.
73
+ # context_window_tokens: 128000
22
74
  provider:
23
- type: openai-compatible # openai | anthropic | openai-compatible
75
+ # openai, anthropic, or openai-compatible.
76
+ type: openai-compatible
24
77
  # Model names are configuration, not credentials.
25
78
  model: glm-5
26
- # Keys inside GITVIBE_AI_ENV_JSON.
79
+ # Keys inside GITVIBE_AI_ENV_JSON. Store provider credentials and endpoints there.
27
80
  base_url:
28
81
  from_bundle: GITVIBE_AI_BASE_URL
29
82
  api_key:
30
83
  from_bundle: GITVIBE_AI_API_KEY
31
84
  reasoning:
32
85
  effort: high
33
- generation:
34
- temperature: 0.2
35
- max_output_tokens: 6000
36
- max_steps: 90
37
- # Optional explicit repo context. GitVibe does not auto-load AGENTS.md,
38
- # CLAUDE.md, or other native CLI files.
39
- # context:
40
- # files:
41
- # - AGENTS.md
86
+ provider_options:
87
+ openai:
88
+ reasoningEffort: high
89
+ reasoningSummary: concise
90
+ anthropic:
91
+ effort: high
42
92
  codex_cli:
43
- enabled: false
44
93
  adapter: cli-codex
45
- # Key inside GITVIBE_AI_ENV_JSON. Stores compact auth.json contents.
94
+ # Key inside GITVIBE_AI_ENV_JSON. Stores escaped auth.json text from jq -Rs .
95
+ # Requires GITVIBE_GITHUB_TOKEN repository Secrets read/write permission for refresh write-back.
46
96
  auth_json:
47
97
  from_bundle: CODEX_AUTH_JSON
48
98
  model: gpt-5.3-codex
49
- # context:
50
- # files:
51
- # - AGENTS.md
52
99
  reasoning:
53
100
  effort: high
54
101
  summary: concise
55
102
  claude_code:
56
- enabled: false
57
103
  adapter: cli-claude-code
58
104
  # Key inside GITVIBE_AI_ENV_JSON. Stores the Claude Code OAuth access token.
59
105
  env:
60
106
  CLAUDE_CODE_OAUTH_TOKEN:
61
107
  from_bundle: CLAUDE_OAUTH_TOKEN
62
108
  model: opus
63
- # context:
64
- # files:
65
- # - .git-vibe/CLAUDE-extra.md
66
109
  reasoning:
67
110
  effort: xhigh
68
111
  role_groups:
@@ -78,29 +121,30 @@ ai:
78
121
  profile: local_proxy
79
122
  budgets:
80
123
  default_timeout_minutes: 60
124
+ review_timeout_minutes: 60
81
125
  implementation_timeout_minutes: 120
82
126
  feedback_timeout_minutes: 120
83
- publish_timeout_minutes: 15
127
+ create_pr_timeout_minutes: 15
84
128
  default_max_turns: 90
85
- implementation_max_turns: 120
129
+ implementation_max_turns: 200
86
130
  feedback_max_turns: 120
131
+ validation_repair_attempts: 3
132
+ validation_repair_max_turns: 45
133
+ pr_feedback_max_iterations: 3
134
+ request_retry_attempts: 3
135
+ request_retry_delay_seconds: 60
87
136
  stages:
88
137
  investigate:
89
138
  role_group: review_gate
90
139
  validate:
91
140
  role_group: review_gate
92
- decompose:
93
- profile: local_proxy
94
141
  materialize:
95
142
  profile: local_proxy
96
- review-matrix:
97
- role_group: review_gate
98
143
  implement:
99
144
  profile: local_proxy
145
+ review-matrix:
146
+ role_group: review_gate
100
147
  create-pr:
101
148
  profile: local_proxy
102
149
  address-pr-feedback:
103
150
  profile: local_proxy
104
-
105
- tests:
106
- commands: []
@@ -27,7 +27,7 @@ jobs:
27
27
  runner: ubuntu-latest
28
28
  implementation_timeout_minutes: 120
29
29
  review_timeout_minutes: 60
30
- publish_timeout_minutes: 15
30
+ create_pr_timeout_minutes: 15
31
31
  max_turns: 90
32
32
  implementation_max_turns: 120
33
33
  validation_repair_attempts: 2
@@ -1,34 +0,0 @@
1
- name: GitVibe decompose
2
- run-name: "[git-vibe][decompose]: Discussion #${{ inputs.discussion-number }}"
3
-
4
- on:
5
- workflow_dispatch:
6
- inputs:
7
- discussion-number:
8
- description: Discussion number to decompose.
9
- required: true
10
- type: string
11
- dry-run:
12
- description: Validate without writing to GitHub.
13
- required: false
14
- type: boolean
15
- default: false
16
- source-comment:
17
- description: JSON source comment metadata for replying to command comments.
18
- required: false
19
- type: string
20
- default: ""
21
-
22
- jobs:
23
- decompose:
24
- uses: markhuangai/git-vibe/.github/workflows/decompose.yml@v3
25
- with:
26
- discussion-number: ${{ inputs.discussion-number }}
27
- runner: ubuntu-latest
28
- timeout_minutes: 60
29
- max_turns: 90
30
- dry-run: ${{ inputs.dry-run }}
31
- source-comment: ${{ inputs.source-comment }}
32
- secrets:
33
- GITVIBE_GITHUB_TOKEN: ${{ secrets.GITVIBE_GITHUB_TOKEN }}
34
- GITVIBE_AI_ENV_JSON: ${{ secrets.GITVIBE_AI_ENV_JSON }}