@reneturcios/greenlight 0.6.0 → 0.8.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/README.md +41 -1
- package/dist/cli.js +119 -28
- package/dist/cli.js.map +1 -1
- package/dist/doctor.js +14 -0
- package/dist/doctor.js.map +1 -1
- package/dist/github.d.ts +3 -0
- package/dist/github.js +7 -2
- package/dist/github.js.map +1 -1
- package/dist/help.js +82 -9
- package/dist/help.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/init.js +1 -1
- package/dist/llm-claims.d.ts +48 -0
- package/dist/llm-claims.js +337 -0
- package/dist/llm-claims.js.map +1 -0
- package/dist/protocol-fetch.d.ts +4 -1
- package/dist/protocol-fetch.js +15 -3
- package/dist/protocol-fetch.js.map +1 -1
- package/dist/types.d.ts +24 -0
- package/integrations/README.md +12 -0
- package/integrations/claude-code/CLAUDE.snippet.md +21 -10
- package/integrations/cline/README.md +1 -1
- package/integrations/copilot/copilot-instructions.snippet.md +17 -7
- package/integrations/cursor/greenlight.mdc +17 -7
- package/integrations/windsurf/README.md +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -9,7 +9,8 @@ it does not exist).
|
|
|
9
9
|
|
|
10
10
|
You have the Greenlight MCP server connected (server `greenlight`, tools:
|
|
11
11
|
check_issue, scan_repo, repo_friction, claim_issue, prep_issue, open_pr,
|
|
12
|
-
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight
|
|
12
|
+
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight,
|
|
13
|
+
verify_comment, babysit_prs, evidence_pack).
|
|
13
14
|
Apply these instructions whenever working on a
|
|
14
15
|
pull request to an open source project:
|
|
15
16
|
|
|
@@ -17,14 +18,23 @@ pull request to an open source project:
|
|
|
17
18
|
issue URL. If the verdict is TAKEN or GATED, stop and tell the user why,
|
|
18
19
|
quoting the reasons. Never start work on a TAKEN or GATED issue without
|
|
19
20
|
being told to.
|
|
20
|
-
2. Before claiming
|
|
21
|
-
|
|
22
|
-
the
|
|
23
|
-
|
|
21
|
+
2. Before claiming an issue, run it through `preflight` (or
|
|
22
|
+
`claim_status`): who holds the issue, until when, who is queued. Join
|
|
23
|
+
the queue instead of duplicating held work. Then call `prep_issue` (dry
|
|
24
|
+
run) to learn the repo's exact CLA path, house rules, and changeset
|
|
25
|
+
convention. Report the plan; do not create forks or branches unasked.
|
|
26
|
+
3. If the repo takes no outside PRs (the check says the contribution is a
|
|
27
|
+
verified comment): draft with `verify_comment` from your notes. Do not
|
|
28
|
+
open a PR there.
|
|
29
|
+
4. If the PR's CI goes red, call `ci_triage` before changing code, and tell
|
|
24
30
|
the user whether each failure is pre-existing, likely theirs,
|
|
25
31
|
indeterminate, or an external blocker.
|
|
26
|
-
|
|
32
|
+
5. After review comments arrive, call `review_triage`. Fix likely-real
|
|
27
33
|
findings first; bring needs-decision items to the user; push back on
|
|
28
34
|
likely-noise only with the tool's evidence. Drafts are output only.
|
|
29
|
-
|
|
35
|
+
6. When the user asks for proof a PR is sound, assemble `evidence_pack`
|
|
36
|
+
and present it.
|
|
37
|
+
7. To check on the user's open PRs, call `babysit_prs` and lead with the
|
|
38
|
+
needs-you-now items.
|
|
39
|
+
8. Never post claim comments, open PRs, or write anything to GitHub without
|
|
30
40
|
the user's explicit go-ahead.
|
|
@@ -7,7 +7,8 @@ alwaysApply: false
|
|
|
7
7
|
|
|
8
8
|
You have the Greenlight MCP server connected (server `greenlight`, tools:
|
|
9
9
|
check_issue, scan_repo, repo_friction, claim_issue, prep_issue, open_pr,
|
|
10
|
-
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight
|
|
10
|
+
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight,
|
|
11
|
+
verify_comment, babysit_prs, evidence_pack).
|
|
11
12
|
Apply these rules whenever the user is working on
|
|
12
13
|
a pull request to an open source project:
|
|
13
14
|
|
|
@@ -15,14 +16,23 @@ a pull request to an open source project:
|
|
|
15
16
|
issue URL. If the verdict is TAKEN or GATED, stop and tell the user why,
|
|
16
17
|
quoting the reasons. Never start work on a TAKEN or GATED issue without
|
|
17
18
|
being told to.
|
|
18
|
-
2. Before claiming
|
|
19
|
-
|
|
20
|
-
the
|
|
21
|
-
|
|
19
|
+
2. Before claiming an issue, run it through `preflight` (or
|
|
20
|
+
`claim_status`): who holds the issue, until when, who is queued. Join
|
|
21
|
+
the queue instead of duplicating held work. Then call `prep_issue` (dry
|
|
22
|
+
run) to learn the repo's exact CLA path, house rules, and changeset
|
|
23
|
+
convention. Report the plan; do not create forks or branches unasked.
|
|
24
|
+
3. If the repo takes no outside PRs (the check says the contribution is a
|
|
25
|
+
verified comment): draft with `verify_comment` from your notes. Do not
|
|
26
|
+
open a PR there.
|
|
27
|
+
4. If the PR's CI goes red, call `ci_triage` before changing code, and tell
|
|
22
28
|
the user whether each failure is pre-existing, likely theirs,
|
|
23
29
|
indeterminate, or an external blocker.
|
|
24
|
-
|
|
30
|
+
5. After review comments arrive, call `review_triage`. Fix likely-real
|
|
25
31
|
findings first; bring needs-decision items to the user; push back on
|
|
26
32
|
likely-noise only with the tool's evidence. Drafts are output only.
|
|
27
|
-
|
|
33
|
+
6. When the user asks for proof a PR is sound, assemble `evidence_pack`
|
|
34
|
+
and present it.
|
|
35
|
+
7. To check on the user's open PRs, call `babysit_prs` and lead with the
|
|
36
|
+
needs-you-now items.
|
|
37
|
+
8. Never post claim comments, open PRs, or write anything to GitHub without
|
|
28
38
|
the user's explicit go-ahead.
|
|
@@ -6,7 +6,7 @@ Windsurf's global MCP config lives at:
|
|
|
6
6
|
|
|
7
7
|
Copy the `mcp_config.json` file in this folder there (merging with any
|
|
8
8
|
servers you already have), then restart Windsurf and check its MCP panel:
|
|
9
|
-
the `greenlight` server should list
|
|
9
|
+
the `greenlight` server should list 15 tools. Newer Windsurf versions also
|
|
10
10
|
accept a project-level `.windsurf/mcp.json` file using the same
|
|
11
11
|
`mcpServers` format.
|
|
12
12
|
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"url": "https://github.com/CloudCorpRecords/greenlight",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.8.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
14
|
"identifier": "@reneturcios/greenlight",
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.8.0",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"packageArguments": [
|
|
18
18
|
{
|