@mangeshraut712/merge-guide 0.1.0 → 0.1.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/README.md
CHANGED
|
@@ -149,3 +149,5 @@ Changes should include relevant offline tests and sourced, scoped reasoning. Do
|
|
|
149
149
|
[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.
|
|
150
150
|
|
|
151
151
|
As of **November 12, 2026**, this repository has **0 stars and 0 forks**. The pre-release snapshot predates npm publication, so its npm download count is **unavailable**, not a measured zero. Run `npm run metrics` to refresh the dated snapshot. GitHub release assets have **0 recorded downloads**. See [dated adoption data and methodology](docs/analytics.md), [current compatibility and validation](docs/compatibility.md), and the [documentation index](docs/README.md). Adoption counts do not measure skill effectiveness.
|
|
152
|
+
|
|
153
|
+
The 0.1.1 candidate fixes managed upgrades after Python helpers generate bytecode. The npm commands above remain pinned to the published release until the new version is available.
|
package/bin/merge-guide.js
CHANGED
|
@@ -51,7 +51,7 @@ async function inventory(root, skipMarker=false, skipGenerated=false) {
|
|
|
51
51
|
}
|
|
52
52
|
const hashes = files => Object.fromEntries(Object.keys(files).sort().map(k=>[k,digest(files[k])]));
|
|
53
53
|
|
|
54
|
-
export async function install({dest,source=path.join(packageRoot,'skills',NAME),dryRun=false,upgrade=false,version='0.1.
|
|
54
|
+
export async function install({dest,source=path.join(packageRoot,'skills',NAME),dryRun=false,upgrade=false,version='0.1.1'}) {
|
|
55
55
|
dest=path.resolve(dest);
|
|
56
56
|
await rejectSymlinkAncestors(dest);
|
|
57
57
|
const files=await inventory(source,false,true);
|
|
@@ -62,7 +62,7 @@ export async function install({dest,source=path.join(packageRoot,'skills',NAME),
|
|
|
62
62
|
const markerStat=await exists(path.join(dest,MARKER));
|
|
63
63
|
if(!markerStat?.isFile() || markerStat.isSymbolicLink()) throw new Error('Existing installation is not managed; no files changed.');
|
|
64
64
|
const marker=JSON.parse(await fs.readFile(path.join(dest,MARKER),'utf8'));
|
|
65
|
-
if(marker.name!==NAME || marker.schema!==1 || JSON.stringify(hashes(await inventory(dest,true)))!==JSON.stringify(marker.files)) throw new Error('Existing files were modified or added; preserve them manually before upgrading.');
|
|
65
|
+
if(marker.name!==NAME || marker.schema!==1 || JSON.stringify(hashes(await inventory(dest,true,true)))!==JSON.stringify(marker.files)) throw new Error('Existing files were modified or added; preserve them manually before upgrading.');
|
|
66
66
|
} else if(upgrade) throw new Error('No existing managed installation to upgrade.');
|
|
67
67
|
if(dryRun) return {destination:dest,action:prior?'upgrade':'install',dryRun:true,files:Object.keys(files).length};
|
|
68
68
|
const parent=path.dirname(dest);
|
|
@@ -78,7 +78,7 @@ export async function install({dest,source=path.join(packageRoot,'skills',NAME),
|
|
|
78
78
|
await rejectSymlinkAncestors(dest);
|
|
79
79
|
if(prior) {
|
|
80
80
|
const marker=JSON.parse(await fs.readFile(path.join(dest,MARKER),'utf8'));
|
|
81
|
-
if(marker.name!==NAME || marker.schema!==1 || JSON.stringify(hashes(await inventory(dest,true)))!==JSON.stringify(marker.files)) throw new Error('Existing installation changed; upgrade cancelled.');
|
|
81
|
+
if(marker.name!==NAME || marker.schema!==1 || JSON.stringify(hashes(await inventory(dest,true,true)))!==JSON.stringify(marker.files)) throw new Error('Existing installation changed; upgrade cancelled.');
|
|
82
82
|
}
|
|
83
83
|
stage=await fs.mkdtemp(path.join(parent,'.merge-guide-stage-'));
|
|
84
84
|
for(const [rel,data] of Object.entries(files)) {
|
package/docs/installer.md
CHANGED
|
@@ -6,14 +6,14 @@ The installer copies the bundled skill to an explicit agent destination. It does
|
|
|
6
6
|
|
|
7
7
|
**Registry release:** `@mangeshraut712/merge-guide@0.1.0`. Use the npm commands below, or the source and locally packed alternatives.
|
|
8
8
|
|
|
9
|
-
Release 0.1.0 is
|
|
9
|
+
Release 0.1.0 is published for the public npm package [`@mangeshraut712/merge-guide`](https://www.npmjs.com/package/@mangeshraut712/merge-guide):
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
12
|
npx @mangeshraut712/merge-guide install --target codex --dry-run
|
|
13
13
|
npx @mangeshraut712/merge-guide install --target codex
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Use `--target claude` or `--target cursor` for those tools. To pin the exact release, use `npx @mangeshraut712/merge-guide@0.1.
|
|
16
|
+
Use `--target claude` or `--target cursor` for those tools. To pin the exact release, use `npx @mangeshraut712/merge-guide@0.1.1`. See [validation results](results.md) for the distinction between installer checks, runtime discovery, and native task execution.
|
|
17
17
|
|
|
18
18
|
After reviewing/downloading this repository, from its root:
|
|
19
19
|
|
|
@@ -26,8 +26,8 @@ To test the real npm packaging locally (no registry publication):
|
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
npm pack
|
|
29
|
-
npx --package ./mangeshraut712-merge-guide-0.1.
|
|
30
|
-
npx --package ./mangeshraut712-merge-guide-0.1.
|
|
29
|
+
npx --package ./mangeshraut712-merge-guide-0.1.1.tgz merge-guide install --target codex --dry-run
|
|
30
|
+
npx --package ./mangeshraut712-merge-guide-0.1.1.tgz merge-guide install --target codex
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
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.
|
|
@@ -66,3 +66,9 @@ npm pack --dry-run
|
|
|
66
66
|
Review the allowlisted manifest: only installer, skill sources, synthetic example, public documentation/metadata and MIT notices belong in a package. No private data, bytecode, tokens or machine paths. There are no npm lifecycle scripts or dependencies.
|
|
67
67
|
|
|
68
68
|
Publishing is separate: verify the correct npm identity and scope ownership through supported authentication, comply with npm's required approval/2FA flow, and verify the resulting registry version and a fresh npx install before announcing release. Do not register accounts, create tokens or change credentials just to bypass an access failure. See [npm publishing requirements](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages).
|
|
69
|
+
|
|
70
|
+
## npm authentication and updates
|
|
71
|
+
|
|
72
|
+
Installing this public package does not require `npm login`. Check registry access with `npm ping`, then use the documented `npx` command. Publisher authentication is separate: maintainers can verify their account with `npm whoami` and use `npm login --auth-type=web` when signed out. Complete email and two-factor verification in the browser; never paste credentials into a chat or issue.
|
|
73
|
+
|
|
74
|
+
Running the Python helpers may create `__pycache__` directories and `.pyc` files. Managed upgrades ignore generated bytecode when checking for local edits and retain it in the backup. Changes to source files or added notes still block an upgrade, so they can be preserved deliberately.
|
package/docs/results.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Validation results and limits
|
|
2
2
|
|
|
3
|
+
## November 14 upgrade regression
|
|
4
|
+
|
|
5
|
+
The 0.1.1 candidate passes 16 installer tests, including a failing-before/passing-after regression for managed upgrades after Python helpers generate bytecode. Packed Codex, Claude and Cursor installs preserve the complete backup and still refuse edited source or additional notes. Independent review found no blockers. Registry publication is separate from these local package checks.
|
|
6
|
+
|
|
7
|
+
## November 13 registry and installed-skill verification
|
|
8
|
+
|
|
9
|
+
Fresh-cache `npx @mangeshraut712/merge-guide@0.1.0` checks passed on macOS with Node 26.13.0: Codex, Claude Code and Cursor project installs, write-free dry runs, refusal to overwrite, managed upgrades, and refusal to upgrade edited files without changing them. This verifies the published registry release, superseding the earlier pending-publication note below.
|
|
10
|
+
|
|
11
|
+
The current source also passes 15 installer tests, 28 helper/packaging tests, 3 adoption tests, and expanded packed-package checks that verify upgrade backups and preservation of local edits for all three targets. A first-reader scenario check found that helper paths depended on the working directory; commands now resolve from the installed skill root. The anchored ledger command was executed successfully outside the skill repository against synthetic data. These checks do not certify native agent task invocation or maintainer acceptance.
|
|
12
|
+
|
|
3
13
|
## November 12 maintenance refresh
|
|
4
14
|
|
|
5
15
|
Local macOS / Node 26.13.0: 15 installer tests, 28 evidence-helper tests, and 3 analytics tests passed. Packed installs into isolated Codex, Claude Code and Cursor targets verified complete file parity, dry runs and refusal to overwrite existing files. The skill metadata validator passed. The detailed validation workflow moved into a linked reference; it remains part of the installed package. This does not measure model quality or contribution acceptance.
|
|
@@ -47,4 +57,4 @@ The renamed repository was freshly cloned from `mangeshraut712/mangeshs-merge-gu
|
|
|
47
57
|
|
|
48
58
|
The first matrix run exposed a Windows/Node 20 shell-glob difference in the test command. Naming the installer test file explicitly fixed the harness; no tests were removed or skipped. Native installer checks do not certify agent discovery, model invocation, every ACL configuration or every IDE version. The earlier host startup limitation remains relevant to task invocation.
|
|
49
59
|
|
|
50
|
-
The prepared release package is [`@mangeshraut712/merge-guide@0.1.0`](https://www.npmjs.com/package/@mangeshraut712/merge-guide). The tarball allowlist contains 24 public files, no runtime dependencies and no install hooks. Public registry installation is a separate final release check from the local tarball smoke tests above. npm publication was attempted and rejected with E403 because the account requires 2FA.
|
|
60
|
+
The prepared release package is [`@mangeshraut712/merge-guide@0.1.0`](https://www.npmjs.com/package/@mangeshraut712/merge-guide). The tarball allowlist contains 24 public files, no runtime dependencies and no install hooks. Public registry installation is a separate final release check from the local tarball smoke tests above. npm publication was attempted and rejected with E403 because the account requires 2FA. At that earlier checkpoint, the registry release and post-publication npx check were pending. The November 13 verification above confirms the subsequent publication.
|
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.1",
|
|
4
|
+
"description": "Install Mangesh’s Merge Guide into a supported agent skill directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/mangeshraut712/mangeshs-merge-guide.git"
|
|
34
|
+
"url": "git+https://github.com/mangeshraut712/mangeshs-merge-guide.git"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/mangeshraut712/mangeshs-merge-guide#readme",
|
|
37
37
|
"bugs": {
|
|
@@ -24,11 +24,13 @@ Read [the contributor playbook](references/contributor-playbook.md) for beginner
|
|
|
24
24
|
|
|
25
25
|
## Establish the task and evidence
|
|
26
26
|
|
|
27
|
+
`<skill-root>` is the absolute directory containing this `SKILL.md`. Resolve bundled helpers and assets from that directory, even when the current working directory is a contribution repository.
|
|
28
|
+
|
|
27
29
|
- Determine the repository or PR set, timeframe, requested deliverable, and authorized actions. Research, a draft, or use of this skill does not authorize posting, pushing, merging, or scheduled outreach.
|
|
28
30
|
- Read current `AGENTS.md`, contribution instructions, PR template, tests, AI policy, and any issue-specific maintainer direction. Respect required human understanding, review, and authorship; pause for genuine human participation where required. Never tick human or legal attestations on the user’s behalf merely to satisfy a template, rebrand prohibited generated work as human work, or bypass contribution restrictions.
|
|
29
31
|
- Read [the evidence method and ledger format](references/evidence-and-ledger.md) for a retrospective, broad inventory, or tracked review. Read [maintenance and incremental refresh](references/maintenance.md) when activity changes or a recurring refresh is requested.
|
|
30
|
-
- Use a private, authorized evidence ledger for real history. The bundled `assets/example-ledger.json` is synthetic and demonstrates the schema only, not real contributions. Query a ledger with `python3 scripts/ledger.py summary PATH` or `show PATH --repository OWNER/REPO --number N`.
|
|
31
|
-
- Prefer the connected GitHub tools. When `gh` is available and authenticated, optionally use `python3 scripts/collect_pr_evidence.py OWNER/REPO NUMBER --output PATH` for a read-only snapshot. It records per-section failures and the sampled head. Read actual linked diffs, policies, logs, and discussion; metadata alone is insufficient.
|
|
32
|
+
- Use a private, authorized evidence ledger for real history. The bundled `assets/example-ledger.json` is synthetic and demonstrates the schema only, not real contributions. Query a ledger with `python3 <skill-root>/scripts/ledger.py summary PATH` or `show PATH --repository OWNER/REPO --number N`.
|
|
33
|
+
- Prefer the connected GitHub tools. When `gh` is available and authenticated, optionally use `python3 <skill-root>/scripts/collect_pr_evidence.py OWNER/REPO NUMBER --output PATH` for a read-only snapshot. It records per-section failures and the sampled head. Read actual linked diffs, policies, logs, and discussion; metadata alone is insufficient.
|
|
32
34
|
|
|
33
35
|
## Choose a contribution that belongs
|
|
34
36
|
|
|
@@ -15,7 +15,7 @@ The bundled example ledger is synthetic, not a research baseline or maintained d
|
|
|
15
15
|
3. Page each result and each required discussion stream fully. Record totals, retrieval errors, inaccessible/held records, and `incomplete_results`. If a search approaches GitHub's 1,000-result limit, partition into disjoint creation-date ranges and subdivide any saturated range; validate boundary coverage and deduplicate identities. If one partition still cannot be enumerated, report the coverage gap or use a supported repository/listing endpoint. Never call a capped query complete.
|
|
16
16
|
4. Refresh only changed permitted items and the evidence needed to understand them. Respect rate limits and bounded retries; do not retry access denials through another identity or tool. Preserve the last known record if a source becomes unavailable. Do not erase a record because it disappeared from one query.
|
|
17
17
|
5. Reconcile lifecycle separately from code disposition and post-landing quality. Verify equivalent landed code and credit, not only a closure comment. Keep partial incorporation distinct from full landing. Preserve links between a source PR, destination PR/commit, ports, and backports so a single change is not counted twice.
|
|
18
|
-
6. Compare snapshots using `python3 scripts/ledger.py diff OLD NEW --output NEW_FILE`. This helper reports changes; it never rewrites the ledger or resolves conflicting evidence. Investigate unexpected count decreases, changed immutable identities, duplicate records, and inconsistent lifecycle/disposition before publishing totals.
|
|
18
|
+
6. Compare snapshots using `python3 <skill-root>/scripts/ledger.py diff OLD NEW --output NEW_FILE`. This helper reports changes; it never rewrites the ledger or resolves conflicting evidence. Investigate unexpected count decreases, changed immutable identities, duplicate records, and inconsistent lifecycle/disposition before publishing totals.
|
|
19
19
|
7. Advance the **complete checkpoint** only through an interval whose permitted retrieval finished. A partial attempt can retain successful rows and a retry list, but must not silently skip its failed interval later. Record the snapshot's observation time separately from GitHub event times.
|
|
20
20
|
8. Periodically reconcile the full agreed inventory in addition to incremental queries, at a cadence justified by activity and API cost. Revalidate a live PR before taking action; a scheduled snapshot is not action-time verification.
|
|
21
21
|
|