@mangeshraut712/merge-guide 0.1.3 → 0.1.5
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 +11 -6
- package/bin/merge-guide.js +3 -0
- package/docs/adoption.json +4 -4
- package/docs/installer.md +6 -8
- package/docs/results.md +6 -0
- package/package.json +2 -2
- package/skills/oss-contribution-insights/references/contributor-playbook.md +12 -0
- package/skills/oss-contribution-insights/references/evidence-and-ledger.md +2 -0
- package/skills/oss-contribution-insights/references/validation.md +6 -0
- package/skills/oss-contribution-insights/scripts/ledger.py +1 -1
- package/skills/oss-contribution-insights/scripts/test_ledger.py +7 -0
package/README.md
CHANGED
|
@@ -6,10 +6,15 @@ The repository is `mangeshs-merge-guide`. The installed skill folder and invocat
|
|
|
6
6
|
|
|
7
7
|
[](https://github.com/mangeshraut712/mangeshs-merge-guide/actions)
|
|
8
8
|
[](LICENSE)
|
|
9
|
+
[](https://www.npmjs.com/package/@mangeshraut712/merge-guide)
|
|
10
|
+
|
|
11
|
+
**1,034 npm downloads** from launch on November 12 through November 22, 2026. [Verify on npm](https://api.npmjs.org/downloads/point/2026-11-12:2026-11-22/@mangeshraut712/merge-guide).
|
|
12
|
+
|
|
13
|
+
If Merge Guide helped you prepare or improve a pull request, [star the repository](https://github.com/mangeshraut712/mangeshs-merge-guide) or [support development on GitHub Sponsors](https://github.com/sponsors/mangeshraut712).
|
|
9
14
|
|
|
10
15
|
## November 2026 status
|
|
11
16
|
|
|
12
|
-
Verified **14 November 2026**: public, MIT-licensed source and standalone skill. npm publishes **0.1.
|
|
17
|
+
Verified **14 November 2026**: public, MIT-licensed source and standalone skill. npm publishes **0.1.3** with GitHub Actions provenance, including the existing cache-directory validation fixes. Verify the release with `npm view @mangeshraut712/merge-guide@0.1.3 version`; [source installation](#quick-start-from-source) is also available. See [release evidence and limits](docs/results.md).
|
|
13
18
|
|
|
14
19
|
## Start here
|
|
15
20
|
|
|
@@ -49,18 +54,18 @@ The [contributor playbook](skills/oss-contribution-insights/references/contribut
|
|
|
49
54
|
|
|
50
55
|
## Terminal installer
|
|
51
56
|
|
|
52
|
-
|
|
57
|
+
The commands below install the contributor playbook with the project-comparison exercise. The installer has passed native Linux, macOS and Windows checks. The [source installer](#quick-start-from-source) remains available.
|
|
53
58
|
|
|
54
59
|
Use Node.js 22, 24 or 26 (the current CI matrix) and npm:
|
|
55
60
|
|
|
56
61
|
```sh
|
|
57
|
-
npx @mangeshraut712/merge-guide@0.1.
|
|
58
|
-
npx @mangeshraut712/merge-guide@0.1.
|
|
62
|
+
npx @mangeshraut712/merge-guide@0.1.5 install --target codex --dry-run
|
|
63
|
+
npx @mangeshraut712/merge-guide@0.1.5 install --target codex
|
|
59
64
|
```
|
|
60
65
|
|
|
61
66
|
Replace `codex` with `claude` or `cursor`. The dry run shows the destination without writing; an existing installation is refused. To keep the installation in a project, run from that project's root and add `--scope project`. The version pin makes these commands reproducible. See [installer options and safe upgrades](docs/installer.md).
|
|
62
67
|
|
|
63
|
-
|
|
68
|
+
[npm package](https://www.npmjs.com/package/@mangeshraut712/merge-guide) · [release validation](docs/results.md). The installer provides the skill files; your chosen agent must already be installed and configured.
|
|
64
69
|
|
|
65
70
|
### Quick start from source
|
|
66
71
|
|
|
@@ -169,7 +174,7 @@ Changes should include relevant offline tests and sourced, scoped reasoning. Do
|
|
|
169
174
|
|
|
170
175
|
[Codex Insights](https://github.com/mangeshraut712/codex-insights) creates private Codex workflow reports and optional shareable aggregate profiles. These are separate skills with different installation routes.
|
|
171
176
|
|
|
172
|
-
|
|
177
|
+
npm recorded **222 downloads** during November 16–22, 2026. Downloads include repeat installs and CI. [Weekly count](https://api.npmjs.org/downloads/point/2026-11-16:2026-11-22/@mangeshraut712/merge-guide) · [Adoption data](docs/adoption.json) · [Methodology](docs/analytics.md).
|
|
173
178
|
|
|
174
179
|
Release 0.1.1 fixes managed upgrades after Python helpers generate bytecode. Source edits and added notes still block upgrades; the complete previous installation is retained as a backup.
|
|
175
180
|
|
package/bin/merge-guide.js
CHANGED
|
@@ -114,5 +114,8 @@ export async function main(args=process.argv.slice(2)) {
|
|
|
114
114
|
const result=await install({...options,dest:destination(options),version:pkg.version});
|
|
115
115
|
console.log(JSON.stringify(result,null,2));
|
|
116
116
|
if(!options.dryRun)console.log('Files installed. Verify discovery in your configured agent, then invoke oss-contribution-insights. Task execution and upstream acceptance are separate checks.');
|
|
117
|
+
if (result.action === 'installed' && process.stdout.isTTY && process.stderr.isTTY && !process.env.CI) {
|
|
118
|
+
console.error('If you use Merge Guide for your contributions, you can star the project: https://github.com/mangeshraut712/mangeshs-merge-guide');
|
|
119
|
+
}
|
|
117
120
|
}
|
|
118
121
|
if(process.argv[1] && await fs.realpath(process.argv[1]).catch(()=>null)===fileURLToPath(import.meta.url)) main().catch(e=>{console.error(`merge-guide: ${e.message}`);process.exitCode=1;});
|
package/docs/adoption.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"checked_at": "2026-11-
|
|
2
|
+
"checked_at": "2026-11-23T12:28:13.269616+00:00",
|
|
3
3
|
"repository": "mangeshraut712/mangeshs-merge-guide",
|
|
4
4
|
"github": {
|
|
5
5
|
"source": "https://api.github.com/repos/mangeshraut712/mangeshs-merge-guide",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"status": "published",
|
|
14
14
|
"downloads_source": "https://api.npmjs.org/downloads/point/last-month/%40mangeshraut712%2Fmerge-guide",
|
|
15
15
|
"last_month": {
|
|
16
|
-
"downloads":
|
|
17
|
-
"start": "2026-10-
|
|
18
|
-
"end": "2026-11-
|
|
16
|
+
"downloads": 1034,
|
|
17
|
+
"start": "2026-10-24",
|
|
18
|
+
"end": "2026-11-22",
|
|
19
19
|
"package": "@mangeshraut712/merge-guide"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/docs/installer.md
CHANGED
|
@@ -4,16 +4,14 @@ The installer copies the bundled skill to an explicit agent destination. It does
|
|
|
4
4
|
|
|
5
5
|
## Current availability
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Release 0.1.2 targets the public npm package [`@mangeshraut712/merge-guide`](https://www.npmjs.com/package/@mangeshraut712/merge-guide):
|
|
7
|
+
Use the pinned npm commands to install the version with the project-comparison exercise.
|
|
10
8
|
|
|
11
9
|
```sh
|
|
12
|
-
npx @mangeshraut712/merge-guide@0.1.
|
|
13
|
-
npx @mangeshraut712/merge-guide@0.1.
|
|
10
|
+
npx @mangeshraut712/merge-guide@0.1.5 install --target codex --dry-run
|
|
11
|
+
npx @mangeshraut712/merge-guide@0.1.5 install --target codex
|
|
14
12
|
```
|
|
15
13
|
|
|
16
|
-
Use `--target claude` or `--target cursor` for those tools. To pin the exact release, use `npx @mangeshraut712/merge-guide@0.1.
|
|
14
|
+
Use `--target claude` or `--target cursor` for those tools. To pin the exact release, use `npx @mangeshraut712/merge-guide@0.1.5`. See [validation results](results.md) for the distinction between installer checks, runtime discovery, and native task execution.
|
|
17
15
|
|
|
18
16
|
After reviewing/downloading this repository, from its root:
|
|
19
17
|
|
|
@@ -26,8 +24,8 @@ To test the real npm packaging locally (no registry publication):
|
|
|
26
24
|
|
|
27
25
|
```sh
|
|
28
26
|
npm pack
|
|
29
|
-
npx --package ./mangeshraut712-merge-guide-0.1.
|
|
30
|
-
npx --package ./mangeshraut712-merge-guide-0.1.
|
|
27
|
+
npx --package ./mangeshraut712-merge-guide-0.1.5.tgz merge-guide install --target codex --dry-run
|
|
28
|
+
npx --package ./mangeshraut712-merge-guide-0.1.5.tgz merge-guide install --target codex
|
|
31
29
|
```
|
|
32
30
|
|
|
33
31
|
These commands use Node/npm, not POSIX-specific copy syntax; npm may ask for execution consent. Node 20+ and npm are prerequisites. A package name alone is not ownership proof; verify the npm owner and linked source repository.
|
package/docs/results.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Validation results and limits
|
|
2
2
|
|
|
3
|
+
## November 14 release 0.1.3 with provenance
|
|
4
|
+
|
|
5
|
+
The [publish workflow](https://github.com/mangeshraut712/mangeshs-merge-guide/actions/runs/43575722083) passed and npm accepted version 0.1.3. After registry processing completed, anonymous metadata and tarball downloads returned HTTP 200. The downloaded SHA-512 matched the provenance subject, which identifies this repository and source commit `26e2830df116ea6cf162ca7a1b91225f2bedbc63`. The tarball SHA-1 is `6acd29d712c5cc5c7c5c594151753c0bf274ebef`.
|
|
6
|
+
|
|
7
|
+
Fresh-cache public npx checks passed for Codex, Claude Code and Cursor: write-free dry runs, actual project installs, marker version 0.1.3 and installed-file hash verification. All nine [source CI checks](https://github.com/mangeshraut712/mangeshs-merge-guide/actions/runs/43575529372) passed. These verify package installation, not agent task execution or upstream acceptance. Version 0.1.2 remains unchanged and has no provenance metadata.
|
|
8
|
+
|
|
3
9
|
## November 14 release 0.1.2
|
|
4
10
|
|
|
5
11
|
Registry version 0.1.2 and the latest tag are confirmed. Fresh-cache npm execution on macOS passed for Codex, Claude Code and Cursor: write-free dry runs, managed upgrades from 0.1.1, preservation of Python bytecode in backups, and refusal to overwrite added cache-directory notes. These checks verify installation and upgrade behavior, not agent task execution or upstream acceptance.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mangeshraut712/merge-guide",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Install Mangesh
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "Install Mangesh’s Merge Guide into a supported agent skill directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Use this guide to adapt assistance to the contributor's experience. Explain unfamiliar terms, ask what they can reproduce, and offer the next small step rather than a wall of commands. Do not assume paid tools, maintainer access or a particular operating system. Let experienced contributors skip setup explanations while preserving verification and policy gates.
|
|
4
4
|
|
|
5
|
+
## Comparing projects for a first contribution
|
|
6
|
+
|
|
7
|
+
Start with something the contributor uses or wants to learn. For each plausible project, find one concrete user need and check whether the contributor can reproduce it and run the relevant check with the tools, hardware and time they have.
|
|
8
|
+
|
|
9
|
+
Read a few recent external PRs in the same area, including one still waiting and one closed without merging when available. Distinguish a maintainer’s substantive reply from a bot acknowledgement. Check why work paused or closed: a duplicate, a release freeze, or a fix already on main each calls for a different decision. Read dates against the project’s release and volunteer cadence. A small sample can describe what happened; it cannot predict a response time.
|
|
10
|
+
|
|
11
|
+
Inspect how a contributor verifies a change. Look for a baseline on the default branch, a documented local command, and any fork-only CI or hardware gate. If contribution instructions are missing, check the README, templates and recent maintainer decisions for the accepted process. For an ordinary scope question, use the project’s designated channel and first check whether someone already asked it.
|
|
12
|
+
|
|
13
|
+
Give the contributor a short comparison: **candidate issue • evidence the work is wanted • what they can verify • who owns the next step**. Link the evidence and flag anything unknown. Stars, team size and a “good first issue” label alone cannot answer those questions.
|
|
14
|
+
|
|
15
|
+
For example, a busy project’s labelled installer bug already has a patch under review. A quieter library has a maintainer-confirmed typo in its migration example that you can reproduce in a clean install. Choose the documentation fix and show the working command. If the first project’s maintainer instead asks for a Windows reproduction and you have that setup, testing the existing patch could be the more useful contribution.
|
|
16
|
+
|
|
5
17
|
## First contribution
|
|
6
18
|
|
|
7
19
|
1. Identify the actual user problem, a supported release, and an accessible development environment. A “good first issue” label is a lead, not proof that it is current or unclaimed.
|
|
@@ -10,6 +10,8 @@ For a specific PR, inspect its metadata, current head and base, diff, linked iss
|
|
|
10
10
|
|
|
11
11
|
Record evidence provenance: author claim, CI/check output, automated or AI-assisted review, verified maintainer statement, independently reproduced test, or verified landed commit. Preserve unknown identity and automation status. A different account, reviewer badge, or positive review alone does not prove a human maintainer ran the tests. Prefer exact comment permalinks for review claims. Treat any old ledger wording about “human feedback” as historical classification, not verified actor identity.
|
|
12
12
|
|
|
13
|
+
For daily contribution targets, read the GitHub contribution calendar bucket for the requested date and report its activity types and observation time. A query spanning the user’s local day can expose adjacent calendar buckets. Select by returned date and label the calendar basis. Report authored PR counts and confirmed upstream merges separately. Keep a shortfall visible and use it to prioritize substantive work.
|
|
14
|
+
|
|
13
15
|
## Separate lifecycle, disposition, and quality
|
|
14
16
|
|
|
15
17
|
Keep three independent dimensions:
|
|
@@ -8,3 +8,9 @@
|
|
|
8
8
|
6. Run relevant tests, lint, type checks, formatting, and required aggregate checks against the final revision. Record commands, outcomes, scope, and head SHA. Distinguish pass, fail, blocked, not run, skipped, neutral, and pending. Green focused tests do not imply full CI success.
|
|
9
9
|
7. Review the diff independently when warranted or required. Distinguish author claims, CI results, bot/AI-assisted reviews, verified maintainer direction, and independently reproduced evidence. A non-author account is not automatically human or a maintainer. Do not present automated review as maintainer approval. Verify remote checks and review disposition on the latest head; an earlier pass does not certify later changes. Do not claim readiness with unanswered blocking feedback, required checks missing, or policy gates unresolved.
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
## When local validation is blocked
|
|
13
|
+
|
|
14
|
+
After diagnosing the local blocker, record the checks that ran and the checks that still need the supported environment. When a draft PR is authorized and repository policy allows it, use hosted CI to finish verification. Record the tested head and check links. Move the PR out of draft only after the applicable checks pass and the diff is ready for review. Follow the repository’s ordinary review and merge rules.
|
|
15
|
+
|
|
16
|
+
For example, a dependency patch can pass lint and the lockfile audit while a local engine download stalls. A draft can exercise the supported CI job for installation, generation, build, and tests. If the job requires maintainer authorization, report that gate and keep the missing results pending. If CI passes on the same head, record the hosted results and the remaining review decision.
|
|
@@ -44,7 +44,7 @@ def validate(data):
|
|
|
44
44
|
def load(path):
|
|
45
45
|
try:
|
|
46
46
|
return validate(json.loads(Path(path).read_text(encoding="utf-8")))
|
|
47
|
-
except (OSError, json.JSONDecodeError) as exc:
|
|
47
|
+
except (OSError, UnicodeDecodeError, json.JSONDecodeError) as exc:
|
|
48
48
|
raise LedgerError(f"Cannot read ledger: {exc}") from exc
|
|
49
49
|
|
|
50
50
|
|
|
@@ -39,6 +39,13 @@ class LedgerTests(unittest.TestCase):
|
|
|
39
39
|
self.assertEqual(result["github_lifecycle"]["open"], 1)
|
|
40
40
|
self.assertEqual(result["native_or_full_landed_pr_records"], 1)
|
|
41
41
|
|
|
42
|
+
def test_non_utf8_ledger_is_a_ledger_error(self):
|
|
43
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
44
|
+
path = Path(tmp) / "ledger.json"
|
|
45
|
+
path.write_bytes(b'{"records": "\xff\xfe"}')
|
|
46
|
+
with self.assertRaisesRegex(ledger.LedgerError, "Cannot read ledger"):
|
|
47
|
+
ledger.load(path)
|
|
48
|
+
|
|
42
49
|
def test_duplicate_node_id_rejected(self):
|
|
43
50
|
first, second = record(1), record(2)
|
|
44
51
|
second["pull_request_node_id"] = first["pull_request_node_id"]
|