unaltraweb 0.9.0 → 0.9.1
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.
- checksums.yaml +4 -4
- data/Makefile +5 -5
- data/docs/_documentation/en/06-github-web-editing.md +15 -0
- data/docs/_documentation/en/33-reusable-workflows.md +28 -0
- data/docs/_documentation/en/47-private-practice-pdfs.md +47 -1
- data/docs/_documentation/en/48-artifact-storage.md +17 -0
- data/docs/agents/software-release-090.md +88 -7
- data/docs/agents/software-release-091.md +110 -0
- data/scripts/manual/templates/manual.tex +2 -1
- data/scripts/manual/templates/practice.tex +15 -1
- data/scripts/test_wheel_install.py +30 -15
- data/scripts/unaltraweb-mcp-bootstrap.sh +1 -1
- data/scripts/validate_workflows.py +130 -0
- data/src/unaltraweb_mcp/component-contract.json +24 -20
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b29e1cee249f359b7e7c5da2e62c1be09c6f6f78f6acd345690da425f4f5217
|
|
4
|
+
data.tar.gz: b4a0d362e575a5c1a5392e127126ce240831f4104b71b8b7b55dcf02ca8301cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66484d7f3bcc3e96acf9fe83633a64490d73007f6fd66a659e2dcfdc315cc8502a2c3830d2a977cda3c1916f78fe376de6f247d8bd221d94a5860c35622cccc4
|
|
7
|
+
data.tar.gz: edb90b1c0ddb6b9b1debc3de9bff0450f74d68b7cf692dc6c55b2a58ea8acf98760bdb1f364cd099ee2da4ff0c27c8e9bba9313faa926c887e2f6d59a6c10e5c
|
data/Makefile
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PYTHON ?= python3
|
|
2
2
|
override PROJECT := $${MCP_CONSUMER_WORKSPACE:?MCP_CONSUMER_WORKSPACE is required}
|
|
3
3
|
override PROJECT_ROOT := $(PROJECT)
|
|
4
|
-
MCP_RUNTIME_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb:0.9.
|
|
5
|
-
MCP_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-mcp:0.9.
|
|
6
|
-
MCP_RELEASE_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:
|
|
4
|
+
MCP_RUNTIME_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb:0.9.1
|
|
5
|
+
MCP_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-mcp:0.9.1
|
|
6
|
+
MCP_RELEASE_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:29b1559b4e91b98247baf227039dc553da504e9df1972299bcbb20a2ed5b029c
|
|
7
7
|
MCP_DOCKER_BUILD_NETWORK ?= default
|
|
8
8
|
INIT_SITE_PROFILE ?= unaltreselfie
|
|
9
9
|
NEW_WEB_PROFILE ?= unaltreselfie
|
|
@@ -40,8 +40,8 @@ WEB_CAPTURE_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-web-capture@sha256:0bf1b
|
|
|
40
40
|
WEB_CAPTURE_DEV_IMAGE ?= unaltraweb-web-capture:dev
|
|
41
41
|
WEB_CAPTURE_DOCKER_BUILD_NETWORK ?= default
|
|
42
42
|
VEGAVISUALS_CLI ?=
|
|
43
|
-
DOCKER_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb:0.9.
|
|
44
|
-
MANUAL_PDF_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:
|
|
43
|
+
DOCKER_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb:0.9.1
|
|
44
|
+
MANUAL_PDF_IMAGE ?= ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:aa5b4bc16f6ce74142ee400cab43f8d18cbf315495bb2f203adf7e0ccec185a8
|
|
45
45
|
MANUAL_PDF_DEV_IMAGE ?= unaltraweb-manual-pdf:dev
|
|
46
46
|
MCP_SMOKE_MANUAL_PDF_IMAGE ?= $(MANUAL_PDF_IMAGE)
|
|
47
47
|
MCP_SMOKE_PROJECT ?=
|
|
@@ -82,6 +82,21 @@ After the editor requests review, the maintainer:
|
|
|
82
82
|
|
|
83
83
|
Pushing a branch or merging to `main` does not publish a generated site. Local checks and renders do not deploy it either.
|
|
84
84
|
|
|
85
|
+
**The existing local serve/preview is sufficient for rendered review.** Remote
|
|
86
|
+
HTTPS hosting, access/TTL decisions and a new preview backend are not required.
|
|
87
|
+
Diagnostic CI reports do not replace that review or approve publication.
|
|
88
|
+
|
|
89
|
+
## Optional Local Compilation And Branch Layout
|
|
90
|
+
|
|
91
|
+
A maintainer can use the supported local Jekyll build/serve route for review,
|
|
92
|
+
or separately request a qualified GHA build. A possible publishing model keeps
|
|
93
|
+
sources and compiled web output in different branches, with the compiled branch
|
|
94
|
+
replaceable after review. This is only an option note, not an implemented migration
|
|
95
|
+
or a change to the generated manual Pages workflow and its reviewed-`main` gates.
|
|
96
|
+
Any branch replacement, push/force-push, deletion or Pages configuration change
|
|
97
|
+
requires a separate explicit decision. Local compilation or a two-branch layout
|
|
98
|
+
alone does not prove that GHA compilation, artifacts or other quota use stopped.
|
|
99
|
+
|
|
85
100
|
## unaltremanual Publishing
|
|
86
101
|
|
|
87
102
|
- `latest` is a manual-only deployment from the reviewed `main` branch.
|
|
@@ -18,6 +18,34 @@ Child sites should keep workflow files thin and call reusable workflows from the
|
|
|
18
18
|
|
|
19
19
|
These wrappers should normally be manual-only. Use `workflow_dispatch` so a push or Dependabot pull request does not start a deploy unless someone explicitly asks for it.
|
|
20
20
|
|
|
21
|
+
## CI scheduling and retained reports
|
|
22
|
+
|
|
23
|
+
Core `ci.yml` runs automatically for pushes to `main` and all pull requests.
|
|
24
|
+
Use its input-free manual dispatch for a selected branch when a full GHA run is
|
|
25
|
+
wanted. A feature-branch push without a PR no longer starts this suite
|
|
26
|
+
automatically. Every admitted run keeps the same Python 3.10/3.13 matrix,
|
|
27
|
+
distribution, gem and dependent Docker jobs, including provenance, Ruby/PDF,
|
|
28
|
+
reproducibility, MCP smoke and docs checks. There is no reduced manual suite.
|
|
29
|
+
PR integration and source-head SHAs can differ; per-ref concurrency does not
|
|
30
|
+
merge push and PR runs. No measured quota saving is implied by this policy.
|
|
31
|
+
CodeQL remains separate, with all three languages and its existing triggers.
|
|
32
|
+
|
|
33
|
+
All four package profiles share one thin source-check control: PR plus manual,
|
|
34
|
+
source-only and read-only, without secrets or deployment. Its failure/coverage
|
|
35
|
+
reports and metrics diagnostics use explicit **seven-day triage retention**;
|
|
36
|
+
`always()` and report contents/paths are unchanged. Existing child sites are not
|
|
37
|
+
automatically migrated; authored workflow changes still require conflict review.
|
|
38
|
+
Package/release candidate windows, immutable artifact IDs and readback stay
|
|
39
|
+
unchanged. The synthetic transfer still retains one day and build records seven.
|
|
40
|
+
|
|
41
|
+
Runner computation, artifacts, caches and publication storage are different
|
|
42
|
+
cost planes; see [artifact storage]({{ '/artifact-storage/' | relative_url }}).
|
|
43
|
+
Changing candidate transport does not remove builds or redirect every CI upload.
|
|
44
|
+
|
|
45
|
+
The existing local build/serve is sufficient for rendered human review.
|
|
46
|
+
This scheduling and retention change does not require a remote-preview service,
|
|
47
|
+
new endpoint or hosting policy. Manual publication gates remain separate.
|
|
48
|
+
|
|
21
49
|
## Site deploy
|
|
22
50
|
|
|
23
51
|
{% raw %}
|
|
@@ -17,7 +17,53 @@ The `manual_practice_pdf_build` tool creates a private A4-landscape reading from
|
|
|
17
17
|
one Markdown source. It uses the manual's typography and site metadata, including
|
|
18
18
|
the course name, degree, instructors and configured logos. The first page includes
|
|
19
19
|
the course codes in parentheses beside the subject and the practice version.
|
|
20
|
-
The academic year is omitted. Logos appear only on the first page.
|
|
20
|
+
The academic year is omitted. Logos appear only on the first page. This default
|
|
21
|
+
layout is unchanged unless an individual reading selects title-only mode.
|
|
22
|
+
|
|
23
|
+
## A title without a metadata banner
|
|
24
|
+
|
|
25
|
+
For a reading whose only opening title should be “Llegiu-me”, select the layout
|
|
26
|
+
in that document's front matter:
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
title: Llegiu-me
|
|
30
|
+
short_title: Llegiu-me
|
|
31
|
+
practice_title_only: true
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`practice_title_only` is optional and must be a YAML boolean, not a quoted
|
|
35
|
+
string or a number. Absent or `false` preserves the default layout. When `true`,
|
|
36
|
+
the authored title appears once before the body, without the series, audience,
|
|
37
|
+
course, codes, degrees, institution, author, logos or version banner. Running
|
|
38
|
+
headers and the version/language footer are omitted; page numbering and a
|
|
39
|
+
discreet draft-status footer remain.
|
|
40
|
+
|
|
41
|
+
This is a per-reading presentation choice, not a global metadata override:
|
|
42
|
+
shared course metadata remains unchanged internally. Keep any pedagogically
|
|
43
|
+
useful course context in the body rather than inventing a subtitle. The practice
|
|
44
|
+
wrapper and front matter participate in the existing input fingerprint; changed
|
|
45
|
+
readings retain a separate run without replacing an earlier PDF. This layout
|
|
46
|
+
does not require a full-manual build or a new worker image.
|
|
47
|
+
|
|
48
|
+
An editable Markdown reading may also begin with the same plain H1:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# Llegiu-me
|
|
52
|
+
|
|
53
|
+
## Open the project
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
In title-only mode, one matching opening H1 owns the visible title: the wrapper
|
|
57
|
+
does not print a second copy. The body, heading and internal anchors remain
|
|
58
|
+
unchanged. Without an H1, the wrapper prints the front-matter title once.
|
|
59
|
+
Use H2 or deeper for sections; a different, repeated or non-opening top-level
|
|
60
|
+
H1 is refused rather than silently removed. Formatted H1 titles are not
|
|
61
|
+
supported in this mode. Headings are unnumbered in title-only mode, so neither
|
|
62
|
+
the main title nor its sections acquire a numeric prefix. The default layout
|
|
63
|
+
and numbering remain unchanged when the flag is absent or false.
|
|
64
|
+
|
|
65
|
+
Keep appropriate teaching attribution in the reading body; hiding the banner
|
|
66
|
+
does not remove the internal author or course metadata.
|
|
21
67
|
|
|
22
68
|
## Prepare a reading
|
|
23
69
|
|
|
@@ -24,6 +24,23 @@ at its published URLs while those URLs are referenced.
|
|
|
24
24
|
| Private practice packet | Existing ignored, retained practice editions for the named recipient; never made public by this selector. |
|
|
25
25
|
| GitHub Pages site | Native `upload-pages-artifact` / `deploy-pages` protocol, unchanged. |
|
|
26
26
|
|
|
27
|
+
## Compute, reports and cache are separate
|
|
28
|
+
|
|
29
|
+
| Resource | Existing scope and cost driver |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| Runner computation | Workflow frequency, matrices and build/test/render/analyse steps; retention or S3/S4 transport does not remove these operations. |
|
|
32
|
+
| CI artifacts | Uploaded byte counts, frequency and retained days; metrics/source-check triage reports retain seven days, without dropping failure evidence. |
|
|
33
|
+
| Cache | Pip, Bundler and Buildx GHA caches; not selected by `release_candidate` policy. Disabling cache can increase rebuild work. |
|
|
34
|
+
| Published outputs | GHCR images, durable Release assets and native Pages delivery are distinct from triage reports and candidate transport. |
|
|
35
|
+
|
|
36
|
+
The selector does not redirect generic CI reports, package intermediates, Pages
|
|
37
|
+
artifacts or caches. Synthetic Actions transfer retention remains one day,
|
|
38
|
+
Buildx records seven, package candidates fourteen and verified package
|
|
39
|
+
intermediates seven. Stable candidates keep their selected 1–14-day window
|
|
40
|
+
(default fourteen), exact IDs, receipts, readback and native publication gates.
|
|
41
|
+
No cleanup, provider provisioning or billing measurement follows from changing
|
|
42
|
+
this local policy. A different transport is not a promise of zero quota.
|
|
43
|
+
|
|
27
44
|
## Project-owned policy
|
|
28
45
|
|
|
29
46
|
New package scaffolds include `.unaltraweb/artifact-storage.json`. This is an
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
# Web 0.9.0 software
|
|
1
|
+
# Web 0.9.0 software delivery and source-default follow-up
|
|
2
2
|
|
|
3
3
|
Owner authorization: 2026-11-23, producer issue 98. This is a new additive
|
|
4
|
-
software release
|
|
4
|
+
software release, not a replacement of immutable public 0.8.1. The separate
|
|
5
|
+
postrelease source-default change below does not rewrite published artifacts.
|
|
5
6
|
|
|
6
7
|
## Integrated source scope
|
|
7
8
|
|
|
@@ -27,9 +28,10 @@ recovery implementation is introduced.
|
|
|
27
28
|
|
|
28
29
|
## Candidate and tuple boundary
|
|
29
30
|
|
|
30
|
-
The canonical BOM selects the software version.
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
The canonical BOM selects the software version. Protected source checks, signed
|
|
32
|
+
candidate procedures, receipt ancestry and exact native package authorization
|
|
33
|
+
qualified the final artifact-producing source
|
|
34
|
+
`0466b782507dcf3537e25926bbdee59aabdb253e`.
|
|
33
35
|
|
|
34
36
|
The initial signed candidates from `987412c72bee7f643125c5d7ce2cb1ee75416360` passed image workflow
|
|
35
37
|
45185571925, including exact provenance, Ruby/PDF/MCP/docs tests and digest
|
|
@@ -37,13 +39,92 @@ promotion. The selected new PDF is `ghcr.io/dosquartsdedocs/unaltraweb-manual-pd
|
|
|
37
39
|
producer `987412c72bee7f643125c5d7ce2cb1ee75416360`, native source version 0.9.0.
|
|
38
40
|
It is not the old 0.7.1 worker. Its record ancestor `7db24abf329ad46395e20665ad718a449b906a1f`
|
|
39
41
|
is the independent reviewed core/workflow selection and native gem 0.9.0.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
Initial MCP bytes are not the final tuple. The final runtime/MCP digests and
|
|
43
|
+
original gem/wheel bytes were retained through receipt-only PR144, without
|
|
44
|
+
rebuilding candidates for publication.
|
|
42
45
|
|
|
43
46
|
Unchanged compute Python/R, capture, classic private QGIS and visual-helper
|
|
44
47
|
selections retain their own actual versions and identities. SDK/W1/H2 and full
|
|
45
48
|
managed-helper adoption are not silently included.
|
|
46
49
|
|
|
50
|
+
## Published software and verified public bytes
|
|
51
|
+
|
|
52
|
+
[Release v0.9.0](https://github.com/dosquartsdedocs/unaltraweb/releases/tag/v0.9.0),
|
|
53
|
+
ID `455729358`, delivers exactly three original assets:
|
|
54
|
+
|
|
55
|
+
| Asset / Release asset ID | Bytes | SHA256 |
|
|
56
|
+
| --- | ---: | --- |
|
|
57
|
+
| `unaltraweb-0.9.0.gem` / `783790522` | 33578496 | `b3e80760c27d646c125dbcb37e90fbe48a20ea46979dba33e92f590da26ce046` |
|
|
58
|
+
| `unaltraweb_mcp-0.9.0-py3-none-any.whl` / `783790520` | 372227 | `76df9c2643b2e071d2c47cc2a24be7e8ddb76bf523dd928a16f75a602ffa40f3` |
|
|
59
|
+
| `SHA256SUMS` / `783790521` | 195 | `03b4a2e1e0d5402e05e6cd06ca1f5137be39c56acd0c52b7a0a99f70c370eb4b` |
|
|
60
|
+
|
|
61
|
+
The tag target is `d9406db1e74facf18f19a5f436bf0e41f19fb839`; annotated tag
|
|
62
|
+
object `7cd92e5e0a01dda265fdce16e0fac363e004bf7e`. Its first parent is the
|
|
63
|
+
artifact source above; its only first-parent change is `release-candidates.json`,
|
|
64
|
+
SHA256 `4bdfbad42dfcdf6047e52028234c76946eb4870a30744cf8fce568545899d0d8`.
|
|
65
|
+
|
|
66
|
+
Final signed image run `45192808028`, package run `45195192931` / original
|
|
67
|
+
artifact `14827357692`, promotion `45216846677` and Trusted Publishing
|
|
68
|
+
`45217719156` succeeded at their original attempts. Runtime and MCP immutable
|
|
69
|
+
references are:
|
|
70
|
+
|
|
71
|
+
- `ghcr.io/dosquartsdedocs/unaltraweb@sha256:564d6545cbb7d81f4210d18df6298b63ba517605ba62e5ea99235df67b88b8e4`
|
|
72
|
+
- `ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:29b1559b4e91b98247baf227039dc553da504e9df1972299bcbb20a2ed5b029c`
|
|
73
|
+
|
|
74
|
+
Anonymous public registry full-file bytes matched the gem/wheel hashes and
|
|
75
|
+
sizes. Their independent hub report has SHA256
|
|
76
|
+
`e7a1b8211521a3e3741fe9426b6b019f4530056c01a13c101f4076416b78f265`;
|
|
77
|
+
the public wheel BOM matched the tagged canonical bytes. Each of the three
|
|
78
|
+
Release assets was also downloaded anonymously once over HTTP200 and checked
|
|
79
|
+
against the original full-file hash and size. This is separate channel coverage,
|
|
80
|
+
not an inference from a Release URL, tag or successful workflow.
|
|
81
|
+
|
|
82
|
+
OCI index/platform-manifest/config payload bytes and revision `0466b782...`
|
|
83
|
+
were verified without layer downloads. Configuration digests `684ff080...`
|
|
84
|
+
(runtime) and `c8bd0857...` (MCP) are not registry index digests or assumed local
|
|
85
|
+
Docker IDs. The separately selected PDF38/prod987/core/workflow7db above remains
|
|
86
|
+
unchanged; final-build verification PDF3bd19368 was not selected or
|
|
87
|
+
coordinated-semver promoted.
|
|
88
|
+
|
|
89
|
+
The original fourth installed case passed real offline venv/wheel member-byte,
|
|
90
|
+
origin/version/PDF guards, isolated native gem activation with original image
|
|
91
|
+
dependencies, and unchanged MCP stdio/real selected-PDF preview scripts. No fifth
|
|
92
|
+
installed case or public-package reinstall is implied. Earlier ensurepip,
|
|
93
|
+
gem-path, stdin, Ruby writer and administrative auditor failures remain distinct
|
|
94
|
+
negative observations. Later independent evidence does not relabel them.
|
|
95
|
+
|
|
96
|
+
## Separate postrelease source-default pin
|
|
97
|
+
|
|
98
|
+
The immutable 0.9.0 tag and public wheel retain the old 0.8.1 MCP digest fallback
|
|
99
|
+
when their bare bootstrap asset is executed without an override. The tagged root
|
|
100
|
+
Makefile also retains that old `MCP_RELEASE_IMAGE` default. Normal installed
|
|
101
|
+
wheel CLI and installed packaging Make pass 0.9.0 explicitly with `--image`;
|
|
102
|
+
the CLI selects its argument, then explicit environment, then the packaged BOM.
|
|
103
|
+
These routes must not be described as though all tagged defaults already
|
|
104
|
+
selected 0.9.0.
|
|
105
|
+
|
|
106
|
+
This separate postrelease **source-only** change selects the published immutable
|
|
107
|
+
MCP digest `29b1559b4e91b98247baf227039dc553da504e9df1972299bcbb20a2ed5b029c`
|
|
108
|
+
for the root Makefile default and bare source bootstrap fallback in later source
|
|
109
|
+
uses. It leaves the published tag, wheel, packaging Make, BOM, versions, workers,
|
|
110
|
+
core/workflow and ABI unchanged. Exact source PR/head/merge/CI evidence is
|
|
111
|
+
recorded in issue98, not manufactured as a replacement release receipt.
|
|
112
|
+
|
|
113
|
+
For the old tag's source/bare-bootstrap routes, pass the full published
|
|
114
|
+
`ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:29b1559b4e91b98247baf227039dc553da504e9df1972299bcbb20a2ed5b029c`
|
|
115
|
+
through explicit `--image` or the root Makefile's `MCP_RELEASE_IMAGE`, as
|
|
116
|
+
appropriate. The bootstrap's explicit `--image` continues to override its
|
|
117
|
+
environment/fallback selection. There is no automatic fallback to another
|
|
118
|
+
version. Workspace, managed identity, no-build/pull-in-serve/check/smoke and socket
|
|
119
|
+
guards are unchanged; the existing default-selection test changes only its
|
|
120
|
+
expected digest.
|
|
121
|
+
|
|
122
|
+
Publication and source-default selection are not live client adoption. The
|
|
123
|
+
authoritative working checkout, client registrations, consumers and manuals were
|
|
124
|
+
not moved, reconfigured or reconnected. Delivery covers the three Release assets,
|
|
125
|
+
registries and OCI references, not an unpublished tarball, universal H2 admission,
|
|
126
|
+
SDK/helper graph, Podman/GC or practice-storage qualification.
|
|
127
|
+
|
|
47
128
|
## Pending naming and entrypoint work
|
|
48
129
|
|
|
49
130
|
The owner's intended English technical source directory is `practices/`.
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Web 0.9.1 manual and practice software patch
|
|
2
|
+
|
|
3
|
+
Owner authorization: [WEB22, issue 98](https://github.com/dosquartsdedocs/unaltraweb/issues/98#issuecomment-7325068889),
|
|
4
|
+
continuing the bounded software-publication authority in WEB21. The exact path
|
|
5
|
+
reservation is [recorded separately](https://github.com/dosquartsdedocs/unaltraweb/issues/98#issuecomment-7325152572).
|
|
6
|
+
This record supplements, and does not replace, `software-release-090.md`.
|
|
7
|
+
|
|
8
|
+
## Integrated fixes
|
|
9
|
+
|
|
10
|
+
PR149 was normally merged as `d7df57d3997edac2f53ead38edae8977c3f21721`,
|
|
11
|
+
tree `4d7c3112c2514a779e8e2b46a628113045534840`. It retains the original
|
|
12
|
+
manual/practice producers and the earlier title-only acceptance case:
|
|
13
|
+
|
|
14
|
+
- Preserve title-only practice PDF text, language handling and draft pagination.
|
|
15
|
+
- Accept absent optional Docker image labels without weakening image identity.
|
|
16
|
+
- Select the pinned Actions download action's existing authenticated REST route,
|
|
17
|
+
using the upload-derived artifact ID and the original strict byte verifier.
|
|
18
|
+
|
|
19
|
+
The original CI and CodeQL runs for the reviewed PR head succeeded at attempt 1.
|
|
20
|
+
The exact-run artifact manifest reported artifact `15521242251`, 2880 bytes,
|
|
21
|
+
digest `sha256:3179461035a18ebc6a7e5fb8a0883e26e418c0337e633bb15ab05ff172e9f9bf`.
|
|
22
|
+
The retained Jobs API reports success for prepare, upload, exact-ID readback and
|
|
23
|
+
byte verification. Immutable workflow/verifier sources provide the input and
|
|
24
|
+
control bindings. This is structured API/source evidence, not a raw-log reading
|
|
25
|
+
or a caller-recomputed artifact ZIP hash. The earlier failed run and its
|
|
26
|
+
artifact remain separate negative evidence; their underlying RPC cause is
|
|
27
|
+
unknown.
|
|
28
|
+
|
|
29
|
+
## Version intent and independent components
|
|
30
|
+
|
|
31
|
+
This first source phase declares distribution, gem, wheel, runtime and MCP
|
|
32
|
+
version `0.9.1`. Python and Ruby continue to derive their versions from the
|
|
33
|
+
canonical component contract. The native launcher, factory manifest and runtime
|
|
34
|
+
references follow that contract; no second version mechanism is introduced.
|
|
35
|
+
|
|
36
|
+
The first source phase retained the actual published PDF `0.9.0` digest
|
|
37
|
+
`38f62cba21cd2b50a3512bd00743a3a8413c89b99f51b55d1bb47d1bb72bad3c`.
|
|
38
|
+
The final source selection below advances only after the original signed new
|
|
39
|
+
candidate, its native version and actual producer were verified and recorded.
|
|
40
|
+
Changing a distribution version never relabels the old worker.
|
|
41
|
+
|
|
42
|
+
Unchanged computation Python/R and web capture retain `0.4.0`; private QGIS
|
|
43
|
+
retains `0.6.1`; diavisuals and vegavisuals retain `0.5.0` and `0.5.1`.
|
|
44
|
+
Existing consumer core/workflow/PDF selections remain unchanged in this first
|
|
45
|
+
phase. Any later producer/record-ancestor selection must use actual verified
|
|
46
|
+
commits and image identities, following the original 0.9.0 procedure.
|
|
47
|
+
|
|
48
|
+
## Verified initial worker and source qualification
|
|
49
|
+
|
|
50
|
+
PR150 normally merged as `837654723e667f497fc535aeacb2940a40fae490`,
|
|
51
|
+
tree `f140b8c2a4f1061dabadc155f4d0473a3d8ac62e`. Its original CI
|
|
52
|
+
`46750664911` and CodeQL `46750665047` succeeded at attempt 1 with all eight
|
|
53
|
+
protected contexts. The actual jobs and immutable workflow bind Ruby 3.3.11
|
|
54
|
+
`make gem-check`, the newly built `unaltraweb-runtime:ci`, and the Ruby, manual
|
|
55
|
+
PDF, MCP, reproducibility and docs checks. Earlier local 40-test and wheel
|
|
56
|
+
successes and the local gem prerequisite refusal remain separate evidence.
|
|
57
|
+
|
|
58
|
+
[Initial image workflow](https://github.com/dosquartsdedocs/unaltraweb/actions/runs/46753989918)
|
|
59
|
+
succeeded at attempt 1 from this actual producer. Its signed, exact-digest
|
|
60
|
+
provenance/revision, native tests and promotion checks qualified the new PDF:
|
|
61
|
+
|
|
62
|
+
- Reference: `ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:aa5b4bc16f6ce74142ee400cab43f8d18cbf315495bb2f203adf7e0ccec185a8`.
|
|
63
|
+
- Producer: `837654723e667f497fc535aeacb2940a40fae490`.
|
|
64
|
+
- Observed native source version: `0.9.1`, queried in the explicitly
|
|
65
|
+
prepared immutable image. Its complete packaged BOM hash matched producer
|
|
66
|
+
source; this is not inferred from release intent or an OCI tag label.
|
|
67
|
+
- Registry platform manifest: `sha256:90f8cb60795bdb7686eb13414a8a223e9d446dadae83fcc003e404d26fa1b0a4`.
|
|
68
|
+
- Registry platform config: `sha256:bd45ba64eff88392ec7a69144c095a61a22c64d3763d35c377e91f09a7f5adfe`.
|
|
69
|
+
|
|
70
|
+
Record ancestor `5d3f6190320b3bc28377eb6cc99e640e77d0bf45`
|
|
71
|
+
adds the actual producer record while retaining the previous selections. This
|
|
72
|
+
following source commit selects that real ancestor for independent core and
|
|
73
|
+
site-deploy workflow identity, with native gem `0.9.1`, and selects the verified
|
|
74
|
+
new immutable PDF above with its observed native `0.9.1` identity. The PDF is
|
|
75
|
+
already published and signed under its producer SHA; it remains independent of
|
|
76
|
+
the final runtime/MCP candidate digests and receives no invented self-digest.
|
|
77
|
+
Initial MCP bytes are not the final release tuple. No coordinated tag,
|
|
78
|
+
language-package publication, final receipt or new-worker Web10 acceptance is
|
|
79
|
+
claimed at this source phase.
|
|
80
|
+
|
|
81
|
+
## Original delivery sequence
|
|
82
|
+
|
|
83
|
+
Source qualification uses the existing `workflow-check`, `distribution-check`,
|
|
84
|
+
`wheel-check`, `gem-check` and embedded `docs-build` Make entrypoints. The strict
|
|
85
|
+
`distribution-release-check` belongs after real final candidates and their
|
|
86
|
+
receipt-only child commit, not before those artifacts exist.
|
|
87
|
+
|
|
88
|
+
The original `docker-image.yml` and `package-prepare.yml` workflows produce the
|
|
89
|
+
signed/tested image candidates and original language-package bytes from reviewed
|
|
90
|
+
default-branch sources. Distinct initial-worker and final-source phases are not
|
|
91
|
+
retries of a failed construction. Candidate IDs, digests and package checksums
|
|
92
|
+
must come from their real retained results.
|
|
93
|
+
|
|
94
|
+
The new receipt must be an immediate child changing only
|
|
95
|
+
`release-candidates.json`. The existing 0.9.0 receipt is not a template for
|
|
96
|
+
invented hashes. The exact unused annotated `v0.9.1` tag, original OCI
|
|
97
|
+
promotion, `package-publish.yml` OIDC operation, and GitHub Release may follow
|
|
98
|
+
only their original source, receipt, provenance and package-byte guards.
|
|
99
|
+
|
|
100
|
+
No 0.9.1 publication, registry delivery or new native acceptance result is
|
|
101
|
+
claimed by this source-intent record. Actual delivery evidence must be added
|
|
102
|
+
when those phases finish.
|
|
103
|
+
|
|
104
|
+
## Downstream boundary
|
|
105
|
+
|
|
106
|
+
Software publication does not approve teaching content, edit or migrate a
|
|
107
|
+
consumer, change its pins, reconnect clients, deploy Pages or publish S4
|
|
108
|
+
objects. The final affected published worker requires one new original
|
|
109
|
+
title-only acceptance case on the existing test input/consumer. Earlier
|
|
110
|
+
PDFs, PNGs, receipts and negative observations remain intact.
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
\usepackage{xurl}
|
|
31
31
|
\usepackage{hyperref}
|
|
32
32
|
\usepackage{bookmark}
|
|
33
|
-
|
|
33
|
+
% Markdown supplies Unicode accents; language shorthands must not rewrite code.
|
|
34
|
+
\usepackage[shorthands=off,$babel-lang$]{babel}
|
|
34
35
|
|
|
35
36
|
\geometry{inner=25mm,outer=22mm,top=24mm,bottom=26mm}
|
|
36
37
|
\setmainfont{DejaVu Serif}
|
|
@@ -3,19 +3,27 @@
|
|
|
3
3
|
\usepackage{lastpage}
|
|
4
4
|
\pagestyle{fancy}
|
|
5
5
|
\fancyhf{}
|
|
6
|
+
$if(practice-title-only)$
|
|
7
|
+
\renewcommand{\headrulewidth}{0pt}
|
|
8
|
+
$else$
|
|
6
9
|
\fancyhead[L]{\small\sffamily\color{ManualMuted}$course-short-title$}
|
|
7
10
|
\fancyhead[R]{\small\sffamily\color{ManualMuted}$short-title$}
|
|
8
11
|
\fancyfoot[L]{\footnotesize\sffamily\color{ManualMuted}v$practice-version$ · $lang$}
|
|
12
|
+
\renewcommand{\headrulewidth}{0.2pt}
|
|
13
|
+
$endif$
|
|
9
14
|
\fancyfoot[C]{\footnotesize\sffamily\color{ManualMuted}$if(draft)$$draft-label$$endif$}
|
|
10
15
|
\fancyfoot[R]{\footnotesize\sffamily\color{ManualMuted}\thepage/\pageref*{LastPage}}
|
|
11
|
-
\renewcommand{\headrulewidth}{0.2pt}
|
|
12
16
|
\renewcommand{\footrulewidth}{0pt}
|
|
13
17
|
\fancypagestyle{practicefirst}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}
|
|
14
18
|
\titleformat{\section}{\normalfont\sffamily\Large\bfseries\color{ManualSecondary}}{\thesection}{0.55em}{}
|
|
15
19
|
\titleformat{\subsection}{\normalfont\large\bfseries\color{ManualSecondary}}{\thesubsection}{0.6em}{}
|
|
16
20
|
\titlespacing*{\section}{0pt}{1.1em}{0.45em}
|
|
17
21
|
\titlespacing*{\subsection}{0pt}{0.9em}{0.35em}
|
|
22
|
+
$if(practice-title-only)$
|
|
23
|
+
\setcounter{secnumdepth}{0}
|
|
24
|
+
$else$
|
|
18
25
|
\setcounter{secnumdepth}{2}
|
|
26
|
+
$endif$
|
|
19
27
|
\setlength{\emergencystretch}{3em}
|
|
20
28
|
\setlist[enumerate]{before=\raggedright}
|
|
21
29
|
\setlength{\LTleft}{\fill}
|
|
@@ -57,6 +65,8 @@
|
|
|
57
65
|
|
|
58
66
|
\begin{document}
|
|
59
67
|
\thispagestyle{practicefirst}
|
|
68
|
+
$if(practice-title-only)$
|
|
69
|
+
$else$
|
|
60
70
|
{\setlength{\parskip}{0pt}%
|
|
61
71
|
\noindent
|
|
62
72
|
\begin{minipage}[c]{0.65\linewidth}
|
|
@@ -89,7 +99,11 @@ $if(author)$$author$ · $endif$$practice-version-label$ $practice-version$\par
|
|
|
89
99
|
\vspace{2mm}{\color{ManualSecondary!40}\hrule}
|
|
90
100
|
}
|
|
91
101
|
\vspace{4mm}
|
|
102
|
+
$endif$
|
|
103
|
+
$if(practice-title-in-body)$
|
|
104
|
+
$else$
|
|
92
105
|
{\LARGE\sffamily\bfseries\color{ManualSecondary}$title$}\par
|
|
93
106
|
\vspace{1mm}
|
|
107
|
+
$endif$
|
|
94
108
|
$body$
|
|
95
109
|
\end{document}
|
|
@@ -17,8 +17,16 @@ from pathlib import Path
|
|
|
17
17
|
ROOT = Path(__file__).resolve().parents[1]
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
def subprocess_environment(env: dict[str, str] | None = None) -> dict[str, str]:
|
|
21
|
+
if env is not None:
|
|
22
|
+
return env
|
|
23
|
+
baseline = os.environ.copy()
|
|
24
|
+
baseline.pop("PYTHONPATH", None)
|
|
25
|
+
return baseline
|
|
26
|
+
|
|
27
|
+
|
|
20
28
|
def run(command: list[str], *, cwd: Path, env: dict[str, str] | None = None, expected: int = 0) -> subprocess.CompletedProcess[str]:
|
|
21
|
-
completed = subprocess.run(command, cwd=cwd, env=env, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=False)
|
|
29
|
+
completed = subprocess.run(command, cwd=cwd, env=subprocess_environment(env), text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=False)
|
|
22
30
|
if completed.returncode != expected:
|
|
23
31
|
raise RuntimeError(
|
|
24
32
|
f"Command returned {completed.returncode}, expected {expected}: {' '.join(command)}\n{completed.stdout}\n{completed.stderr}"
|
|
@@ -26,6 +34,25 @@ def run(command: list[str], *, cwd: Path, env: dict[str, str] | None = None, exp
|
|
|
26
34
|
return completed
|
|
27
35
|
|
|
28
36
|
|
|
37
|
+
def source_copy_ignore(directory: str, names: list[str]) -> set[str]:
|
|
38
|
+
ignored = shutil.ignore_patterns(
|
|
39
|
+
".git",
|
|
40
|
+
".venv",
|
|
41
|
+
".cache",
|
|
42
|
+
".jekyll-cache",
|
|
43
|
+
"build",
|
|
44
|
+
"dist",
|
|
45
|
+
"*.egg-info",
|
|
46
|
+
"_site",
|
|
47
|
+
"tmp",
|
|
48
|
+
"__pycache__",
|
|
49
|
+
"*.pyc",
|
|
50
|
+
)(directory, names)
|
|
51
|
+
if Path(directory) == ROOT and (ROOT / "sandbox").is_dir():
|
|
52
|
+
ignored.add("sandbox")
|
|
53
|
+
return ignored
|
|
54
|
+
|
|
55
|
+
|
|
29
56
|
def main() -> int:
|
|
30
57
|
with tempfile.TemporaryDirectory(prefix="unaltraweb-wheel-") as raw_temp:
|
|
31
58
|
temp = Path(raw_temp)
|
|
@@ -33,23 +60,11 @@ def main() -> int:
|
|
|
33
60
|
shutil.copytree(
|
|
34
61
|
ROOT,
|
|
35
62
|
source,
|
|
36
|
-
ignore=
|
|
37
|
-
".git",
|
|
38
|
-
".venv",
|
|
39
|
-
".cache",
|
|
40
|
-
".jekyll-cache",
|
|
41
|
-
"build",
|
|
42
|
-
"dist",
|
|
43
|
-
"*.egg-info",
|
|
44
|
-
"_site",
|
|
45
|
-
"tmp",
|
|
46
|
-
"__pycache__",
|
|
47
|
-
"*.pyc",
|
|
48
|
-
),
|
|
63
|
+
ignore=source_copy_ignore,
|
|
49
64
|
)
|
|
50
65
|
wheel_dir = temp / "dist"
|
|
51
66
|
wheel_dir.mkdir()
|
|
52
|
-
env =
|
|
67
|
+
env = subprocess_environment()
|
|
53
68
|
env["PIP_NO_INDEX"] = "1"
|
|
54
69
|
run(
|
|
55
70
|
[sys.executable, "-m", "pip", "wheel", ".", "--no-deps", "--no-build-isolation", "--wheel-dir", str(wheel_dir)],
|
|
@@ -15,7 +15,7 @@ Managed mode requires an immutable reference or an expected full image ID.
|
|
|
15
15
|
USAGE
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
image="${UNALTRAWEB_MCP_IMAGE:-ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:
|
|
18
|
+
image="${UNALTRAWEB_MCP_IMAGE:-ghcr.io/dosquartsdedocs/unaltraweb-mcp@sha256:29b1559b4e91b98247baf227039dc553da504e9df1972299bcbb20a2ed5b029c}"
|
|
19
19
|
project="${MCP_CONSUMER_WORKSPACE:-${UNALTRAWEB_PROJECT:-}}"
|
|
20
20
|
operation=serve
|
|
21
21
|
expected_image="${UNALTRAWEB_EXPECTED_IMAGE_ID:-}"
|
|
@@ -210,6 +210,126 @@ def _executes_candidate(step: dict[str, Any]) -> bool:
|
|
|
210
210
|
return any(re.search(rf"(?<![\w-]){re.escape(target)}(?![\w-])", run) for target in CANDIDATE_EXECUTION_TARGETS)
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
def ci_scope_errors(workflow: dict[str, Any] | None) -> list[str]:
|
|
214
|
+
"""Bound scheduling without allowing a selected run to shrink its suite."""
|
|
215
|
+
prefix = "ci.yml: "
|
|
216
|
+
if not isinstance(workflow, dict):
|
|
217
|
+
return [prefix + "missing full CI workflow"]
|
|
218
|
+
errors: list[str] = []
|
|
219
|
+
if workflow.get("on") != {
|
|
220
|
+
"push": {"branches": ["main"]}, "pull_request": None, "workflow_dispatch": None,
|
|
221
|
+
}:
|
|
222
|
+
errors.append(prefix + "scheduling must keep unfiltered PRs, main-only pushes and input-free manual full-suite dispatch")
|
|
223
|
+
if workflow.get("permissions") != {"contents": "read"}:
|
|
224
|
+
errors.append(prefix + "full CI must retain only contents: read")
|
|
225
|
+
jobs = workflow.get("jobs", {})
|
|
226
|
+
if not isinstance(jobs, dict) or any(not isinstance(job, dict) for job in jobs.values()):
|
|
227
|
+
return errors + [prefix + "full suite jobs must be mappings"]
|
|
228
|
+
if set(jobs) != {"python", "distribution", "gem", "docker"}:
|
|
229
|
+
errors.append(prefix + "full suite must retain python, distribution, gem and docker jobs")
|
|
230
|
+
if jobs.get("python", {}).get("strategy") != {
|
|
231
|
+
"fail-fast": False, "matrix": {"python-version": ["3.10", "3.13"]},
|
|
232
|
+
}:
|
|
233
|
+
errors.append(prefix + "Python matrix must retain 3.10 and 3.13 without exclusions")
|
|
234
|
+
if jobs.get("docker", {}).get("needs") != ["python", "distribution", "gem"]:
|
|
235
|
+
errors.append(prefix + "Docker must depend on python, distribution and gem")
|
|
236
|
+
required_steps = {
|
|
237
|
+
"python": ["Compile Python", "Run unit tests", "Check patch whitespace",
|
|
238
|
+
"Prepare synthetic native candidate for Actions v4", "Upload synthetic native candidate",
|
|
239
|
+
"Read back synthetic native candidate by exact ID", "Verify real Actions v4 native candidate bytes"],
|
|
240
|
+
"distribution": ["Validate workflow policy", "Validate distribution structure",
|
|
241
|
+
"Declare private QGIS checks not run in public CI", "Build and test wheel",
|
|
242
|
+
"Test published PDF deployment provenance"],
|
|
243
|
+
"gem": ["Build and inspect gem"],
|
|
244
|
+
"docker": ["Build runtime image", "Test all Ruby files", "Build manual PDF image",
|
|
245
|
+
"Test all manual PDF integrations", "Build MCP image from the tested runtime",
|
|
246
|
+
"Check reproducible packaged Jekyll build", "Smoke test MCP", "Build docs"],
|
|
247
|
+
}
|
|
248
|
+
synthetic = set(required_steps["python"][3:])
|
|
249
|
+
for job_name, job in jobs.items():
|
|
250
|
+
expected_keys = {"name", "runs-on", "timeout-minutes", "steps"}
|
|
251
|
+
if job_name == "python":
|
|
252
|
+
expected_keys.update({"strategy", "permissions"})
|
|
253
|
+
elif job_name == "docker":
|
|
254
|
+
expected_keys.add("needs")
|
|
255
|
+
if (set(job) != expected_keys
|
|
256
|
+
or (job_name == "python" and job.get("permissions") != {"contents": "read", "actions": "read"})):
|
|
257
|
+
errors.append(prefix + f"{job_name}: job boundary cannot skip checks or add authority")
|
|
258
|
+
steps = job.get("steps", [])
|
|
259
|
+
if not isinstance(steps, list) or any(not isinstance(step, dict) for step in steps):
|
|
260
|
+
errors.append(prefix + f"{job_name}: suite steps must be mappings")
|
|
261
|
+
continue
|
|
262
|
+
names = [step.get("name") for step in steps]
|
|
263
|
+
for name in required_steps.get(job_name, []):
|
|
264
|
+
if names.count(name) != 1:
|
|
265
|
+
errors.append(prefix + f"{job_name}: missing or repeated required suite step {name}")
|
|
266
|
+
for step in steps:
|
|
267
|
+
expected_if = "${{ matrix.python-version == '3.13' }}" if job_name == "python" and step.get("name") in synthetic else None
|
|
268
|
+
if step.get("if") != expected_if or "continue-on-error" in step:
|
|
269
|
+
errors.append(prefix + f"{job_name}: step conditions and failure handling must remain unchanged")
|
|
270
|
+
synthetic_if = "${{ matrix.python-version == '3.13' }}"
|
|
271
|
+
expected_synthetic = [
|
|
272
|
+
{"name": "Prepare synthetic native candidate for Actions v4", "id": "synthetic",
|
|
273
|
+
"if": synthetic_if,
|
|
274
|
+
"run": 'python scripts/test_candidate_transfer.py prepare --path "$RUNNER_TEMP/synthetic-release-transfer"'},
|
|
275
|
+
{"name": "Upload synthetic native candidate", "id": "synthetic_upload", "if": synthetic_if,
|
|
276
|
+
"uses": f"actions/upload-artifact@{REVIEWED_ACTIONS['actions/upload-artifact']}",
|
|
277
|
+
"with": {
|
|
278
|
+
"name": "synthetic-native-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}",
|
|
279
|
+
"path": "${{ runner.temp }}/synthetic-release-transfer",
|
|
280
|
+
"if-no-files-found": "error", "retention-days": 1, "overwrite": False,
|
|
281
|
+
}},
|
|
282
|
+
{"name": "Read back synthetic native candidate by exact ID", "if": synthetic_if,
|
|
283
|
+
"uses": f"actions/download-artifact@{REVIEWED_ACTIONS['actions/download-artifact']}",
|
|
284
|
+
"with": {
|
|
285
|
+
"artifact-ids": "${{ steps.synthetic_upload.outputs.artifact-id }}",
|
|
286
|
+
"github-token": "${{ github.token }}",
|
|
287
|
+
"repository": "${{ github.repository }}",
|
|
288
|
+
"run-id": "${{ github.run_id }}",
|
|
289
|
+
"merge-multiple": True,
|
|
290
|
+
"path": "${{ runner.temp }}/synthetic-release-readback",
|
|
291
|
+
}},
|
|
292
|
+
{"name": "Verify real Actions v4 native candidate bytes", "if": synthetic_if,
|
|
293
|
+
"env": {"TRANSFER_SHA256": "${{ steps.synthetic.outputs.sha256 }}"},
|
|
294
|
+
"run": 'python scripts/test_candidate_transfer.py verify --path "$RUNNER_TEMP/synthetic-release-readback" --sha256 "$TRANSFER_SHA256"'},
|
|
295
|
+
]
|
|
296
|
+
python_steps = jobs.get("python", {}).get("steps", [])
|
|
297
|
+
actual_synthetic = [
|
|
298
|
+
step for step in python_steps if isinstance(step, dict) and step.get("name") in synthetic
|
|
299
|
+
] if isinstance(python_steps, list) else []
|
|
300
|
+
if (actual_synthetic != expected_synthetic
|
|
301
|
+
or json.dumps(actual_synthetic, sort_keys=True) != json.dumps(expected_synthetic, sort_keys=True)):
|
|
302
|
+
errors.append(prefix + "synthetic native controls must retain exact authenticated ID readback, retention and byte verification")
|
|
303
|
+
return errors
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
def triage_report_errors(workflow: dict[str, Any] | None, name: str) -> list[str]:
|
|
307
|
+
"""Keep the two triage uploads intact apart from their seven-day retention."""
|
|
308
|
+
uploads = {
|
|
309
|
+
"metrics-update.yml": ("metrics", {
|
|
310
|
+
"name": "Upload diagnostics", "if": "${{ always() }}",
|
|
311
|
+
"uses": "actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02",
|
|
312
|
+
"with": {"name": "publication-metrics-diagnostics", "if-no-files-found": "ignore",
|
|
313
|
+
"retention-days": 7,
|
|
314
|
+
"path": "_data/metrics.yml\ntmp/metrics-report.json\ntmp/metrics-unmatched.tsv\n"},
|
|
315
|
+
}),
|
|
316
|
+
"source-checks.yml.tmpl": ("public-sources", {
|
|
317
|
+
"name": "Retain source-check reports", "if": "always()",
|
|
318
|
+
"uses": "actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02",
|
|
319
|
+
"with": {"name": "public-source-checks-${{ github.run_id }}-${{ github.run_attempt }}",
|
|
320
|
+
"path": "${{ runner.temp }}/unaltraweb-source-reports/",
|
|
321
|
+
"if-no-files-found": "error", "retention-days": 7},
|
|
322
|
+
}),
|
|
323
|
+
}
|
|
324
|
+
job_name, expected = uploads[name]
|
|
325
|
+
if not isinstance(workflow, dict) or not isinstance(workflow.get("jobs"), dict):
|
|
326
|
+
return [name + ": missing triage report workflow"]
|
|
327
|
+
reports = [(job, step) for job, step in _steps(workflow) if step.get("name") == expected["name"]]
|
|
328
|
+
if reports != [(job_name, expected)]:
|
|
329
|
+
return [name + ": triage upload must retain always(), exact paths/pin and seven-day retention"]
|
|
330
|
+
return []
|
|
331
|
+
|
|
332
|
+
|
|
213
333
|
def validate_workflows(root: Path = WORKFLOW_ROOT) -> list[str]:
|
|
214
334
|
errors: list[str] = []
|
|
215
335
|
try:
|
|
@@ -1038,6 +1158,8 @@ def validate_workflows(root: Path = WORKFLOW_ROOT) -> list[str]:
|
|
|
1038
1158
|
errors.append(f"codeql.yml: missing {language} analysis")
|
|
1039
1159
|
|
|
1040
1160
|
ci = workflows.get("ci.yml", {})
|
|
1161
|
+
errors.extend(ci_scope_errors(ci))
|
|
1162
|
+
errors.extend(triage_report_errors(workflows.get("metrics-update.yml"), "metrics-update.yml"))
|
|
1041
1163
|
ci_on = ci.get("on", {})
|
|
1042
1164
|
for event in ["push", "pull_request"]:
|
|
1043
1165
|
if event not in ci_on:
|
|
@@ -1640,6 +1762,14 @@ def validate_workflows(root: Path = WORKFLOW_ROOT) -> list[str]:
|
|
|
1640
1762
|
if publish != expected_publish:
|
|
1641
1763
|
errors.append("site-release.yml: privileged publication job differs from the exact reviewed structure")
|
|
1642
1764
|
|
|
1765
|
+
source_path = ROOT / "src/unaltraweb_mcp/scaffolds/common/.github/workflows/source-checks.yml.tmpl"
|
|
1766
|
+
try:
|
|
1767
|
+
source_control = load_workflow(source_path)
|
|
1768
|
+
except Exception as exc:
|
|
1769
|
+
errors.append(f"scaffold source-checks.yml: invalid YAML: {exc}")
|
|
1770
|
+
else:
|
|
1771
|
+
errors.extend(triage_report_errors(source_control, "source-checks.yml.tmpl"))
|
|
1772
|
+
|
|
1643
1773
|
scaffold_path = ROOT / "src/unaltraweb_mcp/scaffolds/common/.github/workflows/deploy.yml.tmpl"
|
|
1644
1774
|
try:
|
|
1645
1775
|
scaffold = load_scaffold_deploy(scaffold_path, integration)
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"$schema": "component-contract.schema.json",
|
|
3
3
|
"schema_version": 1,
|
|
4
4
|
"release": {
|
|
5
|
-
"version": "0.9.
|
|
6
|
-
"tag": "v0.9.
|
|
5
|
+
"version": "0.9.1",
|
|
6
|
+
"tag": "v0.9.1"
|
|
7
7
|
},
|
|
8
8
|
"consumer_integration": {
|
|
9
9
|
"schema_version": 1,
|
|
10
10
|
"core_repository": "https://github.com/dosquartsdedocs/unaltraweb.git",
|
|
11
|
-
"core_sha": "
|
|
11
|
+
"core_sha": "5d3f6190320b3bc28377eb6cc99e640e77d0bf45",
|
|
12
12
|
"site_deploy_workflow": "dosquartsdedocs/unaltraweb/.github/workflows/site-deploy.yml",
|
|
13
|
-
"site_deploy_workflow_sha": "
|
|
14
|
-
"manual_pdf_image": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:
|
|
13
|
+
"site_deploy_workflow_sha": "5d3f6190320b3bc28377eb6cc99e640e77d0bf45",
|
|
14
|
+
"manual_pdf_image": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:aa5b4bc16f6ce74142ee400cab43f8d18cbf315495bb2f203adf7e0ccec185a8",
|
|
15
15
|
"vegavisuals_sha": "a448cc50a5f511743a6fcfc213baeb9be80f4a27"
|
|
16
16
|
},
|
|
17
17
|
"deployment_contract": {
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
{
|
|
33
33
|
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:38f62cba21cd2b50a3512bd00743a3a8413c89b99f51b55d1bb47d1bb72bad3c",
|
|
34
34
|
"producer_sha": "987412c72bee7f643125c5d7ce2cb1ee75416360"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:aa5b4bc16f6ce74142ee400cab43f8d18cbf315495bb2f203adf7e0ccec185a8",
|
|
38
|
+
"producer_sha": "837654723e667f497fc535aeacb2940a40fae490"
|
|
35
39
|
}
|
|
36
40
|
],
|
|
37
41
|
"caller_migrations": [
|
|
@@ -66,10 +70,10 @@
|
|
|
66
70
|
"gem": {
|
|
67
71
|
"kind": "gem",
|
|
68
72
|
"name": "unaltraweb",
|
|
69
|
-
"version": "0.9.
|
|
70
|
-
"release": "v0.9.
|
|
73
|
+
"version": "0.9.1",
|
|
74
|
+
"release": "v0.9.1",
|
|
71
75
|
"release_status": "ready",
|
|
72
|
-
"reference": "unaltraweb (= 0.9.
|
|
76
|
+
"reference": "unaltraweb (= 0.9.1)",
|
|
73
77
|
"repository": "https://github.com/dosquartsdedocs/unaltraweb",
|
|
74
78
|
"included_in_wheel": false,
|
|
75
79
|
"features": ["jekyll-core", "site-build"]
|
|
@@ -77,10 +81,10 @@
|
|
|
77
81
|
"wheel": {
|
|
78
82
|
"kind": "python-wheel",
|
|
79
83
|
"name": "unaltraweb-mcp",
|
|
80
|
-
"version": "0.9.
|
|
81
|
-
"release": "v0.9.
|
|
84
|
+
"version": "0.9.1",
|
|
85
|
+
"release": "v0.9.1",
|
|
82
86
|
"release_status": "ready",
|
|
83
|
-
"reference": "unaltraweb-mcp==0.9.
|
|
87
|
+
"reference": "unaltraweb-mcp==0.9.1",
|
|
84
88
|
"repository": "https://github.com/dosquartsdedocs/unaltraweb",
|
|
85
89
|
"included_in_wheel": true,
|
|
86
90
|
"features": ["calibre-import", "doctor", "new-web", "offline-inspection", "mcp-control-plane", "source-ci"]
|
|
@@ -88,10 +92,10 @@
|
|
|
88
92
|
"runtime": {
|
|
89
93
|
"kind": "container",
|
|
90
94
|
"name": "unaltraweb runtime",
|
|
91
|
-
"version": "0.9.
|
|
92
|
-
"release": "v0.9.
|
|
95
|
+
"version": "0.9.1",
|
|
96
|
+
"release": "v0.9.1",
|
|
93
97
|
"release_status": "ready",
|
|
94
|
-
"reference": "ghcr.io/dosquartsdedocs/unaltraweb:0.9.
|
|
98
|
+
"reference": "ghcr.io/dosquartsdedocs/unaltraweb:0.9.1",
|
|
95
99
|
"image_repository": "ghcr.io/dosquartsdedocs/unaltraweb",
|
|
96
100
|
"repository": "https://github.com/dosquartsdedocs/unaltraweb",
|
|
97
101
|
"included_in_wheel": false,
|
|
@@ -100,10 +104,10 @@
|
|
|
100
104
|
"mcp": {
|
|
101
105
|
"kind": "container",
|
|
102
106
|
"name": "unaltraweb MCP runtime",
|
|
103
|
-
"version": "0.9.
|
|
104
|
-
"release": "v0.9.
|
|
107
|
+
"version": "0.9.1",
|
|
108
|
+
"release": "v0.9.1",
|
|
105
109
|
"release_status": "ready",
|
|
106
|
-
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-mcp:0.9.
|
|
110
|
+
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-mcp:0.9.1",
|
|
107
111
|
"image_repository": "ghcr.io/dosquartsdedocs/unaltraweb-mcp",
|
|
108
112
|
"repository": "https://github.com/dosquartsdedocs/unaltraweb",
|
|
109
113
|
"included_in_wheel": false,
|
|
@@ -148,10 +152,10 @@
|
|
|
148
152
|
"manual_pdf": {
|
|
149
153
|
"kind": "container",
|
|
150
154
|
"name": "unaltraweb manual PDF worker",
|
|
151
|
-
"version": "0.9.
|
|
152
|
-
"release": "v0.9.
|
|
155
|
+
"version": "0.9.1",
|
|
156
|
+
"release": "v0.9.1",
|
|
153
157
|
"release_status": "released",
|
|
154
|
-
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:
|
|
158
|
+
"reference": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf@sha256:aa5b4bc16f6ce74142ee400cab43f8d18cbf315495bb2f203adf7e0ccec185a8",
|
|
155
159
|
"image_repository": "ghcr.io/dosquartsdedocs/unaltraweb-manual-pdf",
|
|
156
160
|
"repository": "https://github.com/dosquartsdedocs/unaltraweb",
|
|
157
161
|
"included_in_wheel": false,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unaltraweb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dosquartsdedocs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: classifier-reborn
|
|
@@ -838,6 +838,7 @@ files:
|
|
|
838
838
|
- docs/agents/retained-variant-batch.md
|
|
839
839
|
- docs/agents/scaffold-closeout-118.md
|
|
840
840
|
- docs/agents/software-release-090.md
|
|
841
|
+
- docs/agents/software-release-091.md
|
|
841
842
|
- docs/agents/source-ci-98.md
|
|
842
843
|
- docs/agents/visual-companions-0.4.0.md
|
|
843
844
|
- docs/agents/web-practices-reconciliation.md
|