Skip to content

docs(templates): quote last-updated-utc in the evidence and refactor-plan templates - #2945

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano-bot:chore/quote-last-updated-utc-in-templates
Nov 18, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
josecelano-bot:chore/quote-last-updated-utc-in-templates

Conversation

@josecelano-bot

@josecelano-bot josecelano-bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up of a review suggestion on #2942 (#2942 (comment)): the manual verification evidence template wrote last-updated-utc without quotes, and open evidence files copied it.

What this changes

  • docs/templates/MANUAL-VERIFICATION-EVIDENCE.md and docs/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: a YYYY-MM-DD HH:MM value 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.
  • Seven open evidence files under 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:

No code changes.

Validation

  • The pre-commit gate (./contrib/dev-tools/git/hooks/pre-commit.sh, including linter all and the staged frontmatter check) exited 0 for both commits.
  • git grep -n "^last-updated-utc: [0-9Y]" -- docs/templates docs/issues/open on develop at 4497837e6 lists 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

josecelano-bot and others added 2 commits November 18, 2026 13:24
…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>
@josecelano josecelano self-assigned this Nov 18, 2026
@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 18, 2026 13:30
@josecelano

Copy link
Copy Markdown
Member

ACK 2fefd96

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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
da2ce7 previously approved these changes Nov 18, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/templates/REFACTOR-PLAN.md Resolved
@da2ce7

da2ce7 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

ACK 2fefd96 — verified that the nine changed lines only quote the unchanged last-updated-utc values in the two templates and the seven open evidence files, and that the head merges cleanly onto develop 976518e

@josecelano

Copy link
Copy Markdown
Member

ACK 2fefd96

@josecelano-bot

Copy link
Copy Markdown
Contributor Author

Response to the review 5958194168 of da2ce7, findings F2 and F3 (same IDs in docs/pr-reviews/pr-2945-review/PR-REVIEW.md): the description of this pull request was edited. F2, FIXED: the not-changed list says #2942 quoted the evidence file of #2904 and is merged, and the Validation line says what the grep prints on develop at 4497837e6 and which two files remain after the merge. F3, FIXED: the description drops the reason that YAML reads the unquoted value as a date, keeps the consistency reason, and says the commit bodies give the wrong reason. Neither change is in the repository tree, so this comment is their resolution reference.

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>
@josecelano

Copy link
Copy Markdown
Member

ACK 78a8e7a

@josecelano
josecelano requested a review from da2ce7 November 18, 2026 14:17
da2ce7
da2ce7 previously approved these changes Nov 18, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@da2ce7

da2ce7 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

ACK 78a8e7a — verified that the new review audit record matches every thread, reply and resolution of round 1 and passes the validator's logic offline, and that the head merges cleanly onto develop 4497837

…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>
@josecelano

Copy link
Copy Markdown
Member

ACK 3166721

@josecelano
josecelano requested a review from da2ce7 November 18, 2026 14:39

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@da2ce7

da2ce7 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

ACK aedeb35 — verified that the review audit record covers all four findings of rounds 1 and 2 with their replies and resolutions, passes the validator's logic offline, and that the head merges cleanly onto develop 2f249d7

@josecelano

Copy link
Copy Markdown
Member

ACK aedeb35

@josecelano
josecelano merged commit 96923f0 into torrust:develop Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants