@pharn-dev/pharn 0.15.0 → 0.16.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 +11 -4
- package/dist/index.js +36 -31
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -168,10 +168,17 @@ As you run the workflow, PHARN writes one directory per increment —
|
|
|
168
168
|
`RUN-REPORT.md`, and the machine-readable records beside them
|
|
169
169
|
(`AC-TESTS.lock.json`, `cost.json`, the `*-report.json` files). Those are the
|
|
170
170
|
durable record; commit them. `pharn/.run/` (runtime scratch; `.pharn/` before
|
|
171
|
-
pharn-oss 7.0.0)
|
|
172
|
-
`pharn
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
pharn-oss 7.0.0) and `pharn/.backup/` (see [Safety model](#safety-model)) are not:
|
|
172
|
+
`pharn init` and `pharn update` append them to your `.gitignore` (creating it if
|
|
173
|
+
needed) unless it already covers them — in any common spelling, such as
|
|
174
|
+
`/pharn/.run`, `pharn/.run/**` or a negation `!pharn/.run/` you wrote on purpose.
|
|
175
|
+
They only ever append: your lines are never reordered or rewritten, CRLF stays
|
|
176
|
+
CRLF, and a second run changes nothing. A symlinked `.gitignore` is never written
|
|
177
|
+
through (you get a warning naming the lines). Lines added to `.gitignore` do not
|
|
178
|
+
untrack files you already committed (`git rm -r --cached pharn/.run` does).
|
|
179
|
+
`pharn/.lock*` is a transient file — add it yourself if you like. When your
|
|
180
|
+
`.gitignore` still names the old `.pharn/`, `.pharn-backup` or `.pharn.lock`,
|
|
181
|
+
`pharn update` prints the replacement lines; it never rewrites yours.
|
|
175
182
|
|
|
176
183
|
Everything PHARN keeps in your project lives under `.claude/` and `pharn/`, plus
|
|
177
184
|
the two JSON files at the root. An install made from a pharn-oss older than 7.0.0
|