@mean-weasel/lineage 0.1.5 → 0.1.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.6
4
+
5
+ - Add per-image re-roll attempt history with stack inspection, previous-attempt selection, and promotion back to the current/top attempt.
6
+ - Add CLI and agent-facing re-roll commands for marking, listing, planning, importing, and cancelling one job per target image.
7
+ - Package public-safe Swissifier re-roll PNG fixtures and manifest metadata so the demo canvas shows multi-attempt nodes out of the box.
8
+ - Harden project switching, lineage workspace fallback, and backend attempt invariants around re-roll histories.
9
+
3
10
  ## 0.1.5
4
11
 
5
12
  - Add graph orientation controls for lineage views and CLI flows, including browser coverage for orientation behavior.
package/README.md CHANGED
@@ -68,6 +68,17 @@ lineage link-child --project demo-project --root <root-asset-id> --child <child-
68
68
  lineage agent release --claim-token "$LINEAGE_CLAIM_TOKEN" --json
69
69
  ```
70
70
 
71
+ For re-roll work, mark the target, have the agent plan/import one replacement
72
+ attempt, and cancel only when the request should be abandoned:
73
+
74
+ ```bash
75
+ lineage reroll mark --project demo-project --root <root-asset-id> --target <target-asset-id> --notes "Fix distorted text" --confirm-write --json
76
+ lineage reroll list --project demo-project --root <root-asset-id> --json
77
+ lineage reroll plan --project demo-project --root <root-asset-id> --target <target-asset-id> --prompt "Regenerate with clean readable text" --json
78
+ lineage reroll import --project demo-project --job-id <job-id> --file <.asset-scratch-file> --confirm-write --json
79
+ lineage reroll cancel --project demo-project --root <root-asset-id> --target <target-asset-id> --confirm-write --json
80
+ ```
81
+
71
82
  The app-created claim-aware handoff packet includes the same token export,
72
83
  heartbeat, inspect, and write commands. Raw claim tokens are not shown in the
73
84
  read-only Agents view.
@@ -155,11 +166,13 @@ Source checkouts and installed packages include a synthetic public demo catalog
155
166
 
156
167
  If you create a real `demo-project/assets/catalog.json`, that root project catalog overrides the packaged fixture. The fixture keeps S3-shaped metadata for realistic catalog structure, but default previews are generated local SVG data URLs and do not call storage.
157
168
 
158
- Lineage also includes a lightweight Swissifier rich-demo manifest at `fixtures/demo-project/lineage/swissifier-rich-demo.json`. The manifest stores only synthetic metadata, checksums, graph edges, layout positions, and selected next-variation bases. It does not include generated PNG media or any local SQLite state.
169
+ Lineage also includes a lightweight Swissifier rich-demo manifest at `fixtures/demo-project/lineage/swissifier-rich-demo.json`. The manifest stores only synthetic metadata, checksums, graph edges, layout positions, and selected next-variation bases. It does not include local SQLite state.
170
+
171
+ The package intentionally includes three public-safe synthetic Swissifier re-roll PNG fixtures in `fixtures/demo-project/lineage/swissifier-rerolls/`. They are the only generated PNG media committed with the rich demo, and each file is pinned in the manifest by filename, SHA-256, size, content type, prompt, and demo generation job id so public-readiness and package-smoke checks can prove the fixture is hermetic.
159
172
 
160
173
  To hydrate the Swissifier demo with real images, use the Demo seed menu's Swissifier `Download media` control. Lineage downloads `swissifier-rich-demo-v1.tar.gz` from the [v0.1.2 GitHub release](https://github.com/mean-weasel/lineage/releases/tag/v0.1.2), verifies the archive checksum, safely unpacks the PNGs into local scratch storage, and then verifies each PNG checksum before loading the rich demo.
161
174
 
162
- Future rich-demo media packs should follow the same split: commit only the lightweight manifest changes, attach the generated media archive to the GitHub release for the app version that first references that archive, then pin the public release URL, archive size, and SHA-256 in the manifest. If a later app release reuses an unchanged media pack, keep the manifest pointed at the original release asset instead of duplicating the archive.
175
+ Future rich-demo media packs should follow the same split unless a small synthetic media exception is explicitly documented and manifest-pinned like the packaged re-roll PNGs: commit lightweight manifest changes, attach generated media archives to the GitHub release for the app version that first references them, then pin the public release URL, archive size, and SHA-256 in the manifest. If a later app release reuses an unchanged media pack, keep the manifest pointed at the original release asset instead of duplicating the archive.
163
176
 
164
177
  For manual verification or offline restore, the expected archive checksum is:
165
178