You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the selected review and workflow skills, checksum all maintained assets, and include the shared documentation-audit checker fix.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The recovery instructions leave a persistent unauthenticated SYSTEM shell at sign-in, alongside unresolved correctness defects in batch scripts and Markdown auditing.
Missing input or a nonexistent input file prints an error without setting a failure status, so the tool can return success without doing any work. Set explicit nonzero results for both validation branches, capture the operation result before cleanup, and return the saved result afterward. The same issue occurs in the missing-file branch at lines 106–108.
Trim spaces without reparsing values through FOR /F
FOR /F substitutes %%a before delayed expansion scans the assignment, so trimming a value such as Hello! removes the literal exclamation mark as well as whitespace. Its default eol=; also skips values beginning with a semicolon. Trim leading spaces with substring operations, as the trailing-space loop does, rather than reparsing the value through FOR /F.
Generate enough padding to honor the requested width
Padding is limited to the fixed spaces in this literal. For example, padding abc to width 100 returns a shorter string because substring extraction does not extend a string beyond its existing length. Generate padding based on the requested width before truncating, so the function honors its documented width argument.
A nonexistent target only logs an error and returns without a nonzero result, so Task Scheduler can report success even though no task ran. Return an explicit failure here, capture the task result immediately after call :_runMyTask, and preserve it through logging and cleanup to the final exit /b.
Provide a timestamp fallback when WMIC is unavailable
Timestamp generation depends unconditionally on wmic, although the bundled reference notes that WMIC is disabled by default on Windows 11. On those systems every log call emits a command-not-found error and constructs a timestamp from an unset value. Use the PowerShell timestamp alternative already documented by the skill, or provide a checked fallback instead of requiring WMIC.
Parse balanced and escaped Markdown link destinations
The regex truncates a valid destination such as docs/guide(draft).md at its first ), causing a broken-link finding even when the file exists. Parse balanced and escaped Markdown destinations before resolving them.
Match command-scanner fences by character and length
The command scanner uses a different fence parser from the link scanner: it recognizes only backticks and toggles on any three-backtick prefix. Consequently commands in valid ~~~sh blocks are never checked, and a shorter backtick fence inside a four-backtick example prematurely ends command checking. Track the opening fence character and length, and close only on a matching fence, as the Markdown-code exclusion helper already does.
Require valid closing-fence syntax in the link scanner
This condition treats a backtick marker followed by powershell inside an open code block as a closing fence, although closing fences allow only trailing whitespace. That can expose literal example links and hide real links after the actual closing fence. Require a matching character, sufficient length, and whitespace-only trailing text.
Mask multiline code spans without crossing fenced blocks
Markdown code spans can cross line breaks, but this line-by-line masking leaves links inside those spans visible to the checker. A multiline span containing [Fake](not-a-real-link.md) therefore produces a false broken-link finding. Mask spans across the document while preserving line numbers and fenced-block boundaries.
Make PATCH recommendations preserve consumer compatibility
Adding a type annotation is not necessarily non-breaking. For example, changing a public TypeScript parameter from implicit any to number rejects previously valid string callers at compile time, which meets the MAJOR criteria stated above. Make PATCH conditional on preserving accepted inputs and consumer compatibility; otherwise this rule can recommend a patch release for a breaking API change.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved path-resolution defects cause false drift reports, while batch templates corrupt exclamation-mark values and can report success despite cleanup failures.
This assignment uses percent expansion after delayed expansion has been enabled, so literal exclamation marks in the input are interpreted as expansion syntax. Calling the template with padRight "Hello!" 8 loses the exclamation mark rather than padding the original string. Read the already-captured argument through delayed expansion, whose resulting value is not rescanned.
Preserve exclamation marks in the expanded log path
The log path is percent-expanded while delayed expansion is enabled. If %TEMP% contains a valid exclamation mark, such as C:\Users\Jane!\Temp, CMD removes or expands that part of the path and writes to the wrong location or fails to create the log. Expand the stored path with !_logFileMyTask! so its contents are preserved.
A failed temporary-directory removal is completely suppressed, and the final exit still uses the earlier task result. If task operations succeed but leave a locked intermediate file, the scheduled task reports success while retaining that directory. Report cleanup failures and make an otherwise successful task return nonzero, as the executable template already does.
Resolve script paths relative to the effective shell directory
Script paths ignore the working directory tracked for the fenced block. For example, a root README containing cd tools followed by python check.py is reported as missing-script-file even when tools/check.py exists. Resolve each invocation relative to its effective shell directory, including directory changes earlier on the same line, before reporting it as missing.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The checksum manifest contains a mismatched hash for library.txt and omits Tests/BatchLibrary.Tests.ps1, causing repository tests and final validation to fail.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to weigh unpublished behavioral findings spanning command resolution, batch-script failure handling, release-tag ordering, and assertion semantics.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved validation and parsing bugs produce false documentation-drift findings, miss invalid Makefile targets and workspace scripts, and leave batch errors without nonzero exit statuses.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to weigh unpublished moderate findings that could cause misleading results in Python import-reference and workspace-root script checks.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The audit can produce false missing-target and missing-script findings because it overlooks space-indented Make rule headers and scans heredoc payloads as executable commands.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because unpublished findings identify missed npm workspace-root failures and false positives in Java reachability and shell-continuation scanning.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved audit bugs miss nested image references and produce false findings from incorrect Makefile selection, unhandled sudo directory changes, and links inside HTML comments.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because interactions among HTML comments, code fences, and PowerShell here-strings can cause missed link checks and false missing-script findings.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because unpublished findings identify a critical release-baseline error and multiple documentation-audit gaps involving workspace scripts and Markdown handling.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to weigh omitted findings about false command and link warnings from Markdown parsing and incorrect Java environment-setting reachability.
No open issues 🎉
Review effort: Balanced
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github-actions-hardening,pester-should-migration,docs-sync-audit,github-release, andbatch-files.CHECKSUMS.txtfor all maintained skill assets.Validation
git diff --checkpassed.