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,99 @@
1
+ # Retained-manifest compatibility — source owner correction
2
+
3
+ This focused follow-up starts from PR134/source
4
+ `0a87bc2d1a8e35a482067afbbe4ea9201c254cad`, whose source and ten CI checks the hub
5
+ independently verified. Its generic intake incorrectly assumed every original
6
+ manifest had `run` and package-local archive/reading references. The genuine
7
+ retained variant uses `file` plus root `reading_receipts`, with source Markdown
8
+ hashes in original pinned PDF worker `original_inputs`, and no original run or
9
+ local-candidate declaration. The consumer's original manifest/request is
10
+ authoritative; the producer correction never rewrites it to match an assumption.
11
+
12
+ ## Corrected local contract
13
+
14
+ The same versioned request/CLI admits two explicit generic reference families:
15
+ package-local archive/reading references and file/root-reading-receipt references.
16
+ Both use unchanged native private-PDF worker schema1, selected artifact/member
17
+ hashes, confinement/copy/no-clobber helpers and private-only artifact plan/stage.
18
+
19
+ Root reading selection uses exact worker/PDF path anchors and requires a unique
20
+ matching original row with the explicit recipient, audience, language, source,
21
+ worker path/hash and PDF hash. A declared job must match the worker directory.
22
+ The source SHA is bound from the pinned original worker, not invented in the
23
+ manifest. Conflicting aliases, partial local refs, duplicates, invalid source/
24
+ worker/PDF/ZIP or recipient/language mappings fail with safe stable codes.
25
+ Unselected teacher/case rows and opaque command/stdout/proof data stay local
26
+ original evidence, never new audiences, instructions or payload requests.
27
+
28
+ New admissions record exact original reference origins and declaration presence.
29
+ Original absent `run` remains absent/unknown; the new snapshot label supplies no
30
+ historical provenance. Human approval stays false, absent `local_candidate` stays
31
+ unknown and original `publishes:false` remains a declaration. Source-free sidecars
32
+ preserve the latter as `original_publishes`, distinct from transport outcomes.
33
+ Original local manifest/worker/proof bytes remain unchanged. Earlier package-local
34
+ admission/stage identity, native editions, request/common product/policy schemas,
35
+ transport/layout and local attempt evidence retain their formats and identities.
36
+
37
+ ## Representative proof
38
+
39
+ Synthetic fixtures use the actual structural differences: only file/recipient/
40
+ SHA/member packages, root original reading builds with opaque command/stdout and
41
+ extra teacher/case rows, no run/local-candidate/source-SHA manifest fabrication.
42
+ They test unchanged request pins/original bytes through PLAN -> SNAPSHOT ->
43
+ private artifact plan/stage -> simulated native authenticated readback. The
44
+ independent common native inspector/named-v1 reader also restores both original
45
+ synthetic PDF/ZIP bytes exactly. Refusals cover ambiguity, aliases, missing/mixed
46
+ refs, role/language/source/worker/PDF/member corruption, safe diagnostics,
47
+ lineage tampering and original-stage compatibility. No real course data is a
48
+ fixture, and no original command/renderer/recovery implementation is executed.
49
+
50
+ Local qualification passes the full **858-test suite (28 skips)**, including
51
+ seven new representative compatibility tests and all original fifteen intake
52
+ cases plus edition/stage/uncertainty coverage. Distribution/workflow/clean wheel,
53
+ MCP check, complete matching MCP/PDF/practice/preview smoke and public docs build
54
+ pass. Factory/installed source code matches package fingerprint
55
+ `3725d26cd7c7645c24946a1b4cd067b896c21b30246cf2841ccb7434ffc6ccae`;
56
+ the matching local PDF builder remains
57
+ `d3d580ef5810383fa195da5633137123f55164b059766950dd204deba01a30bf`.
58
+ These are source/synthetic qualifications, not actual consumer/cloud acceptance.
59
+
60
+ ## Next actual owner rerun
61
+
62
+ The direct owner explicitly intends actual MEGA S4 private archive/recovery.
63
+ The owner reports bucket `geodisseny` already exists with host-authenticated
64
+ private ACL/policy observation and zero artifact writes. Credentials remain
65
+ host-owned. That does not grant this producer task cloud operations or consumer
66
+ edits; only its technical source checkpoint/push/stacked PR is published here.
67
+
68
+ After the hub freezes the corrected public wheel/CLI by exact commit, wheel hash
69
+ and installed package fingerprint, the same existing Geo owner should:
70
+
71
+ 1. Preserve the indexed request/routing entries, prior 42-WIP/77-file work,
72
+ original index and all current handoff bytes/runtime/pins. Reconfirm the same
73
+ request SHA
74
+ `5632c76defb38acec6014c969776cdc855e6e5c7fdda6f765bafe0869293d9e2`
75
+ and the original AMC manifest SHA from the owner phase-A return.
76
+ 2. Run **only the same native read-only plan**, with that corrected frozen CLI:
77
+
78
+ ```bash
79
+ unaltraweb-retained-intake plan \
80
+ --project /home/benizar/git/geodisseny \
81
+ --request .unaltraweb/retained-intake.json \
82
+ --sha256 5632c76defb38acec6014c969776cdc855e6e5c7fdda6f765bafe0869293d9e2
83
+ ```
84
+
85
+ 3. Retain the exact plan/code/request digest and original-reference/declaration
86
+ report. Inspect its selected student PDF/ZIP, pinned original worker/source/
87
+ member/evidence bindings, absent run/candidate state and false approval/
88
+ original publication claim. Any further refusal remains a precise producer
89
+ compatibility/reference gate; never normalise/rewrite/repackage the consumer.
90
+ 4. Snapshot, artifact stage and actual cloud upload/readback remain separately
91
+ explicit actions after their reviewed exact digests and the host project
92
+ binding. This source unit performs none of those actual consumer/cloud steps.
93
+
94
+ Exact corrected source/PR/CI/package/schema/CLI hashes, synthetic complete-path
95
+ proof, previous-return preservation and remaining real-plan/readback gates are
96
+ returned in the new ignored
97
+ `sandbox/coordination/web-retained-compatibility-return.json`. No merge, release,
98
+ tag, image publication, deployment/client/runtime cutover or new SSH repair script
99
+ is inferred from source-first public-wheel qualification.
@@ -0,0 +1,117 @@
1
+ # Retained paired-output private intake — source owner unit
2
+
3
+ ## Direct purpose and scope
4
+
5
+ The direct owner chooses **Arxiu privat primer**: authenticated private archive/
6
+ recovery of PDF/ZIP, preserving actual editorial state and beginning with a small
7
+ pilot. The retained decision is in the hub's
8
+ `sandbox/coordination/private-manual-archive-owner-decision.md`. It selects no
9
+ credentials, public delivery, scientific validation or human content approval.
10
+
11
+ The same Web checkout/session continues from
12
+ `6ee67a05d31dc8ce1ba551ebbbaa6e1c5348491b`. This bounded source unit adds a generic
13
+ paired-handoff request/plan and local snapshot admission, then reuses per-artifact
14
+ private planning/staging and the existing transport/attempt evidence. It creates
15
+ no project-specific GIS/export/restore engine. TODO WIP and PR129–133 sources stay
16
+ preserved; review/publication uses exact existing-WIP checkpoint authority.
17
+
18
+ ## Evidence and truthful admission
19
+
20
+ The owner intake describes genuine current flat pairs and a project-local
21
+ untyped manifest. Activity and handoff slug can differ; both are explicit. The
22
+ request pins original manifest, ZIP/PDF, selected worker output key/receipt,
23
+ reading member, optional sources and separately selected retained metadata proof
24
+ records. It never discovers aliases, a missing `sealed.json` or an inferred proof
25
+ path. Hash-only/older proof claims remain unresolved/inherited. Native PDF worker
26
+ schema1 receipts are original evidence, never relabelled as edition receipts.
27
+
28
+ The read-only plan freshly checks raw byte/size/reference pins and ZIP member
29
+ inventories/content hashes via the shared bounded composer verifier, without
30
+ extraction or GIS work. PDF header/original worker-seal references are checked;
31
+ PDF semantics, renderer/effective-source/factory and scientific claims are not
32
+ recertified. Optional source pins are inspected, not copied/exported. No script,
33
+ hook, network, auth, render, runtime or catalogue workflow is delegated.
34
+
35
+ A separately explicit expected-plan-bound snapshot installs selected original
36
+ PDF/ZIP bytes and bounded necessary local metadata only in an ignored private
37
+ namespace, preserving names/internal ZIP roots and original lineage. It emits a
38
+ new typed private handoff admission and one new per-selected-output artifact
39
+ receipt. It preserves false/unknown human approval, original candidate/history
40
+ claims and explicit no-intake-approval/no-scientific-validation state.
41
+
42
+ The new receipt is private-archive-only in existing per-artifact plan/stage:
43
+ private S3 plus authenticated-private-v1, same native consumer repository bucket
44
+ rule and explicit student/teacher mapping. Source-free remote sidecars retain
45
+ original editorial values but no private bodies/paths/raw receipts/renderer data.
46
+ Common product/policy schemas, native editionv1 and existing staged identities
47
+ retain their formats. Actual publish/auth remains a later explicit operation.
48
+
49
+ ## Exact next Geodisseny owner action
50
+
51
+ Historical first-intake steps below preceded the real owner reservation. The
52
+ subsequent producer compatibility correction and **same already-indexed request**
53
+ rerun are recorded in [retained-compatibility.md](retained-compatibility.md).
54
+
55
+ 1. In the existing Geodisseny owner workspace, inspect its selected current
56
+ handoff/proof inventory and choose **one small current handoff**, initially a
57
+ student guide or one pair; do not reserve all eight or copy source trees.
58
+ 2. Create/version an exact request using the newly reviewed schema/source CLI.
59
+ Declare native `origin` / `github.com` / `geourv/geodisseny`, the actual flat
60
+ handoff slug, distinct manifest activity and language. Pin real original
61
+ manifest/output/checksum/worker/evidence bytes and select exact worker PDF key
62
+ and ZIP reading member from their original declarations. No guessed concrete
63
+ proof/receipt path is supplied by this source unit.
64
+ 3. Keep `human_approved:false`, candidate/history and incomplete/inherited proof
65
+ state. Select any retained current-handoff/stronger proof records independently
66
+ by exact paths/hashes; do not replace older manifest claims or fabricate seals.
67
+ Optional original/retained reading source bytes may be pinned explicitly;
68
+ omitted source freshness remains inherited rather than manufactured.
69
+ 4. Run the public local `plan` against the exact reviewed request hash. Review its
70
+ byte/reference/member checks, limits, explicit selections, unresolved claims
71
+ and plan digest. Any unsupported names/compression/size or missing selected
72
+ input is a precise admission gate, never permission to rename/repackage data.
73
+ 5. Only after that owner review explicitly apply `snapshot` with that digest and
74
+ inspect the returned new per-output receipts and copied byte identity. Preserve
75
+ the original current handoff/source/proof tree. Plan/stage can then select those
76
+ receipts for a private archive with bucket `geodisseny`; no version-folder
77
+ migration or original deliverable rename is required.
78
+ 6. Separately select actual project bucket/auth binding and reviewed artifact
79
+ stage before any later real private upload/readback/ACL/authenticated recovery.
80
+ A containing reviewed source/runtime/workflow installation and source
81
+ integration/release decision remain distinct from this local-only interface.
82
+
83
+ TIGIT/TIG likewise need retained native outputs before this intake class can be
84
+ selected. No actual Geodisseny PDF/ZIP/source is a test fixture or modified here;
85
+ there is no consumer config/scaffold/runtime or companion-pin adoption, bucket/
86
+ credential selection, real S4/Meum operation, public URL/Moodle/CV/site delivery,
87
+ merge/tag/release/image publication or SSH-repair script in this source unit.
88
+
89
+ Exact source/PR/CI/schema/CLI/synthetic private-archive proof/checkpoint evidence
90
+ and remaining real-pilot gates are returned in the new ignored
91
+ `sandbox/coordination/web-retained-private-intake-return.json`.
92
+
93
+ ## Local verification
94
+
95
+ - Full required source suite: **851 tests, 28 explicit skips**, including fifteen
96
+ new synthetic intake cases. They cover flat names/distinct activity-handoff
97
+ identities, explicit PDF/ZIP/recipient selection, stable read-only plan, exact
98
+ original/snapshot bytes, false/unknown editorial and incomplete proof truth,
99
+ private-only stage/readback, laundering/corrupt/reference/input/plan refusals,
100
+ central-directory allocation and member/path/link/budget limits, no-clobber,
101
+ symlink/source change, retained recovery after hot inputs disappear and
102
+ source-free remote metadata. No actual Geodisseny output/source is a fixture.
103
+ - Distribution, workflow, clean wheel, CLI help, whitespace and docs checks pass.
104
+ The request schema is read over real MCP stdio in the matching source image.
105
+ - Independent native common inspector/named-v1 authenticated reader reconstructs
106
+ an admitted synthetic student PDF and ZIP exactly through the existing private
107
+ transport. New receipt/plan/admission hashes are observed, human approval stays
108
+ false, original proof references stay inherited/unresolved and local source/
109
+ evidence bodies never enter product sidecars or remote records.
110
+ - Source-containing local MCP check and complete MCP/PDF/practice/preview smoke
111
+ pass using matching builder SHA
112
+ `d3d580ef5810383fa195da5633137123f55164b059766950dd204deba01a30bf`.
113
+ Earlier mismatched published-worker evidence and companion pins stay separate.
114
+
115
+ These are source/synthetic qualifications. Actual committed-tree CI and exact
116
+ published review refs are recorded in the owner return; no containing released
117
+ runtime, actual project credential or real archive upload is inferred.
@@ -0,0 +1,103 @@
1
+ # Retained original-reference variants — same owner batch
2
+
3
+ This unit begins only after the original-private-archive unit explicitly completed
4
+ and its new return was validated. Fresh same-session idle/source review confirms
5
+ PR137/head `04aeda352773c7e2ff55a1b8545d1a694da3482b`, ten green checks, sole
6
+ unrelated TODO WIP and the same checkout/branch. No extra session/agent dispatch.
7
+
8
+ ## Bounded observed gaps and generic interpretation
9
+
10
+ Owner metadata/native execution witnesses for seven exact retained requests show:
11
+
12
+ - Four accessibility/intervisibility packages declare `role`, `archive`,
13
+ `reading_receipt` and `reading_receipt_sha256`, no package reading source/hash.
14
+ - Autocorrelation/interpolation declare `recipient`, `archive`, `reading_receipt`
15
+ and `receipt_sha256`, likewise retaining source hashes in original workers.
16
+ - Statistics is otherwise canonical package-local, but original `reading_sha256`
17
+ denotes delivered PDF bytes, not Markdown. Original worker `original_inputs`
18
+ independently retains Markdown. Preserve both values/origins, never substitute.
19
+
20
+ The owning implementation adds only explicit original field support: recipient/
21
+ role and worker-path/hash aliases must all agree with the exact request/worker;
22
+ original source/hash absence remains absence. Markdown comes from the pinned
23
+ worker. A declared reading hash must match exactly one of the independently bound
24
+ PDF/source hashes; neither/ambiguous refuses. Existing PDF/ZIP/member/worker/
25
+ source/recipient/language/privacy/claim/no-clobber bindings and scripts-as-data
26
+ rules remain strict. Safe reference diagnostics retain no original bodies.
27
+
28
+ New variant projections identify exact original field/JSON pointers and reading
29
+ hash semantics. Existing canonical Markdown/root-reading projections are unchanged;
30
+ old receipts/admissions/staged producer/manifests, AMC two files-v1 stages and the
31
+ original-archive class stay their original formats. No paired refusal becomes a
32
+ passed original-archive request. No consumer normalization, ZIP repackaging,
33
+ renderer/GIS/uploader/recovery engine or cloud/runtime/client migration.
34
+
35
+ True statistics identity is **estadistica-espacial-descriptiva**; it is not a
36
+ `geoestadistica-constanti` alias. Other actual handoff/activity aliases remain the
37
+ two exact identities already declared by their requests; original folders/ZIPs
38
+ are preserved. Structural/pin/native witness metadata alone is inspected under
39
+ the owner retained directory, not teacher/source/proof bodies or real ZIP fixtures.
40
+
41
+ ## Existing original-archive coverage for the TIGIT starter
42
+
43
+ The published original-archive class already handles a reader-downloadable student
44
+ asset, no PDF/teacher package, three files/seven safe empty directory entries and
45
+ an original XLSX supplied as bytes. New synthetic coverage proves that path with
46
+ 13 workbook sheets/zero formulas without recalculation or new native/scientific/
47
+ offline approval. Caller role may explicitly be student, language/approval remain
48
+ unknown. Private archival destination/snapshot metadata does not relabel the
49
+ original public asset or modify its site visibility. No original-archive API/code/
50
+ schema change or replacement authored practice is required for this coverage.
51
+
52
+ ## Exact owner follow-up, after corrected public CLI freeze
53
+
54
+ The same Geo owner retains the seven request bytes and native witnesses under
55
+ `sandbox/coordination/remaining-practices-mega-zip-only-v1/`; the batch return SHA
56
+ is `e4dea0d671bb644d583d57fffe19c3b7dc8257a6b67e7c1eb1b302d28a105356`.
57
+ All fourteen original ZIP/PDF/member/worker/source pins and initial sixteen
58
+ containment proofs remain owner evidence, not re-certified by this source unit.
59
+
60
+ 1. Independently review/freeze this immutable corrected public source/wheel/CLI
61
+ and verify installed code fingerprint. Keep Geo's old frozen producer/stages
62
+ until explicitly selected for this read-only batch qualification; no global
63
+ runtime/client cutover or release is implied.
64
+ 2. In the SAME Geo owner session, reserve each SAME retained request into the
65
+ already-authorized versioned `.unaltraweb/retained-intake.json` byte-for-byte
66
+ with its original SHA, preserving prior config/index/WIP using the established
67
+ exact reservation. Existing execution witnesses use this active control path;
68
+ the archived sandbox JSON paths are not substitutes for versioned-source checks.
69
+ 3. Re-run native `unaltraweb-retained-intake plan --project /home/benizar/git/geodisseny
70
+ --request .unaltraweb/retained-intake.json --sha256 EXACT_SAME_REQUEST_SHA256`
71
+ for the seven actual slugs, especially `estadistica-espacial-descriptiva`.
72
+ Capture exact request/source/code/plan digests and original role/worker/hash
73
+ origin projections, false/unknown original claims and explicit aliases.
74
+ 4. Any refusal is a precise reference/source gate. Preserve hashes/bytes and do
75
+ not rewrite fields/families, manufacture admissions, bypass PLAN or fall back
76
+ to original-archive. Only later separately reviewed expected-plan snapshots,
77
+ stages, auth/publication/readback/recovery are actual owner actions.
78
+
79
+ TIGIT owner independently selects its genuine known-role public starter with exact
80
+ original pin and unknown original language/approval, using the already-published
81
+ original-archive plan and private local snapshot semantics. Do not fabricate a PDF,
82
+ teacher package or different handout, or change original asset visibility.
83
+
84
+ Synthetic complete PLAN -> SNAPSHOT -> private files-v1 native publish/verify ->
85
+ existing common LOCAL-inventory fetch covers all three paired variants, both ZIP
86
+ recipients, exact original/embedded PDF/source hashes and scripts-as-data. Old
87
+ projection/stage identity and alias/hash/projection/body/source refusals are tested.
88
+ Precise source/PR/CI/package/CLI/schema, synthetic witnesses, untouched old scopes
89
+ and all seven original request pins are recorded in the new ignored
90
+ `sandbox/coordination/web-retained-variant-batch-return.json`.
91
+
92
+ Local qualification: **887 source tests, 28 skips**, including seven new paired
93
+ variant cases and one added original-public-student/empty-directory case. Source
94
+ first full wheel/CLI/distribution/workflow, real MCP discovery, matching complete
95
+ MCP/PDF/practice/preview smoke, docs and whitespace checks pass. Source/factory/
96
+ installed dev code matches
97
+ `be060740300c9251c3a60f1b5069bc26147b4bb9880a8aa6a5b6d44c1ad85c32`.
98
+ The existing builder tuple stays
99
+ `d3d580ef5810383fa195da5633137123f55164b059766950dd204deba01a30bf`.
100
+ Independent common files-v1 fetch proves both ZIP recipients for each of all three
101
+ synthetic shapes, preserving exact original/embedded PDF bytes; existing original
102
+ archive class likewise fetches the public-source synthetic starter unchanged.
103
+ No real paired PLAN/admission/stage/cloud result is inferred from these fixtures.
@@ -0,0 +1,66 @@
1
+ # Web 0.9.0 software integration
2
+
3
+ Owner authorization: 2026-11-23, producer issue 98. This is a new additive
4
+ software release candidate, not a replacement of immutable public 0.8.1.
5
+
6
+ ## Integrated source scope
7
+
8
+ The original histories of PR129 and the dependency-ordered PR130–139 stack are
9
+ retained. Shared packaging/workflow conflicts preserve both implementations and
10
+ their refusal tests:
11
+
12
+ - Optional, expiring release-candidate transport with exact Actions artifact-ID
13
+ readback. Its S3 qualification remains separate from durable practice products.
14
+ - Explicit hash-pinned early input preparation and tabular edition v2 without a
15
+ fabricated GIS or spreadsheet-calculation claim.
16
+ - Repository-bound per-artifact private delivery, retained local uncertainty
17
+ evidence, explicit files-v1, paired retained intake and honest original ZIP
18
+ admission. Original names, bytes, hash origins, recipient bindings and failed
19
+ attempts remain authoritative.
20
+ - The excluded-private-source snapshot correction from issue 114.
21
+
22
+ The public command interfaces are the original reviewed
23
+ `unaltraweb-prepare-inputs`, `unaltraweb-candidate-storage`,
24
+ `unaltraweb-practice-artifacts`, `unaltraweb-retained-intake` and
25
+ `unaltraweb-original-archive`. No alternative uploader, artifact engine or
26
+ recovery implementation is introduced.
27
+
28
+ ## Candidate and tuple boundary
29
+
30
+ The canonical BOM selects the software version. Candidate images and packages
31
+ must pass the existing protected source checks and signed candidate procedures;
32
+ this document alone claims no native acceptance, publication or installation.
33
+
34
+ The initial signed candidates from `987412c72bee7f643125c5d7ce2cb1ee75416360` passed image workflow
35
+ 45185571925, including exact provenance, Ruby/PDF/MCP/docs tests and digest
36
+ promotion. The selected new PDF is `ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:38f62cba21cd2b50a3512bd00743a3a8413c89b99f51b55d1bb47d1bb72bad3c`,
37
+ producer `987412c72bee7f643125c5d7ce2cb1ee75416360`, native source version 0.9.0.
38
+ It is not the old 0.7.1 worker. Its record ancestor `7db24abf329ad46395e20665ad718a449b906a1f`
39
+ is the independent reviewed core/workflow selection and native gem 0.9.0.
40
+ Final core/package candidates, the receipt-only commit, annotated tag and
41
+ trusted publication remain required; initial MCP bytes are not the final tuple.
42
+
43
+ Unchanged compute Python/R, capture, classic private QGIS and visual-helper
44
+ selections retain their own actual versions and identities. SDK/W1/H2 and full
45
+ managed-helper adoption are not silently included.
46
+
47
+ ## Pending naming and entrypoint work
48
+
49
+ The owner's intended English technical source directory is `practices/`.
50
+ Reviewed existing code and original records still use `practiques/`, with
51
+ explicit `_practices/` legacy mappings. Issue 140 contains the earlier naming
52
+ proposal and its recorded discrepancy. A compatible producer correction and
53
+ separately reserved consumer plans are required; this integration does not
54
+ rename originals, sealed runs, ZIP members, receipts or remote keys.
55
+
56
+ Thin manual Make facades and a factory-free installed context-export closure
57
+ remain a separate bounded delta. Existing original-archive and retained-intake
58
+ CLI domains and guards are preserved rather than replaced.
59
+
60
+ ## Downstream boundary
61
+
62
+ Publishing this software does not edit manuals, hydrate real course inputs,
63
+ approve teaching prose, upload teaching S4 objects, migrate a consumer, change
64
+ its pins, reconnect clients or deploy Pages. The hub receives immutable software
65
+ pins and the actual validation limits after publication; each adoption remains
66
+ explicit.
@@ -0,0 +1,88 @@
1
+ # WEB-B — practice requirements reconciled with c87ac4f4
2
+
3
+ This is a technical adoption map, not approval or publication of teaching copy.
4
+ The authoritative source baseline is `c87ac4f4f6e299c3846ae0bd5cd17ca1b981b420`.
5
+ No consumer checkout, retained dataset, manual, client configuration, runtime pin,
6
+ or private provider was edited during this audit.
7
+
8
+ ## Evidence inspected
9
+
10
+ - [Web #98](https://github.com/dosquartsdedocs/unaltraweb/issues/98), including
11
+ [6155003975](https://github.com/dosquartsdedocs/unaltraweb/issues/98#issuecomment-6155003975),
12
+ [6155247851](https://github.com/dosquartsdedocs/unaltraweb/issues/98#issuecomment-6155247851),
13
+ and [6178087168](https://github.com/dosquartsdedocs/unaltraweb/issues/98#issuecomment-6178087168).
14
+ - [TIGIT #14](https://github.com/geourv/tigit/issues/14), latest owner delivery
15
+ report [6277044214](https://github.com/geourv/tigit/issues/14#issuecomment-6277044214).
16
+ Read-only remote revision `7a8b314d743b62699232c66d7024387f86f59281`:
17
+ `context/practice-migration.md` and
18
+ `practiques/tigit-projecte-territorial/recursos.yml`.
19
+ - [Geodisseny #9](https://github.com/geourv/geodisseny/issues/9), read-only remote
20
+ revision `10990377aa9ac5983af0f92055debfd73a4e5456`:
21
+ `context/practice-tools-handoff.md` and
22
+ `practiques/accessibilitat-vilaseca/recursos.yml`.
23
+ - TIG read-only remote revision `c045d46a8e7139adf9f060eeeaf4e47781dfd355`:
24
+ `context/practice-tools-handoff.md` and `context/practice-retention.json`.
25
+ - Current `practice_pdf.py`, `practice_editions.py`, edition v1 schema,
26
+ `editorial_sources.py`, source-CI, reusable deploy/release workflows, package
27
+ scaffolds, native verifier descriptor, and the pertinent Python/protocol tests.
28
+
29
+ The older handoffs describe rc/candidate processes and earlier selections. They
30
+ are retained evidence, not the currently published Web release or a new QGIS
31
+ admission. This change preserves the baseline's independently selected private
32
+ QGIS 0.6.1 verifier and accepted `qgis-practice-v1` / `qgis-practice-v2` profiles;
33
+ the QGIS development refactor is not adopted as a runtime.
34
+
35
+ ## Requirement map
36
+
37
+ | Demand | Baseline finding | This unit / remaining owner work |
38
+ | --- | --- | --- |
39
+ | TIGIT's ignored inputs must exist before Quarto/Vega/PDF freshness. | `build-command` still runs after those gates. No early preparation interface exists. | New explicit hash-bound `prepare-inputs` + `prepare-inputs-sha256` deploy pair, and underscored equivalents for stable release. Provider-owned hydration runs before gates, never instead of them. |
40
+ | Reconstruct data outside Git, preserving pinned provenance. | TIGIT already has a tested preparer and an immutable manifest: 21 files, 7,759,191 bytes, historical commit `715944fc…`. Its 13 transitional inputs feed 23 Quarto sources and one Vega source, producing 33 figures. | The `immutable-github-files-v1` adapter reuses that inventory shape and reads its exact bytes via an explicitly hash-pinned top-level plan. No copy of the preparer or statistical/GIS/workbook execution is added. Owners still select the exact input subset/snapshot, update sources and regenerate their own locks/receipts before retiring the 13 inputs/initial ZIP. |
41
+ | Tabular editions without a fake GIS descriptor. | Edition v1 still requires `gis`; `resources` only covers explicit editable-SVG closure. Existing standalone PDFs and arbitrary ZIP helpers do not provide a tabular composition contract. | Additional explicit edition **v2 `mode: tabular`**, with file ID/path/destination/hash/size/role/recipient selection. Reuses native approved-reading/PDF seals, ZIP copy/verification and no-clobber delivery. No QGIS or workbook calculation. GIS v1 schema is unchanged. |
42
+ | Sources at `practiques/<slug>/`, ignored retained work and deliveries. | Implemented, including exact path policies, Git checks, Jekyll exclusions and no-clobber PDF/edition installation. Legacy mapped `_practices` readings remain supported. | Preserve these boundaries; add a project-owned input plan and explicit local preparation facade. No directory migration or cleanup in consumers. |
43
+ | CA/ES/EN reading basenames and recipient-specific sources. | Already `ca/LLEGIU-ME`, `es/LEEME`, `en/README` beneath `alumnat` / `docent`, with canonical validation and explicit legacy mappings. | Retained, with CA/ES/EN fixtures for v2 composition and paired PDF/ZIP contents. No new audience or language naming convention. |
44
+ | Geodisseny initially requested `GUIA.pdf`. | The later common #98 contract and existing author sources use `LLEGIU-ME.md/.pdf`, with Spanish/English equivalents. | Keep the later accepted common convention; do not introduce an unversioned `GUIA.pdf` alias or rename authored files. Any additional human delivery alias is an owner selection, not a core rewrite. |
45
+ | #98's early examples named outer `alumnat.zip` and `docent.zip`. | The shipped composer retains `<slug>[-docent]-<version>-<lang>.pdf/.zip`; each ZIP contains the language-specific reading basename. | Preserve the shipped versioned outer names and independent byte-identical PDF, under `dist/practiques/<slug>/<version>/<lang>/`, with external receipts. No flat latest-only replacement. |
46
+ | Separate initial student materials from resolved teacher material. | GIS closure enforces producer roles; current TIGIT owner also explicitly wants selected resolved workbooks as labelled student demonstrations. | V2 rejects `resolved-workbook` for students; `demonstration-workbook` requires a separate explicit owner selection/recipient label. Byte checking does not assert that workbook contents are pedagogically appropriate or semantically valid. |
47
+ | Geodisseny: initial/teacher portable GIS, captures, fonts and sidecars. | Producer v1/v2 closure, SVG dependencies, original PDF seals, recipient bindings and native profile identity already exist. The provenance manifest still contains live/statistical URLs without a complete immutable hash/size inventory. | No GIS/schema/provider reimplementation. Owners must qualify original/normalised bytes, full producer closure and extracted-packet reopening. The new fetch profile must not pretend that a WMS/live URL is an immutable snapshot. |
48
+ | TIG: ignored input, initial/resolved project closure and font. | Retention index names a hash-bound local input and complete historic native bundle. Handoff reports missing final practice editions/approval at that observation. | Keep exact local bytes, native check/reopen and explicit reading bindings. No new data generation, reinterpretation of a historic candidate, or automatic final edition. |
49
+ | Source-CI must stay source-only. | Current conservation/prose policy intentionally does not acquire datasets or render. | Unchanged source-CI workflow; regression asserts it never calls the new preparation path. Explicit local/deploy hydration is a different operation. |
50
+
51
+ ## Adoption contract
52
+
53
+ The public API is `unaltraweb_mcp.input_preparation.prepare(project, config,
54
+ sha256, allow_fetch=False, check_only=False)` and installed
55
+ `unaltraweb-prepare-inputs`. The optional plan uses
56
+ `input-preparation-v1.schema.json`; `web://input-preparation-schema` exposes those
57
+ exact package bytes. Empty plans are no-ops. The only acquisition profile accepts
58
+ public GitHub raw files bound to a full commit, exact prefix, per-file SHA and
59
+ size. It refuses redirects, moving refs, commands, symlinks, missing exclusions,
60
+ unignored/versioned outputs, changed snapshots and changed control hashes. Failed
61
+ attempts remain retained; successful bytes are independently read back. Existing
62
+ identical snapshots can be checked/reused without rewriting consumer receipts.
63
+
64
+ `web://practice-edition-schema` remains the original GIS v1 schema;
65
+ `web://practice-tabular-edition-schema` exposes the additional v2 schema. The
66
+ existing `manual_practice_compose` API/CLI accepts either version explicitly.
67
+ No extra runtime profile is silently inferred. Returned tabular verification
68
+ states its actual byte/size/recipient scope rather than attributing a GIS seal.
69
+
70
+ Consumers must explicitly adopt reviewed source/workflow/runtime revisions that
71
+ contain these APIs, reconcile local scaffold edits, bind their approved manifests,
72
+ and verify a clean checkout hydration followed by native freshness/PDF/build
73
+ checks. For the shared workflow helper, the defining immutable provider revision
74
+ is checked out, so an older consumer gem cannot supply a substitute preparer.
75
+ The generated local Docker facade requires an independently approved updated image;
76
+ its currently accepted pin is not advanced here. Reconnection and helper pin
77
+ selection remain owner/coordinator work.
78
+
79
+ ## Verification and qualification limits
80
+
81
+ Synthetic tests cover immutable-input hydration/readback/reuse, source/config
82
+ hashes, absent/corrupt/denied inputs, retained partial attempts, path/Git/Jekyll
83
+ boundaries, and no consumer-code execution. CA/ES/EN composition fixtures exercise
84
+ real ZIP/PDF copying and receipts with a synthetic native-PDF build boundary.
85
+ Existing GIS/profile, private-resource, original-seal and protocol tests remain.
86
+ Local tests do not claim real statistical acquisition, workbook calculation,
87
+ private GIS verification/reopening, teaching review, or Moodle/Pages publication.
88
+ Those are exact pending qualification gates, not bypassed checkers.
@@ -0,0 +1,126 @@
1
+ # Minimal S4/manual readiness — owner continuation
2
+
3
+ ## Source and authority
4
+
5
+ This unit continues the existing Web owner checkout on
6
+ `feat/web-b-practice-preparation-v1`, from `7bcd48f8900c059c465e29fffc55a62fe0b957fb`.
7
+ The owner authorises tested technical commits, push and PR through the explicit
8
+ existing-WIP checkpoint protocol. The first verified checkpoint is
9
+ `b9b05b18ef1d9e42bc30b1f83d5fdeab1eb8bb30`: 22 storage-related paths selected,
10
+ all 25 WIP entries preserved, empty final index. `TODO.md` and the #114
11
+ `manual_release.py` / `test_manual_release.py` changes remain separate WIP.
12
+
13
+ PR129 owns temporary candidates; PR130 owns early preparation/tabular editions.
14
+ This storage source is a stacked review unit based on PR130's exact source, with
15
+ its route v2 delta in a separate commit. Its shared packaging/Make/MCP/docs
16
+ touchpoints require explicit integration; neither a combined runtime nor consumer
17
+ adoption follows from the source review. The checkpoint/publication procedure
18
+ keeps this checkout on its existing local branch/worktree and retains other WIP.
19
+
20
+ ## Bounded implementation
21
+
22
+ The existing publication/transport adapter remains authoritative. Route v2 adds:
23
+
24
+ 1. Explicit `consumer_repository: {remote, host, repository}` verified against
25
+ native local Git remote URLs through the existing confined Git/root helpers.
26
+ Selected S3 bucket equals the **exact repository slug**, independently of
27
+ physical checkout name, logical `project_id`, public target repository or
28
+ prefix. Missing/multiple/conflicting identities have stable diagnostic codes;
29
+ no bucket normalisation or core-repository fallback is admitted.
30
+ 2. Per-artifact `storage_profile`. `authenticated-private-v1` requires private
31
+ bucket ACL/policy and authenticated SHA/size/MIME/Content-Disposition plus
32
+ native object ACL for outputs, metadata and both manifests. It emits no public
33
+ URL and claims no anonymous qualification. It never sends an unsigned object
34
+ request or requires a MEGA account identifier. `anonymous-delivery-v1` retains
35
+ exact public anonymous bytes/headers and actual private URL denial; arbitrary
36
+ HTTP 400, including the observed S4 SigV4 error, fails that qualification.
37
+ 3. Explicit retained-stage planning/transfer by the original manifest SHA. Old
38
+ producer revision and exact manifest/output bytes are validated and retained
39
+ when the control plane or route/profile changes. The frozen common product/
40
+ policy schemas and original Web route v1 schema are not rewritten.
41
+
42
+ The owner's Meum host evidence already distinguishes authenticated S4 API storage
43
+ from disabled/account-routed object URLs. This unit uses that requirement and
44
+ offline tests; it performs **zero real S4 endpoint operations** and imports no
45
+ Meum/hub credentials. Native named-v1 filenames, headers and canonical restore
46
+ manifest stay compatible with the existing authenticated common reader. Web does
47
+ not label this projection `files-v1` or introduce a domain/restore engine.
48
+
49
+ ## Read-only consumer intake matrix
50
+
51
+ | Consumer | Observed source | Expected bucket | Current intake | Next native gate |
52
+ | --- | --- | --- | --- | --- |
53
+ | TIGIT (`geourv/tigit`) | `7a8b314d743b62699232c66d7024387f86f59281` | `tigit` | Resource/source list exists; no current `dist/practiques` tree. | Owner prepares exact inputs/readings and a native sealed edition before selecting PDF/ZIP outputs. A resource list is not a closed product. |
54
+ | TIG (`geourv/tig`) | `c045d46a8e7139adf9f060eeeaf4e47781dfd355` | `tig` | No current `dist/practiques` tree. | Owner completes native reading/edition preparation from the retained inputs/proofs, then byte/recipient/extracted-packet acceptance. |
55
+ | Geodisseny (`geourv/geodisseny`) | `7b1c4fcd3e21062c7be19e322a000170cf9b0ba0` | `geodisseny` | Eight simple current practice directories, 56 files at `dist/practiques/<activity>/ca/`. Existing untyped local `manifest.json` is **not** Web edition receipt v1. | Separate bounded native intake/resealing contract preserving original ZIP/PDF bytes, historical proof, recipient mapping and author-approval state. |
56
+
57
+ All three currently select MCP 0.7.4 / PDF worker `1bb3f2da…`, lack the new route
58
+ configuration and artifact plan/stage Make facade, and need an explicit reviewed
59
+ runtime/config adoption. Read-only remote metadata identifies their `origin` as
60
+ the corresponding consumer repository. No consumer source, config, ignore rule,
61
+ Makefile, runtime pin or teaching output is changed by this unit.
62
+
63
+ Geodisseny's current seven-file layout is `<activity>.zip`,
64
+ `<activity>-docent.zip`, `LLEGIU-ME.pdf`, `LLEGIU-ME-docent.pdf`,
65
+ `ENUNCIAT-MOODLE.md`, `manifest.json`, `SHA256SUMS`. Its manifest contains activity,
66
+ version, run, packages with recipient/archive/member/reading/PDF-receipt hashes,
67
+ proof/proof hash, Moodle statement hash, `human_approved`,
68
+ `exact_historical_bundle` and `local_candidate`. Read-only metadata reports
69
+ `human_approved:false` in all eight current manifests. These files/proofs must not be renamed,
70
+ repackaged, given forged Web receipt kinds, or treated as a GIS/author approval.
71
+
72
+ The smallest follow-up is an owner-approved **native common Web intake** design
73
+ for existing paired outputs: validate the exact retained manifest/proof/reading
74
+ seals and recipient ZIP closure, establish an explicit version identity and
75
+ retained typed receipt beside the originals without changing their bytes. Native
76
+ GIS verification and human approval remain their owners' gates. Until that
77
+ interface is separately agreed/tested, this Web planner deliberately refuses
78
+ the untyped simple manifest. It does not invent a Geodisseny-specific engine.
79
+
80
+ ## Priority and adoption order
81
+
82
+ 1. Resolve build blockers and qualify a **matching** source-containing MCP/PDF
83
+ tuple before consumer cutover. The #114 excluded-private-socket correction is
84
+ preserved as separate local WIP; the earlier published-PDF/checkout builder
85
+ mismatch remains recorded in `practice-artifact-storage-review.md`.
86
+ 2. Prepare/admit closed native practices and resolve required author/recipient
87
+ review. These inputs are more urgent than an upload for the three consumers.
88
+ 3. Integrate/test/release the reviewed Web source through the ordinary owner
89
+ process; companion/QGIS closure and Diavisuals selections have their own gates.
90
+ 4. In a separate scoped operation select the repository-named bucket, project-
91
+ scoped credentials and actual retained artifacts; qualify authenticated readback,
92
+ headers, private native ACL and restore. Select public object links only after
93
+ their independently authorised exact anonymous qualification. Storage success
94
+ does not update a catalogue, approve teaching material or imply a public URL.
95
+
96
+ No merge, tag/release, runtime/client cutover, bucket creation, real practice
97
+ upload, public teaching/CV/site delivery or SSH repair is authorised by this unit.
98
+ Actual source/PR/CI/test/schema/CLI pins and remaining gates are returned in the
99
+ new ignored `sandbox/coordination/web-s4-manuals-readiness-return.json`.
100
+
101
+ ## Local verification
102
+
103
+ - Full required source suite: **821 tests, 28 explicit skips**. Ten additional
104
+ native/offline regressions cover exact repository buckets, missing/ambiguous/
105
+ mismatched/core identity, protocol spelling without bucket normalisation,
106
+ explicit private capability, PDF/ZIP readback, actual ACL/header/byte failures,
107
+ raw API 400 refusal, preserved v1 stage identity and untyped intake refusal.
108
+ - Real pinned Botocore model/Stubber exercises authenticated conditional PUT,
109
+ exact GET metadata and GetObjectAcl. No real storage endpoint is contacted.
110
+ - Distribution, workflow, wheel and whitespace checks pass. Public Python CI now
111
+ installs the optional artifact SDK so this model case runs there as well.
112
+ - Independent common product/destination inspection accepts mixed GitHub/S4
113
+ artifacts. The existing native common S3Store/named-v1 fetch reconstructs two
114
+ ZIPs and one private practice PDF in new temporary roots, with exact manifests,
115
+ metadata and files, while object-URL methods are explicitly unavailable.
116
+ - Source-containing local `mcp-check`, real MCP/PDF/practice/preview smoke and
117
+ `docs-build` pass. The MCP image layers current source on the reviewed 0.8.1
118
+ base; the existing matching local PDF development image is used. Both expose
119
+ builder SHA-256 `d3d580ef5810383fa195da5633137123f55164b059766950dd204deba01a30bf`
120
+ and identical PDF Dockerfile/filter/template bytes. Earlier mismatched public
121
+ worker evidence remains in the previous review record.
122
+
123
+ These local tests use the established working tree, including preserved #114
124
+ WIP. The selected committed-tree CI is a separate source qualification; actual
125
+ head/PR/check IDs are retained in the owner return. Development images are local
126
+ test fixtures, not published runtime pins or consumer-cutover evidence.