Skip to content

evidence report: generated is the single source; main keeps a stub (Closes #5206) - #5207

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5206-20261015T2021Z
Oct 15, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5206-20261015T2021Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Closes #5206 (sibling of #4963 / #5057).

Change. The evidence report has one copy, on the generated branch. Main keeps a stub docs/language_status/evidence_report/README.md; the rest of that directory is git-ignored.

  • evidence_report.py: materialize() fetches the published copy into the ignored directory for --check, --refresh and --deltas (it fails loudly when neither generated nor disk has a report). The stub is never overwritten unless EVIDENCE_REPORT_WRITE_INDEX=1 (the refresh workflow only). support_matrix.py and estate_intake.py read the published copy.
  • Tests read a frozen snapshot, tests/fixtures/evidence_report/ (moved with git mv, labelled as not current). test_the_committed_reports_are_current is gone (the release gate is the check).
  • Guard: tests/tools/test_evidence_report_single_source.py: only the stub is tracked there, and no doc/agent/skill on main names a file of the report (except through generated_branch.py show).
  • README, docs/ci.md, definition_of_done.md, feature_inventory.md, the pr-worker agent and the blocker-slice / cics-command-slice skills now point at generated / generated_branch.py show. README's dated "96 at L2+, 34 at L4" numbers are dropped.

Workflow edits (allowed for this item, owner queued CI work): evidence-refresh.yml sets EVIDENCE_REPORT_WRITE_INDEX=1 on the report step; smoke-test.yml drops the now-unused EVIDENCE_REPORT_ADVISORY; full-suite-gate.yml keeps it (unused, harmless) so the pipeline-pin line table stays valid. publish.yml is unchanged (--check --live materializes itself).

Class table. Readers of main's copy: README, docs (6), agent, 2 skills, evidence_report.py, support_matrix.py, estate_intake.py, tests: all handled. Other generated-only pages (generated_docs.PAGES): no main doc links them by file (checked).

Cross-repo: none. Overlaps PR #5194 (support_matrix.py, test_support_matrix.py, feature_inventory.md): small edits; whichever merges second merges main.

Gates: pr_gates --fast 6/6; --ratchets 8 pass, 0 fail, 0 skipped; 141 targeted tests pass. No golden bless (no parsing change).

Sibling gaps: evidence_report.py --check --live compares the published (non-live render, "at build time") text with a live render, so it reports every file "not current" against generated, on main too before this PR (verified on origin/main). The release gate publish.yml therefore cannot pass as written; non-live --check works and shows real drift. Needs its own fix (publish with --live semantics, or the gate compares the non-live render).

Lessons for agents

  • evidence_report.py --check --live fails against the published generated copy even when it is current (live vs non-live render text); use non-live --check to see real drift.

🤖 Generated with Claude Code

… README and a test snapshot (WIP, Part of #5206)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 15, 2026 20:44
@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 20:46
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5207 @ 2edf65c: 1 failed check(s)

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38804358312/job/116661270560
repro: python -m pytest -q tests/test_source_reads.py::test_no_source_read_loses_a_byte
failing tests: tests/test_source_reads.py::test_no_source_read_loses_a_byte
errors:
fail-on-cache-miss: false
E AssertionError: #3813: decode through gitgalaxy.core.source_text (read_source / open_source / decode_bytes) instead of a lossy errors= handler or a text-mode read of an estate file:
tests/test_source_reads.py:145: AssertionError
FAILED tests/test_source_reads.py::test_no_source_read_loses_a_byte - AssertionError: #3813: decode through gitgalaxy.core.source_text (read_source / open_source / decode_bytes) instead of a lossy errors= handler or a text-mode read of an e
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 239218
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 5b0f7a4b86935fcdfed470eb2f8620d7a6ffca0eb7a66610f27885cbaa5fb344
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 12006316078
Artifact test-times-part-3 has been successfully uploaded! Final size is 239218 bytes. Artifact ID is 12006316078
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38804358312/artifacts/12006316078
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/03a75664-b4ae-410b-b91d-907a8a4be37f' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 15, 2026 16:55
…table), lossless reads in the guard test (Part of #5206)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (12edcab) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 21:01
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 14a20ce into main Oct 15, 2026
34 checks passed
@squid-protocol
squid-protocol deleted the churn/5206-20261015T2021Z branch October 15, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evidence report: main's committed copy is stale since the move to the generated branch (L-levels read from Oct 12)

1 participant