unaltraweb 0.8.0 → 0.9.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +29 -5
  3. data/README.md +2 -0
  4. data/docs/_documentation/en/33-reusable-workflows.md +1 -1
  5. data/docs/_documentation/en/43-workspace-path-policies.md +7 -0
  6. data/docs/_documentation/en/47-manual-context.md +19 -0
  7. data/docs/_documentation/en/48-artifact-storage.md +152 -0
  8. data/docs/_documentation/en/49-practice-inputs-editions.md +170 -0
  9. data/docs/_documentation/en/50-practice-artifact-storage.md +383 -0
  10. data/docs/_documentation/en/51-retained-private-intake.md +292 -0
  11. data/docs/_documentation/en/52-selected-file-private-storage.md +194 -0
  12. data/docs/_documentation/en/53-original-private-archives.md +190 -0
  13. data/docs/agents/manual-context-121.md +62 -5
  14. data/docs/agents/manual-context-fix-121.md +130 -0
  15. data/docs/agents/manual-context-pilot-review-121.md +277 -0
  16. data/docs/agents/manual-context-release-081-121.md +76 -0
  17. data/docs/agents/mcp-contract.md +51 -5
  18. data/docs/agents/original-private-archive.md +101 -0
  19. data/docs/agents/practice-artifact-storage-review.md +90 -0
  20. data/docs/agents/retained-compatibility.md +99 -0
  21. data/docs/agents/retained-private-intake.md +117 -0
  22. data/docs/agents/retained-variant-batch.md +103 -0
  23. data/docs/agents/software-release-090.md +66 -0
  24. data/docs/agents/web-practices-reconciliation.md +88 -0
  25. data/docs/agents/web-s4-manuals-readiness.md +126 -0
  26. data/docs/agents/web-storage-followup.md +98 -0
  27. data/docs/agents/zip-only-flat-storage.md +79 -0
  28. data/scripts/manual/candidate-storage-s3-requirements.txt +8 -0
  29. data/scripts/review_manual_context_pilots.py +287 -0
  30. data/scripts/test_candidate_transfer.py +52 -0
  31. data/scripts/test_manual_context_export.py +32 -2
  32. data/scripts/test_wheel_install.py +36 -0
  33. data/scripts/unaltraweb-mcp-bootstrap.sh +1 -1
  34. data/scripts/validate_workflows.py +105 -10
  35. data/src/unaltraweb_mcp/component-contract.json +24 -20
  36. metadata +24 -2
@@ -0,0 +1,194 @@
1
+ ---
2
+ title: ZIP-only private selected-file storage
3
+ description: Explicit files-v1 plain private paths with original outputs and local-only metadata.
4
+ lang: en
5
+ ref: selected_file_private_storage
6
+ profiles: [unaltredocs]
7
+ documentation_profiles: [core-developers]
8
+ section: Core Development
9
+ weight: 695
10
+ permalink: /selected-file-private-storage/
11
+ ---
12
+
13
+ ## Original ZIPs, simple private paths
14
+
15
+ When an original student/teacher ZIP already contains its PDF reading, select
16
+ **only those ZIP outputs** for remote archive. Keep standalone PDFs, worker/source
17
+ receipts and editorial/proof evidence locally. This changes remote selection,
18
+ not native packaging, original ZIP roots/names, language, recipient or approval.
19
+
20
+ An original non-paired starter/data ZIP can instead use the explicit
21
+ [original private archive admission](../original-private-archives/), which has no
22
+ PDF/worker prerequisite and does not invent practice/native lineage.
23
+
24
+ The existing per-artifact CLI/API adds an explicit route-v3
25
+ `delivery_layout:"files-v1"`. It stores each selected `role:output` at exactly:
26
+
27
+ ```text
28
+ <repository-named-bucket>/<explicit-policy-prefix>/<original-relative-filename>
29
+ ```
30
+
31
+ For example:
32
+
33
+ ```text
34
+ geodisseny/practiques/ca/avaluacio-multicriteri.zip
35
+ geodisseny/practiques/ca/avaluacio-multicriteri-docent.zip
36
+ ```
37
+
38
+ There is no project/artifact/hash/version/control tree added by this profile.
39
+ Manifests, artifact sidecars, restore aliases, original receipts and attempt
40
+ journals remain **local**. This bounded opt-in supports private S3 with explicit
41
+ `authenticated-private-v1` only; it does not qualify public object URLs.
42
+
43
+ ## Explicit route v3
44
+
45
+ The public wheel and `web://practice-artifact-storage-v3-schema` expose the same
46
+ `practice-artifact-storage-v3.schema.json`. V1/v2 routes retain their original
47
+ named-v1 behavior; scaffold defaults remain v2/unconfigured. V3 requires an
48
+ explicit `delivery_layout` on every route, choosing `named-v1` or `files-v1`.
49
+ The frozen common product/policy schemas remain v1.
50
+
51
+ ```json
52
+ {
53
+ "kind": "unaltraweb.practice-artifact-storage",
54
+ "schema_version": 3,
55
+ "consumer_repository": {
56
+ "remote": "origin",
57
+ "host": "github.com",
58
+ "repository": "geourv/geodisseny"
59
+ },
60
+ "publication": {
61
+ "kind": "gacontext.publication-policy",
62
+ "schema_version": 1,
63
+ "project_id": "geodisseny",
64
+ "default_target": "s4-private",
65
+ "targets": {
66
+ "s4-private": {
67
+ "driver": "s3",
68
+ "endpoint": "https://s3.eu-barcelona-1.megas4.com",
69
+ "region": "eu-barcelona-1",
70
+ "bucket": "geodisseny",
71
+ "prefix": "practiques/ca",
72
+ "visibility": "private",
73
+ "audiences": ["student", "teacher", "private"],
74
+ "auth_ref": "geodisseny-private"
75
+ }
76
+ }
77
+ },
78
+ "artifacts": {
79
+ "amc-ca-student-zip": {
80
+ "target": "s4-private",
81
+ "audience": "student",
82
+ "format": "zip",
83
+ "storage_profile": "authenticated-private-v1",
84
+ "delivery_layout": "files-v1",
85
+ "receipt": "<exact selected original-ZIP native/private-admission receipt path>",
86
+ "receipt_sha256": "<exact selected receipt SHA-256>"
87
+ },
88
+ "amc-ca-teacher-zip": {
89
+ "target": "s4-private",
90
+ "audience": "teacher",
91
+ "format": "zip",
92
+ "storage_profile": "authenticated-private-v1",
93
+ "delivery_layout": "files-v1",
94
+ "receipt": "<exact selected teacher-ZIP native/private-admission receipt path>",
95
+ "receipt_sha256": "<exact selected teacher receipt SHA-256>"
96
+ }
97
+ }
98
+ }
99
+ ```
100
+
101
+ Use the actual reviewed project ID, region/endpoint, prefix, auth binding and
102
+ original receipt pins; example labels are not credential selections. The native
103
+ repository/bucket rule stays exact, and teacher artifacts remain teacher/private.
104
+ The profile does not infer audience, rename files or choose a fallback provider.
105
+
106
+ [Retained intake](../retained-private-intake/) already supports ZIP-only `selected`
107
+ entries for each original recipient package. Its original standalone PDF, worker
108
+ and ZIP member evidence still bind the ZIP bytes locally. The course owner proves
109
+ actual PDF containment and selects its own student/teacher candidates; Web does
110
+ not execute a new exporter or alter a course handoff/source/receipt.
111
+
112
+ ## Same plan/stage/publish interface
113
+
114
+ ```bash
115
+ unaltraweb-practice-artifacts plan \
116
+ --project /absolute/manual --sha256 REVIEWED_ROUTE_SHA256 \
117
+ --artifact amc-ca-student-zip
118
+
119
+ unaltraweb-practice-artifacts stage \
120
+ --project /absolute/manual --sha256 REVIEWED_ROUTE_SHA256 \
121
+ --artifact amc-ca-student-zip --stage sandbox/artifacts/amc-student/new-files-stage
122
+ ```
123
+
124
+ Planning returns the exact plain remote key and local-inventory requirements,
125
+ without auth/network. A new files-v1 stage retains the same native `product.json`,
126
+ `artifact.json` and original output bytes, plus a private **local** `delivery.json`
127
+ seal binding files-v1, the exact manifest hash and selected output paths. Delivery
128
+ layout is outside native product identity. The seal is not a remote object or a
129
+ file in the common product manifest.
130
+
131
+ An existing named-v1 stage cannot be silently flattened by changing configuration:
132
+ the reviewed files-v1 stage needs that local seal. Conversely named-v1 rejects a
133
+ files-v1 stage as a layout mismatch. Make a new create-only stage; preserve earlier
134
+ stages, manifests, producer identities and named journals.
135
+
136
+ After explicit reviewed stage/manifest and project auth binding, the same
137
+ `publish`/`verify` operations use native S3 conditional create, authenticated
138
+ SHA/size/MIME/download-filename/private ACL readback and bounded local attempt
139
+ evidence. Only manifest entries with `role:output` are transferred. Each private
140
+ intent lists only the actual selected plain keys, with layout/source/config/
141
+ destination guards and exact owned multipart tuples. Local sidecars/seals and
142
+ metadata hashes remain guarded before mutations even though they are not uploaded.
143
+
144
+ Receipts report `layout:files-v1`, the selected output observations,
145
+ `remote_metadata_created:false`, `remote_deletes:0`, `metadata_location:local-only`,
146
+ `local_inventory_required_for_fetch:true` and
147
+ `full_remote_metadata_restoration:false`. There is no catalogue/content/native/
148
+ public approval inferred from storage.
149
+
150
+ ### Existing different objects are a separate action
151
+
152
+ Identical bytes **and headers** are verified and reused. Absent keys use
153
+ `IfNoneMatch:*` for PUT or multipart completion. A different/corrupt object,
154
+ different headers, denied/unverifiable/private-ACL mismatch or a concurrent
155
+ conditional-create collision safely refuses; this increment does not grant
156
+ conditional-ETag replacement. It never blindly overwrites, deletes or reuploads a
157
+ different existing key. Resolve a collision through a separately reviewed exact
158
+ per-file update contract rather than changing the source bytes/name to force it.
159
+
160
+ No automatic retry/resume/abort follows uncertain completion. Existing local
161
+ evidence and no-replay/tamper/owned-upload guards apply to the plain key. An
162
+ explicit read-only verification may qualify final bytes observed after uncertainty.
163
+
164
+ ## Common authenticated files-v1 fetch uses LOCAL inventory
165
+
166
+ The existing common files-v1 interface consumes the retained **local** original
167
+ product manifest and policy/target, exact expected manifest/policy hashes and a
168
+ new confined local destination. It authenticates, verifies selected output bytes,
169
+ MIME/download headers and private ACL, and reconstructs only selected outputs.
170
+ It performs no remote manifest/alias lookup. A local `product.json` may be retained
171
+ alongside restored files; that inventory came from the local input, not the cloud.
172
+
173
+ Web's per-artifact manifest includes local evidence `artifact.json`, so this
174
+ output-only fetch honestly reports an incomplete full product when evidence is
175
+ not fetched. ZIP byte identity and the embedded PDF can still be natively checked
176
+ exactly. Remote-only reconstruction/full metadata restoration is not promised;
177
+ preserve local inventories, receipts, stages and journals. The common reader stays
178
+ factory-owned and is not copied into a consumer or made a private dependency of
179
+ the public Web wheel.
180
+
181
+ ## Owner adoption and old pilot retirement
182
+
183
+ After a qualified corrected public wheel/source is selected, the Geo owner can
184
+ verify original ZIP/PDF containment, explicitly select original student and teacher
185
+ ZIPs in a new reviewed intake request, and use route v3/private files-v1 with prefix
186
+ `practiques/ca`. Review new plan/snapshot/stage hashes and host destination/auth
187
+ binding, then publish/verify the two original ZIP keys and perform common
188
+ local-inventory files-v1 fetch plus native ZIP/PDF byte checks.
189
+
190
+ The previous named-v1 pilot and its eight objects remain their original readable
191
+ format. Verify the new replacements first; any retirement of those exact old/test
192
+ objects requires a separate inspected object set and owner decision. No automatic
193
+ cleanup, runtime/release/client cutover or actual cloud operation is part of this
194
+ source change.
@@ -0,0 +1,190 @@
1
+ ---
2
+ title: Original private archive admission
3
+ description: New byte/provenance admission of an existing original ZIP without invented PDF or native practice lineage.
4
+ lang: en
5
+ ref: original_private_archives
6
+ profiles: [unaltredocs]
7
+ documentation_profiles: [core-developers]
8
+ section: Core Development
9
+ weight: 700
10
+ permalink: /original-private-archives/
11
+ ---
12
+
13
+ ## Archive an original as itself
14
+
15
+ An existing initial-project/data ZIP can be useful private archival input without
16
+ being a paired teaching edition. The original-archive class admits **one exact
17
+ original ZIP as itself**, preserving bytes, filename, internal roots and original
18
+ metadata. No missing PDF, worker receipt, formal role/language/approval, native
19
+ reopen or full-offline certificate is invented.
20
+
21
+ This is a **new byte/CRC/member/reference admission**. Caller classification is
22
+ labelled `caller-selection-not-original-seal`; scripts, README/licence/provenance
23
+ and project files are DATA, never executed or interpreted as instructions. No
24
+ teaching/author/native/scientific/public approval or offline qualification is
25
+ granted. Plan/snapshot perform no GIS, rendering, authoring, network, credential,
26
+ storage or catalogue operation.
27
+
28
+ An original reader-downloadable/public student asset can be archived privately
29
+ without declaring its original source private or changing site visibility.
30
+ Safe empty ZIP directory entries are retained along with the exact original file
31
+ bytes. Explicit caller-known student role/unknown language remains classification,
32
+ not a newly invented approval/recalculation/offline certificate. The snapshot and
33
+ its new metadata still require ignored/excluded/private local storage.
34
+
35
+ The existing paired intake remains strict about PDF/worker/member lineage. The
36
+ retained-letter importer likewise requires its own authentic native bundle and
37
+ rendering profile. This additional class fills only the original-ZIP admission
38
+ gap, reusing shared confinement, ZIP verification, selected copy, atomic install,
39
+ native product/stage/private files-v1/S3/auth/attempt machinery.
40
+
41
+ ## Explicit request/schema and CLI
42
+
43
+ The public wheel packages `original-private-archive-v1.schema.json`, also exposed
44
+ at `web://original-private-archive-schema`. A consumer owner can version a request
45
+ such as `.unaltraweb/original-archive.json`:
46
+
47
+ ```json
48
+ {
49
+ "kind": "unaltraweb.original-private-archive",
50
+ "schema_version": 1,
51
+ "purpose": "private-archive",
52
+ "consumer_repository": {
53
+ "remote": "origin", "host": "github.com", "repository": "example/course"
54
+ },
55
+ "archive_id": "original-starter",
56
+ "archive": {
57
+ "path": "assets/projects/city/original-starter.zip",
58
+ "sha256": "<exact ORIGINAL ZIP SHA-256>",
59
+ "bytes": 58051
60
+ },
61
+ "snapshot": "sandbox/original-archives/original-starter/owner-trial",
62
+ "classification": {
63
+ "kind": "initial-project",
64
+ "role": "unknown",
65
+ "language": "unknown",
66
+ "human_approval": "unknown",
67
+ "native_reopen": "not-performed",
68
+ "scientific_validation": "not-performed",
69
+ "full_offline": "requires-network"
70
+ },
71
+ "evidence": [],
72
+ "member_references": [],
73
+ "checksums": []
74
+ }
75
+ ```
76
+
77
+ Replace all example identities/pins/counts with owner-inspected exact values.
78
+ The ZIP can be an original tracked asset or retained source, not a forced practice/
79
+ version directory. The control request is versioned/non-ignored; source/evidence
80
+ paths are normalized project-relative no-follow reads. Native local Git metadata
81
+ binds the explicit consumer repository/bucket, never a basename or guessed ID.
82
+
83
+ Classification kinds are `initial-project`/`data-archive`, roles
84
+ `unknown`/`private`/`student`/`teacher`, languages `unknown`/`ca`/`es`/`en` (known
85
+ languages must be enabled by the site). These are **caller selections**, not
86
+ original seals inferred from prose/files. Approval/reopen/science/offline fields
87
+ accept unknown/not-performed/not-qualified/requires-network or explicit
88
+ caller-reported states, never an invented `approved`/`qualified` certificate.
89
+
90
+ Optional local evidence (up to eight items) declares an ID, role and exact pin:
91
+
92
+ ```json
93
+ {"id":"original-note","role":"provenance",
94
+ "file":{"path":"context/original-note.md","sha256":"<exact SHA>","bytes":123}}
95
+ ```
96
+
97
+ Roles are `provenance`, `metadata` or `checksums`. Selected JSON, Markdown, text
98
+ or SHA256SUMS bodies stay local and bounded to 1 MiB/file, 8 MiB total. JSON is
99
+ parsed as bounded data. Optional `member_references` pins exact regular members:
100
+
101
+ ```json
102
+ {"role":"provenance","path":"starter/README.md","sha256":"<exact member SHA>"}
103
+ ```
104
+
105
+ Complete member hashes are freshly observed, not represented as an old seal.
106
+ Optional checksum references explicitly name origin, scope and reference base:
107
+
108
+ ```json
109
+ {"source":"member","path":"starter/SHA256SUMS","scope":"members","base":"starter"}
110
+ ```
111
+
112
+ `source:evidence` names an explicit evidence ID instead. `scope:members` checks
113
+ each declared checksum against the exact observed ZIP member using the explicit
114
+ base (empty means ZIP root). `scope:archive` checks the original outer ZIP path/
115
+ hash using an explicit consumer-relative base; other unselected lines are not
116
+ claimed as freshly checked inputs. Missing/corrupt/mismatched references fail.
117
+
118
+ ```bash
119
+ unaltraweb-original-archive plan \
120
+ --project /absolute/course --request .unaltraweb/original-archive.json \
121
+ --sha256 REVIEWED_REQUEST_SHA256
122
+
123
+ unaltraweb-original-archive snapshot \
124
+ --project /absolute/course --request .unaltraweb/original-archive.json \
125
+ --sha256 REVIEWED_REQUEST_SHA256 --expected-plan-sha256 REVIEWED_PLAN_SHA256
126
+ ```
127
+
128
+ Python APIs are `original_archive.plan(project, request_path, sha256)` and
129
+ `snapshot(project, request_path, sha256, expected_plan_sha256)`; from core source
130
+ use `PYTHONPATH=src python3 -m unaltraweb_mcp.original_archive`. The public wheel
131
+ has no private hub/MEGA/GIS/renderer dependency for this local interface.
132
+
133
+ ## Read-only plan and honest create-only receipt
134
+
135
+ The stable digest binds exact request/archive/evidence pins, caller classification,
136
+ explicit reference origins, native repository, Jekyll privacy controls, freshly
137
+ observed complete ZIP member SHA/size/CRC and producer code. Existing shared bounds
138
+ apply: 512 MiB input, 2-GiB expanded/workspace budget, 10,000 entries and bounded
139
+ central-directory preflight. Links/special files/path escapes/aliases/unsupported
140
+ encryption or compression/corrupt CRC/hash/limits fail. Hashing does not extract
141
+ members or certify GeoJSON/GPKG/QGZ semantics; WMS dependencies stay declared
142
+ limitations, not requests or full-offline claims.
143
+
144
+ The separate expected-plan-bound action rechecks unchanged inputs and uses native
145
+ selected-copy/atomic create-only install helpers in ignored
146
+ `sandbox/original-archives/<id>/<run>`, root0700/files0600. Only the original ZIP and
147
+ finite necessary local request/evidence are copied unchanged. Originals are never
148
+ moved/renamed/normalized/repackaged. Failed private candidates stay inspectable;
149
+ the namespace retention policy does not grant cleanup authority.
150
+
151
+ A new `unaltraweb-original-private-archive-admission` v1 `admission.json` retains
152
+ that plan; `receipt.json` is a new `unaltraweb-original-private-archive-receipt`
153
+ v1 bound to its hash. It is not an original PDF/GIS/edition certificate. Subsequent
154
+ planning verifies the copied request, original ZIP/evidence/member/checksum graph,
155
+ classification and fixed truth flags. Unknown declarations cannot become native
156
+ approval; complete snapshots can outlive hot original source files.
157
+
158
+ ## Existing private files-v1 stage/publication/fetch
159
+
160
+ Route the new exact receipt/path/SHA as `format:zip`, route v3
161
+ `delivery_layout:files-v1`, private S3 and `authenticated-private-v1`. Unknown or
162
+ private role requires audience `private`; caller-selected student/teacher allows
163
+ only that role or private. Native Git bucket identity and project/destination auth
164
+ remain exact. No named-v1/public/anonymous delivery admits this class.
165
+
166
+ The source-free local sidecar/native format is
167
+ `unaltraweb-original-private-archive-v1`: archive ID, safe classification and
168
+ explicit new-byte-admission/no-original-seal/no-approval/no-reopen/science/offline
169
+ qualification. Original body/path/script/README/worker/proof evidence is not
170
+ exported as control metadata. All sidecars/inventories/receipts/delivery seals and
171
+ attempts stay local; only `<explicit-prefix>/<original-filename>.zip` is stored.
172
+
173
+ Existing conditional create/reuse, refusal of different object/header collisions,
174
+ native byte/header/private ACL readback and no-replay/tamper/uncertainty guards are
175
+ reused. Common authenticated files-v1 fetch uses retained LOCAL inventory and
176
+ restores only exact selected outputs plus optional local-input inventory. Native
177
+ ZIP/member/script bytes can be compared; no PDF or new recovery engine is needed.
178
+ Remote-only/full metadata reconstruction is not promised.
179
+
180
+ ## Minimum consumer reservation/adoption
181
+
182
+ In its existing session, the owner selects its genuine original ZIP/evidence and
183
+ reserves only the versioned original-archive request plus existing route policy
184
+ entry, with existing ignore/privacy controls adequate. No original course material,
185
+ missing historic paired output or native receipt is reconstructed to satisfy this
186
+ class. Qualify an exact public wheel/source for this consumer without replacing
187
+ other consumers' frozen batch producers. Review PLAN/digest, explicitly snapshot,
188
+ review receipt/stage/policy, then separately bind project auth for real storage/
189
+ readback/common fetch. Source CI is not a release/global client cutover; native
190
+ reopen/science/offline qualification stays with its owning workflow.
@@ -1,9 +1,10 @@
1
1
  # Manual context producer — #121
2
2
 
3
3
  Workspace: `/home/benizar/git/unaltraweb`; branch `feat/121-manual-context-export`.
4
- [Draft PR122](https://github.com/dosquartsdedocs/unaltraweb/pull/122) contains the
4
+ The initial [PR122](https://github.com/dosquartsdedocs/unaltraweb/pull/122) contained the
5
5
  post-release pin (`59bd62b`), first bound exporter (`cbf7260`) and resolver/check
6
- continuation. No merge or public release is part of this delivery.
6
+ continuation. That initial delivery preceded the authorized integration and
7
+ publication recorded below.
7
8
 
8
9
  ## Interface and contract
9
10
 
@@ -105,8 +106,8 @@ increment; recognizable QGIS captures get an explicit unsupported diagnostic.
105
106
  Interactive/arbitrary Liquid and undeclared outputs also fail closed. These
106
107
  limitations are recorded on #121 for producer/receiver coordination.
107
108
 
108
- The source version is 0.8.0 with publication status **pending**. The checkout
109
- launcher now selects published 0.7.4; observation of this conversation's existing
109
+ At initial source delivery, version 0.8.0 had publication status **pending**. The checkout
110
+ launcher then selected published 0.7.4; observation of this conversation's existing
110
111
  MCP still showed installed **0.7.3**, instance `ecac06618bd3436794e89c31746b8914`,
111
112
  bound to this checkout. It was not hot-reloaded or rebound. Hub admission belongs
112
113
  to gaContExt #52, and real-manual selection/author review remain separate.
@@ -123,7 +124,7 @@ with no manual checkout: all four conformance checks passed, receiver receipt
123
124
  `15b8561e1e55899b57d8e45b8d19b7a8eeaa669808cf729d29eac3589a3231fb`
124
125
  ([receiver return](https://github.com/dosquartsdedocs/unaltraweb/issues/121#issuecomment-6597815786)).
125
126
 
126
- The four new Web components are marked release-ready for the normal signed
127
+ The four new Web components were marked release-ready for the normal signed
127
128
  candidate, receipt-only merge/tag and trusted publication workflow. Independent
128
129
  core/gem, workflow, PDF and QGIS selections retain their previously verified
129
130
  identities. This source readiness is not a claim of published bytes or admission.
@@ -132,3 +133,59 @@ GaContExt #52 specifically concerns admitting newer **Itemarium** native builds.
132
133
  The new Web tuple must also be delivered to the hub owner after publication;
133
134
  neither publication alone nor the existing consumer conformance receipt proves
134
135
  hub admission, selected-client activation or an export of a real teaching manual.
136
+
137
+ ## Published 0.8.0 and verified intake
138
+
139
+ [Release v0.8.0](https://github.com/dosquartsdedocs/unaltraweb/releases/tag/v0.8.0)
140
+ is published. PR122 supplies source `54afe7588c36e959a7eb75d5f52763a7456108d7`;
141
+ receipt-only PR123 supplies tag target `f71aeea75e11f4c2b15df4451f47ddd8a161bd8b`.
142
+ Annotated tag object: `eca74d75783bd6630a47376bd1a3076912a1a087`.
143
+ Receipt SHA256: `a2bf883ea62a4f164c925fa477e756378d0590f8dc6bbcdc54c17b645a7896da`.
144
+
145
+ - Wheel: `4dcec737596b4e4742e04b50a70b81d04ffadf993139e6ba1d1bce665ece4816`.
146
+ - Gem: `bbc3dbbc106b69d7a677608c46bf1d4f64d7016a48b27301022ec71e5a378f79`.
147
+ - Controller OCI: `ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:8b41abacad9ca2894755db7f3587a6b47c8fa8f536d88a151bdfc4ae53ba7f08`.
148
+ - Controller config ID: `sha256:e0502369c85c59f9e512fbd9fdb17dbc128845d057a1423375425e68ce2e79a2`.
149
+ - Runtime OCI: `ghcr.io/dosquartsdedocs/unaltraweb@sha256:d58d8f68cf08a76e9b9f3ef238a0917b856cf7152aa5cc4a6f54ca109e1ac3fe`.
150
+ - Runtime config ID: `sha256:c0ec72478618c3e7a9444cd7ae9120317a18757019b2fbf8f0438ca451695731`.
151
+
152
+ Complete [release-handoff.json](https://github.com/dosquartsdedocs/unaltraweb/releases/download/v0.8.0/release-handoff.json),
153
+ SHA256 `7a7cab1d48e3302af5f21309e57b540d7ca81eb4d8c0f36c7a5da7099538a53a`,
154
+ lists every asset, untagged Docker archive, independent worker and native profile.
155
+ Core `9d97197` / gem 0.7.3, workflow `3332e0b`, PDF 0.7.1 and classic QGIS 0.6.1 are preserved.
156
+
157
+ Signed candidate run `41641425949`, package preparation `41641430158`, Trusted
158
+ Publishing `41687937608`, OCI promotion `41687938131` and tag CI `41687888720`
159
+ passed. The exact controller's 40 package modules match the CI wheel. Its new
160
+ code fingerprint is `sha256:a678d2b2649e3479d0049ca0ca8a500aba5bb3f0a59b070cd7aaf5c0c6b466d0`;
161
+ the earlier development image/receipts above are retained as their own evidence.
162
+
163
+ The exact installed release controller exported two new fixture packages:
164
+ `9bc3b4506a3f04c66631e7bcc3617b558879af95ee29f6c3b8fead870826afa7` and
165
+ `7225f7c00f0992c922048608b622eec9a9d6d4b6a1c18049b32c2b5ffba7eb40`.
166
+ Itemarium 0.6.2 again passed all four checks on these exact bytes. Release assets
167
+ `producer-acceptance.json` and `consumer-conformance.json` have SHA256
168
+ `4a8ae9db55757b584b24b9b1602ffe94e566cd4531016a073c7afc31e78f4e48` and
169
+ `af73eba0cee0c447072df269572c22164dd8aca2eb0ea73e2416170056cd4e63`.
170
+
171
+ All 18 original assets were downloaded anonymously and hash/size checked,
172
+ including both image archives; PyPI/RubyGems copies and OCI aliases matched.
173
+ [verification.json](https://github.com/dosquartsdedocs/unaltraweb/releases/download/v0.8.0/verification.json)
174
+ has SHA256 `ec04ac1714a1b00c2f8e14f415e0fb0e21a195e42c5848ce53694ce0b85ed403`.
175
+ The downloaded public wheel was installed in a fresh environment: actual MCP
176
+ discovery reports 65 tools, its bound exporter produces a valid package, and
177
+ Itemarium's independent check passes without importing it.
178
+ [public-installation.json](https://github.com/dosquartsdedocs/unaltraweb/releases/download/v0.8.0/public-installation.json)
179
+ has SHA256 `b94920fd618d50ba384207d3e2a126ccd4b1cf98b697760d4d27c09f6b80cf75`.
180
+
181
+ Post-release verification of the updated checkout pin passes distribution/workflow
182
+ checks, the public-image bootstrap check/smoke and the full local suite: 763 cases,
183
+ 736 passed and 27 skips in that prepared environment.
184
+
185
+ The post-release checkout pin now selects the published 0.8.0 controller. The
186
+ configured hub's immutable `cbb753e4…` controls still admit Web only through 0.7.4;
187
+ this is an observed admission boundary, not a missing producer release. The full
188
+ intake is [gaContExt #54](https://github.com/dosquartsdedocs/gacontext/issues/54),
189
+ alongside Itemarium's separate #52. No hub registry, other client registration or
190
+ real manual was changed here. Source selection, hub admission and live client
191
+ activation remain distinct.
@@ -0,0 +1,130 @@
1
+ # Minimal #121 producer repair: P1 + P2
2
+
3
+ Coordination request:
4
+ `gacontext-itemarium-readiness-20261104-unaltraweb-02290003fd784c20a1659f4f803839ef`.
5
+
6
+ Authoritative workspace: `/home/benizar/git/unaltraweb`. Branch
7
+ `fix/121-context-inputs-html` starts from the preserved review125 at
8
+ `b67a51292f680d3bc0058b272c68116c3fd75bc4`; clean preflight was ELIGIBLE.
9
+ The review branch and experimental116 at
10
+ `6a8cd85ff75c8ad41dc67f8fb1c3c5a8f8919e53` remain intact. No other checkout,
11
+ registry, real manual or teacher bank is modified by this unit.
12
+
13
+ ## Implemented repairs
14
+
15
+ **P1:** `Snapshot.computation_input` validates declared check-only dependencies
16
+ separately from public sources. Only native computation input/environment
17
+ declarations use this path. Existing descriptor-relative no-follow reads,
18
+ per-file/total budgets, complete native status checks and final input/inventory
19
+ rechecks are reused. No rendering or native source execution is introduced.
20
+
21
+ The private practice root stays forbidden to images/includes/outputs, even if a
22
+ caller attempts to name it as the manual collection. Opaque inputs remain outside
23
+ the archive; fingerprints and external retained receipts bind their exact bytes.
24
+ The same role correction supports TIGIT's explicitly declared root environment
25
+ files `Dockerfile.compute-python`, `Dockerfile.compute-r`,
26
+ `requirements-compute.txt` and `requirements-compute.R`. This avoids merely moving
27
+ the first private-data error to the next environment-file error.
28
+
29
+ **P2:** HTML `alt`, `title` and `data-caption-source` values are restored before
30
+ `figure()` stores metadata and computes the ID, just as Markdown attributes were.
31
+ Tests assert exact text and identity stability when unrelated inline code is added.
32
+
33
+ No general Liquid extension, SVG raster policy, QGIS provenance adapter, W1
34
+ integration or Geo collector is included. Existing typed refusal envelopes and
35
+ v1 schema remain unchanged.
36
+
37
+ ## Tests and actual producer/receiver execution
38
+
39
+ - 30 targeted context cases, including private input success, no private payload
40
+ or path leakage, global checking for an unrelated selected chapter, missing/
41
+ changed data, root environment fingerprints, symlink/traversal/hidden-root
42
+ refusals, unchanged 10 MiB reader limit and private-collection refusal.
43
+ - Full local suite during implementation: **771 cases, 743 passed, 28 skips**;
44
+ the final declaration-type regression is additionally covered in the 30-case
45
+ targeted pass. Final-head CI retains the repository-wide gate.
46
+ - `distribution-check`, `workflow-check`, `make mcp-check`, `make mcp-smoke`: PASS.
47
+ Base runtime and PDF toolchain layers were cached; only MCP/package layers and
48
+ small metadata were rebuilt for the successive fixes.
49
+ Disk observation: 15 GiB before, 14 GiB after verification. No global cleanup.
50
+ - The acceptance runner has an explicit `--private-inputs-html` fixture mode.
51
+ It uses synthetic native computation records (not a claim of computation
52
+ rendering), a private input sentinel and the formerly broken HTML caption.
53
+ The **real MCP exporter** creates both transport archives. Assertions inspect
54
+ their exact manifests/closure, restored attributes, absence of private bytes/
55
+ paths/tokens and create-only behavior. A real CLI selects one block as well.
56
+
57
+ Installed candidate controller:
58
+ `sha256:b5b6c1e7816623a63c3340b97195253ff612458cf4b96ed443fafad2a1369bac`.
59
+ Producer version **0.8.1 candidate**, fingerprint
60
+ `sha256:2f82f9adb62a7111229e270772f00c1276ec546e9e42e4ad54e32e86e2a8ebdf`.
61
+ The isolated stdio containers have read-only rootfs, disabled network, no Docker
62
+ socket, and only their synthetic manual mounted. Both close and are confirmed absent.
63
+
64
+ Evidence below `tmp/context-p1p2-acceptance-qualified/`:
65
+
66
+ | Artifact | SHA256 |
67
+ | --- | --- |
68
+ | `producer-receipt.json` | `a610e07bc6a369079406ea93edc02581b2ec6dcbe82506ad314ed0920fec46b6` |
69
+ | `manual-fixture/tmp/manual-context/v1/manual-context.tar.gz` | `8a53b2721e24544ba45ee18b8535f298691cb857054cd7ed12189d610007c971` |
70
+ | `manual-fixture/tmp/manual-context/v2/manual-context.tar.gz` | `971d22218e3b407825643f63e524c6438a378e6a90db624afa689e4b1d66a8b9` |
71
+
72
+ Itemarium's independent source runner 0.6.2 (engine
73
+ `1a8983100c4b0c72bac74912fdde7a4d8ad14ce9970e188f13aae611dbeee813`) consumes
74
+ these exact exporter archives and passes all four checks: integrity/closure,
75
+ isolated import, existing-bank preservation and backup/reopening. Receipt:
76
+ `tmp/context-p1p2-conformance-qualified/receipt.json`, SHA256
77
+ `1660f7c576aa52e6f9fbcb39ec7d15a3a6b3c56b3a8dd63b4e2d1017d24bd9b9`.
78
+ The source-mode preliminary run remains separately retained under
79
+ `tmp/context-p1p2-acceptance-01` / `tmp/context-p1p2-conformance-01`; it predates
80
+ the 0.8.1 metadata and is not relabelled as installed-candidate proof. Intermediate
81
+ `-081` and `-081-final` runs are also retained; the qualified run includes the
82
+ HTML entity-decoding and typed-declaration corrections. Protected HTML entities
83
+ are decoded once without double-decoding surrounding attribute text.
84
+
85
+ ## Reproduction and next intake
86
+
87
+ From this checkout with a prepared Python environment and the candidate image:
88
+
89
+ ```bash
90
+ python scripts/test_manual_context_export.py \
91
+ --output /absolute/unaltraweb/tmp/new-p1p2-acceptance \
92
+ --private-inputs-html --image <exact-prepared-controller-ID>
93
+ ```
94
+
95
+ Feed its returned first/next paths and hashes directly to Itemarium's documented
96
+ `manual_package_conformance.py`, with a fresh output below Web's `tmp/`. Never
97
+ manufacture replacement archives. These tests qualify the implementation; they
98
+ do not substitute for the real TIGIT owner's subsequent export and bank workflow.
99
+
100
+ Source metadata proposes **0.8.1** for package/gem artifact/controller/runtime,
101
+ with publication status `ready` after explicit closeout authorization. The existing public checkout pin stays on
102
+ 0.8.0 until a new immutable publication is verified. Independent selections:
103
+
104
+ - Native Git core `9d97197dec5fc9346ab795191a3afd18884c27fb`, gem **0.7.3**.
105
+ - Workflow `3332e0b93933f12317e05f1ce8d38ce80046feab`.
106
+ - PDF **0.7.1**, OCI `sha256:1bb3f2dafd741e96c28639ec1cc8ccaeb81cbaa73e649f787c0b4ef59997bd4b`.
107
+ - Classic QGIS **0.6.1**, descriptor and controller/engine IDs unchanged.
108
+
109
+ Required next gates: review/integration, exact signed candidates and receipt-only
110
+ publication, cold installed proof, then a new reviewed hub intake. The local image
111
+ is not a published or admitted point. TIGIT keeps its current activated0.8.0
112
+ selection until explicit adoption, and must report a real export's path/SHA/receipt
113
+ or the next exact blocker. No real TIGIT package is claimed by this fixture proof.
114
+
115
+ ## Follow-up review: opaque YAML dependencies
116
+
117
+ PR126 discussion `4471006805` was reproduced on `b582c998`: a declared
118
+ `_practices/course/data/parameters.yml` with valid YAML anchors and a current
119
+ synthetic native computation receipt failed in `Snapshot.copy`. Check-only
120
+ dependencies now pass `opaque=True`; Reader confinement, budgets, hashes and
121
+ final source checks remain shared. Configuration reads still scan YAML even
122
+ when a previous opaque read has already staged the file.
123
+
124
+ The regression exports the anchored dataset without transporting its private
125
+ bytes/path, then rejects its changed fingerprint. A separate regression refuses
126
+ anchors on a configuration read after an opaque copy and in `_config.yml`.
127
+ The installed-export harness also includes anchored YAML alongside the CSV
128
+ input. Full local suite: 774 tests, OK (28 skipped). Earlier candidate hashes
129
+ above remain historical; the changed source requires fresh installed-candidate
130
+ and receiver evidence before publication.