Repository navigation
docs(templates): quote last-updated-utc in the evidence and refactor-plan templates - #2945
Conversation
…plan templates The issue and EPIC templates already write the stamp as a double-quoted string, which the frontmatter validator requires for those specs. The manual verification evidence and refactor plan templates still wrote it unquoted, which YAML tooling can read as a date. Raised by a review of PR torrust#2942. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…evidence files Six open evidence files copied the unquoted stamp from the template. The values are unchanged; only the quoting is added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
ACK 2fefd96 |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the documentation timestamp-quoting changes.
No open issues 🎉
What changed in this PR
Standardizes last-updated-utc as a quoted YAML string in documentation templates and open issue evidence, following feedback on #2942. No runtime code changes.
Changes:
- Quote timestamp placeholders in the manual-verification evidence and refactor-plan templates.
- Apply the same quoting to seven open evidence files without changing timestamp values.
| File | Description |
|---|---|
docs/templates/REFACTOR-PLAN.md |
Quote the timestamp placeholder. |
docs/templates/MANUAL-VERIFICATION-EVIDENCE.md |
Quote the timestamp placeholder. |
docs/issues/open/2798-peer-ord-inconsistent-with-eq/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2769-2758-e2e-runners-json/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2768-2758-tracker-client-json-only/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2766-2758-daemon-json-logging/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2763-2758-dev-tool-checks-ndjson/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/manual-verification-evidence.md |
Quote the existing timestamp. |
docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/manual-verification-evidence.md |
Quote the existing timestamp. |
Review effort: Balanced
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 2fefd9672d457292c8d73746d7580d3c42b1631e. Recomputed from the bytes at this head, against the merge base 00b55c81c; git merge-tree against develop 976518e6c merges cleanly and adds exactly these nine one-line changes to develop.
Process: a docs fix to two canonical templates and the open records copied from them, governed by create-markdown-template (location, catalog rows in docs/templates/README.md and docs/index.md, valid frontmatter), commit-changes and open-pull-request. Both catalog rows exist and a quoting fix changes neither; the skill-link marker of the refactor-plan template names create-refactor-plan, which has no stamp guidance to keep in step.
The change against its claim: each of the nine lines only wraps the existing value in double quotes (removed and added lines compared by script). The quoted form matches docs/templates/ISSUE.md:12 and docs/templates/EPIC.md:9, and the validator requires it for issue and EPIC specs (validate_utc_minute_string in src/profile.rs; step 4 of the README's migration list). At the merge base eight open evidence files carried the unquoted stamp; this head quotes seven and leaves the one of #2904, and the description's grep lists exactly the three files it names.
Consistency: outside issue, plan, research and review records, no skill, template or guide still shows an unquoted stamp except a date-only one in packages/configuration/docs/migrate-v2-to-v3.md, which no template covers. Templates are never validated and evidence and plan records have no strict profile, so the validator's result does not move.
Hygiene: both subjects are Conventional with an area scope and no issue reference, which fits a chore/ branch without a tracked issue; author equals committer; git diff --check is clean; the commit-id check prints nothing; the closing-keyword pattern matches nothing in the title, the description or the commits. Each commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.
Findings: F1 and F2 (Minor), F3 (Nit), inline; none blocks.
Checked, no finding: the origin (F6 of the #2942 audit at develop, which counts the same seven files), the unchanged values, the catalog rows, and the not-changed closed, analysis and features specs.
Checks
On the loop's compute node at this head, against the merge base 00b55c81c (receipt server-gates-kranich-1186): the repository's pre-commit gate and lint roster exit 0 (575 s wall). This PR carries no audit record of its own, so the gate ran no validator for it. The PR changes documentation and templates only, so no package tests apply. F1 checked against the bytes at posting: the commit body of 2fefd9672 says "Six open evidence files", and the commit changes seven manual-verification-evidence.md files. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 4497837e6.
|
ACK 2fefd96 |
|
Response to the review |
Creates the audit record of this pull request with da2ce7's three findings: F1 declined (no history rewrite), F2 and F3 fixed in the description. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
ACK 78a8e7a |
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 78a8e7af96ac98780981d127374b39cf6d0842c8. Recomputed from the bytes at this head, against the merge base 00b55c81c; git merge-tree against develop 4497837e6 merges cleanly and adds the nine one-line changes and the new review audit record to develop.
Process: one commit moved, adding docs/pr-reviews/pr-2945-review/PR-REVIEW.md under process-pr-review. Its Ownership, Status Values and Completion Rules blocks match docs/templates/PR-REVIEW-TEMPLATE.md byte for byte, with one row and one detail entry per finding and a Processing Log.
The change against its claim: the commit does what its body says. Each row matches the capture: source comment, review 5958194168, severity bracket, one reply on the row's own thread; F1 is NO_ACTION/SUPERSEDED with a Superseded by F1: … reply, F2 and F3 are FIXED/RESOLVED with a conversation response naming the review and both findings, and all three threads are resolved. The log's times match the forge times. The validator's own logic, run offline against the capture with only its commit fetch replaced by the local range, reports 3 rows, 2 log entries, 0 failures.
Earlier findings: F1 is closed as declined; the commit body still says six, and the description and the record say why, the outcome my round 1 comment allowed. F2 is fixed: the description says #2942 merged, its grep on 4497837e6 lists the nine changed files plus the #269 spec and the #1347 guidelines page, and only those two remain on the merged tree. F3 is fixed in the description, apart from F7.
Hygiene: Conventional subject with an area scope; author equals committer; git diff --check from 00b55c81c is clean; the commit-id check prints nothing (4497837e6, the one commit id the record cites, is the tip of develop); the closing-keyword pattern matches nothing in the title, the description or the new commit. The new commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.
Findings: F7 (Nit), inline; none blocks.
Checked, no finding: the stamp equals the minute of the last log entry; F1's no-rewrite reason against the history rules of open-pull-request; the dictionary covers the record's words; nothing under docs/pr-reviews/ registers records.
Checks
On the loop's compute node at this head, against the merge base 00b55c81c (receipt server-gates-kranich-1192): the repository's pre-commit gate and lint roster exit 0 (44 s wall), and the audit validator passes this pull request's record (3 rows, 2 log entries, 0 failures). The PR changes documentation and templates only, so no package tests apply. Checked against the bytes at posting: docs/pr-reviews/pr-2945-review/PR-REVIEW.md at this head carries three finding rows, one per round-1 finding. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 4497837e6.
…review audit of PR torrust#2945 Only the first commit's body gives the YAML-date reason; the Solution of F3 said the commit bodies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Records da2ce7's nit F7, its fix, the rejected first push, the reply, validation and resolution. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
ACK 3166721 |
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at aedeb35e4aa6b568055003bbfe7bd5b5d38d9d7f. Recomputed from the bytes at this head, against the merge base 00b55c81c; git merge-tree against develop 2f249d7e0 merges cleanly and adds the nine one-line changes and the review audit record to develop (10 files, +146/-9).
Process: two commits moved since the last review, both on docs/pr-reviews/pr-2945-review/PR-REVIEW.md under process-pr-review: docs(pr-reviews): say which commit body gives the date reason in the review audit of PR #2945 (the Solution of F3, the stamp) and docs(pr-reviews): record round 2 in the review audit of PR #2945 (the round 2 line, the F7 row and detail entry, a log entry, the stamp).
The change against its claim: both commits do what their bodies say. The F7 row matches the capture: source comment r4615425134 in review 5958423982, the [Nit] bracket, one reply r4615640781 on its own thread, FIXED/RESOLVED, and the fixing commit's subject as Resolution reference. The log entry's times match the forge (review 14:20:14Z, fix 14:28:25Z, reply 14:35:03Z), and the stamp is that entry's minute. The Solution of F3 and the description now name the body of the first commit, which the bodies bear out. The validator's own logic, run offline against the capture with only its commit fetch replaced by the local range, reports 4 rows, 3 log entries, 0 failures.
Earlier findings: F1 is closed as declined; F2, F3 and F7 are fixed and recorded. All four review threads have a reply, a row and a resolution, and no review or comment in the capture is later than the last audit commit.
Hygiene: both subjects are Conventional with an area scope; author equals committer; git diff --check from 00b55c81c is clean; the commit-id check prints nothing; the closing-keyword pattern matches nothing in the title, the description or the new commits. Each new commit carries one attribution footer line (no rule in the tree on it); the description carries one attribution footer line too.
Findings: none.
Checked, no finding: the test the round 2 log entry names is the metrics-fixed-ports target of the root Cargo.toml; that entry's push time fits the timeline; the description is unchanged since the last round.
Checks
On the loop's compute node at this head, against the merge base 00b55c81c (receipt server-gates-kranich-1203): the repository's pre-commit gate and lint roster exit 0 (84 s wall), and the audit validator passes this pull request's record (4 rows, 3 log entries, 0 failures). The PR changes documentation and templates only, so no package tests apply. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 3a12cd095.
|
ACK aedeb35 |
Follow-up of a review suggestion on #2942 (#2942 (comment)): the manual verification evidence template wrote
last-updated-utcwithout quotes, and open evidence files copied it.What this changes
docs/templates/MANUAL-VERIFICATION-EVIDENCE.mdanddocs/templates/REFACTOR-PLAN.md:last-updated-utc: "YYYY-MM-DD HH:MM", quoted as in the issue and EPIC templates. The frontmatter validator already requires the quoted form for issue and EPIC specs (contrib/dev-tools/checks/frontmatter-validator/README.md, rule 4), so this gives every template one form. It is not a parsing fix: aYYYY-MM-DD HH:MMvalue parses as a string with or without quotes, because a YAML 1.1 timestamp needs seconds and the YAML 1.2 core schema has none. The body of the first commit gives the date reason too; it is wrong for this form.docs/issues/open/(the folders of 2361, 2499, 2763, 2766, 2768, 2769 and 2798): the same quoting. The values are unchanged. The body of the second commit says six; seven is right.Not changed:
developsince docs(issues): [#2904] address the review feedback left open on PR #2920 #2942 merged.docs/issues/closed/,docs/analysis/anddocs/features/: historical or outside these templates.docs/issues/open/269-review-dependency-licenses/ISSUE.md: a pre-v1 issue spec, whose migration belongs to the frontmatter schema work, anddocs/issues/open/1347-overhaul-packages-testing/subissue-spec-guidelines.md, a guidelines page with a date-only stamp that no template covers.No code changes.
Validation
./contrib/dev-tools/git/hooks/pre-commit.sh, includinglinter alland the staged frontmatter check) exited 0 for both commits.git grep -n "^last-updated-utc: [0-9Y]" -- docs/templates docs/issues/openondevelopat4497837e6lists the nine files this pull request changes and two more: the Review dependencies licences #269 spec and the Overhaul: Packages Testing #1347 guidelines page named above. After the merge only those two remain.🤖 Generated with Claude Code