paperthin 0.7.1 → 0.7.2

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.
@@ -13,8 +13,6 @@ jobs:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
15
  - uses: actions/checkout@v4
16
- with:
17
- fetch-depth: 0 # fetch the annotated tag's message for the release notes
18
16
 
19
17
  - uses: actions/setup-node@v4
20
18
  with:
@@ -31,14 +29,27 @@ jobs:
31
29
  test "$PKG" = "$TAG" || { echo "tag $TAG != package.json $PKG"; exit 1; }
32
30
 
33
31
  - name: Publish to npm (public, with provenance)
34
- run: npm publish --provenance --access public
35
32
  env:
36
33
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34
+ run: |
35
+ VERSION=$(node -p "require('./package.json').version")
36
+ if npm view "paperthin@${VERSION}" version >/dev/null 2>&1; then
37
+ echo "paperthin@${VERSION} is already published; skipping"
38
+ else
39
+ npm publish --provenance --access public
40
+ fi
37
41
 
38
42
  - name: Create the GitHub Release
39
43
  env:
40
44
  GH_TOKEN: ${{ github.token }}
41
45
  run: |
42
- git tag -l --format='%(contents)' "$GITHUB_REF_NAME" \
46
+ # Read the annotated tag's message from the API: a CI checkout does not carry the
47
+ # tag object, so local git falls back to the commit message.
48
+ SHA=$(gh api "repos/${GITHUB_REPOSITORY}/git/ref/tags/${GITHUB_REF_NAME}" --jq '.object.sha')
49
+ gh api "repos/${GITHUB_REPOSITORY}/git/tags/${SHA}" --jq '.message' \
43
50
  | sed '/-----BEGIN PGP SIGNATURE-----/,/-----END PGP SIGNATURE-----/d' > "$RUNNER_TEMP/notes.md"
44
- gh release create "$GITHUB_REF_NAME" --title "PaperThin ${GITHUB_REF_NAME#v}" --notes-file "$RUNNER_TEMP/notes.md"
51
+ if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then
52
+ gh release edit "$GITHUB_REF_NAME" --title "Paperthin ${GITHUB_REF_NAME#v}" --notes-file "$RUNNER_TEMP/notes.md"
53
+ else
54
+ gh release create "$GITHUB_REF_NAME" --title "Paperthin ${GITHUB_REF_NAME#v}" --notes-file "$RUNNER_TEMP/notes.md"
55
+ fi
package/CLAUDE.md CHANGED
@@ -1,6 +1,6 @@
1
- # PaperThin
1
+ # Paperthin
2
2
 
3
- PaperThin is an agent-agnostic suite of plain-Markdown skills that keep an artifact **clean and true** — hygiene reflexes an agent reaches for on its own. This is the guide for authoring them — and itself a skill artifact, so `re0` it when it drifts. Every skill it names below — `re0`, `factchk`, `hate`, … — is defined in the shipped catalog, the [README](./README.md).
3
+ Paperthin is an agent-agnostic suite of plain-Markdown skills that keep an artifact **clean and true** — hygiene reflexes an agent reaches for on its own. This is the guide for authoring them — and itself a skill artifact, so `re0` it when it drifts. Every skill it names below — `re0`, `factchk`, `hate`, … — is defined in the shipped catalog, the [README](./README.md).
4
4
 
5
5
  ## Philosophy
6
6
 
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  <div align="center">
2
2
 
3
- # PaperThin
3
+ # Paperthin
4
4
 
5
- <img src="https://raw.githubusercontent.com/LilMGenius/paperthin/main/assets/banner.svg" alt="PaperThin — Trust the artifact, not the author." width="820">
5
+ <img src="https://raw.githubusercontent.com/LilMGenius/paperthin/main/assets/banner.svg" alt="Paperthin — Trust the artifact, not the author." width="820">
6
6
 
7
7
  Plain-Markdown skills that turn old engineering wisdom into reflexes your agent reaches for on its own — on any agent: Claude Code, Codex, Cursor, Antigravity, Grok-Build, Hermes, OpenClaw, Pi, etc.
8
8
 
@@ -53,7 +53,7 @@ Plain-Markdown skills that turn old engineering wisdom into reflexes your agent
53
53
  Two axes — **cardinality × time** — carve four regions.
54
54
 
55
55
  <div align="center">
56
- <img src="https://raw.githubusercontent.com/LilMGenius/paperthin/main/assets/map.svg" alt="The PaperThin map: a two-by-two matrix. Horizontal axis cardinality (one, then many); vertical axis time (now, then across iterations); four regions. Top-left, depth: one artifact, now; is this one thing clean and true? Top-right, breadth: many artifacts, now; is one truth consistent everywhere? Bottom-left, coil: one project, across iterations; did each pass teach the next? Bottom-right, mesh: many minds, across rounds; does the crowd converge on truth?" width="820">
56
+ <img src="https://raw.githubusercontent.com/LilMGenius/paperthin/main/assets/map.svg" alt="The Paperthin map by LilMGenius/paperthin: a two-by-two matrix. Horizontal axis cardinality (one, then many); vertical axis time (now, then across iterations); four regions. Top-left, depth: one artifact, now; is this one thing clean and true? Top-right, breadth: many artifacts, now; is one truth consistent everywhere? Bottom-left, coil: one project, across iterations; did each pass teach the next? Bottom-right, mesh: many minds, across rounds; does the crowd converge on truth?" width="820">
57
57
  </div>
58
58
 
59
59
  ## The Problem
package/assets/banner.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" width="1200" height="400" role="img" aria-label="PaperThin — Trust the artifact, not the author.">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" width="1200" height="400" role="img" aria-label="Paperthin — Trust the artifact, not the author.">
2
2
  <defs>
3
3
  <linearGradient id="bg" x1="0" y1="0" x2="1200" y2="400" gradientUnits="userSpaceOnUse">
4
4
  <stop offset="0" stop-color="#0B0D11"/>
@@ -50,11 +50,11 @@
50
50
  stroke="url(#edge)" stroke-width="3.5" stroke-linecap="round" filter="url(#glow)"/>
51
51
  </g>
52
52
 
53
- <!-- wordmark: "Thin" drawn as hairline outline — thinness made literal, font-weight independent -->
53
+ <!-- wordmark: "thin" drawn as hairline outline — thinness made literal, font-weight independent -->
54
54
  <text x="568" y="206" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif"
55
55
  font-size="94" letter-spacing="0.5">
56
- <tspan font-weight="500" fill="#EEF3F8">Paper</tspan><tspan
57
- font-weight="400" fill="none" stroke="#D4E3EF" stroke-width="1.4">Thin</tspan>
56
+ <tspan font-weight="500" fill="#EEF3F8">Paper</tspan><tspan dx="3"
57
+ font-weight="400" fill="none" stroke="#D4E3EF" stroke-width="1.4">thin</tspan>
58
58
  </text>
59
59
 
60
60
  <!-- tagline -->
package/assets/map.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 740" width="1080" height="740" role="img" aria-label="The PaperThin map: an old-paper four-quadrant graph. Horizontal axis cardinality moves from one to many; vertical axis time moves from now to across iterations. Depth is one artifact now, breadth is many artifacts now, coil is one project across iterations, and mesh is many minds across rounds.">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 740" width="1080" height="740" role="img" aria-label="The Paperthin map by LilMGenius/paperthin: an old-paper four-quadrant graph. Horizontal axis cardinality moves from one to many; vertical axis time moves from now to across iterations. Depth is one artifact now, breadth is many artifacts now, coil is one project across iterations, and mesh is many minds across rounds.">
2
2
  <defs>
3
3
  <filter id="paper-grain" x="-10%" y="-10%" width="120%" height="120%">
4
4
  <feTurbulence type="fractalNoise" baseFrequency="0.82" numOctaves="4" seed="23" result="noise"/>
@@ -57,8 +57,9 @@
57
57
  <text x="64" y="510" font-family="'Courier New',Courier,monospace" font-size="13" fill="#5C5448">iterations</text>
58
58
 
59
59
  <!-- title note -->
60
- <text x="151" y="66" font-family="'Courier New',Courier,monospace" font-size="13" letter-spacing="1.6" fill="#6A5B42">CARDINALITY x TIME</text>
61
- <text x="362" y="66" font-family="Georgia,'Times New Roman',serif" font-size="15" font-style="italic" fill="#6A5B42">four regions on one thin sheet</text>
60
+ <text x="151" y="66" font-family="Georgia,'Times New Roman',serif" font-size="15" font-style="italic" fill="#6A5B42">four regions on one thin sheet</text>
61
+ <text x="992" y="66" text-anchor="end" font-family="'Courier New',Courier,monospace"
62
+ font-size="13" letter-spacing="0.8" fill="#5C4E39" opacity="0.95">LilMGenius/paperthin</text>
62
63
 
63
64
  <!-- depth -->
64
65
  <g transform="translate(184 143)">
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 1080" width="1080" height="1080" role="img" aria-label="PaperThin — Trust the artifact, not the author.">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 1080" width="1080" height="1080" role="img" aria-label="Paperthin — Trust the artifact, not the author.">
2
2
  <defs>
3
3
  <linearGradient id="bg" x1="0" y1="0" x2="1080" y2="1080" gradientUnits="userSpaceOnUse">
4
4
  <stop offset="0" stop-color="#0B0D11"/>
@@ -49,8 +49,8 @@
49
49
  <text x="540" y="722" text-anchor="middle"
50
50
  font-family="'Helvetica Neue', Helvetica, Arial, sans-serif"
51
51
  font-size="132" letter-spacing="0.5">
52
- <tspan font-weight="500" fill="#EEF3F8">Paper</tspan><tspan
53
- font-weight="400" fill="none" stroke="#D4E3EF" stroke-width="1.8">Thin</tspan>
52
+ <tspan font-weight="500" fill="#EEF3F8">Paper</tspan><tspan dx="4"
53
+ font-weight="400" fill="none" stroke="#D4E3EF" stroke-width="1.8">thin</tspan>
54
54
  </text>
55
55
 
56
56
  <!-- tagline, centered -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperthin",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Plain-Markdown skills that turn old engineering wisdom into reflexes your agent reaches for on its own — on any agent.",
5
5
  "keywords": [
6
6
  "agent-skills",