Repository navigation
fix(onboarding): detect just task runners in readiness scans - #966
Draft
austinchennn wants to merge 1 commit into
Draft
austinchennn wants to merge 1 commit into
austinchennn wants to merge 1 commit into
Conversation
Signed-off-by: Austin <guangchengchen45@gmail.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
HUMAN:
AGENT:
Why
Fixes #955. The onboarding plugin's agent-readiness scan misses root lowercase/hidden justfiles on Linux and ignores documented
just buildcommands, producing incomplete Build & Dev Environment evidence. The issue is ready-for-dev.Summary
.justfile, so case-insensitive hosts do not double-count aliases. Reuse them in build-command and setup-file scans.Issue Number
Fixes #955.
How to Test
uv sync --group test(uv0.13.8; repository seven-day dependency cutoff preserved).uv run pytest -q tests/test_agent_readiness_build_env.py: 8 passed. On original source: 6 failed, 2 passed.uv run pytest -q: 1662 passed, 33 skipped, 6 subtests passed in 113.10s on macOS arm64.uv run python scripts/sync_extensions.py --check: passed, with existing nonblocking marketplace coverage warnings for github-comment-cleanup and issue-duplicate-checker. No generated catalog changes.bash -non the scanner andgit diff --check: passed.Actual Linux proof used an isolated
mysql:8.0local image with/bin/bashas its entrypoint and--network=none(no MySQL server launched, no host mounts, no existing containers touched). Source scripts/fixtures were passed over stdin into the container's/tmp. A lowercase file was created and absence of the uppercase alias verified first. The real scanner was then run on Justfile/justfile/.justfile/JuStFiLe fixtures, README/AGENTSjust buildcases and a Makefile control, on both revisions:Minimal reproduction on Linux: create a root
justfilecontaining# Run just build, then runbash plugins/onboarding/skills/agent-readiness-report/scripts/scan_build_env.sh <fixture>. The file now appears in Setup scripts and has a nonzero build-command reference count. The pytest cases cover the remaining issue criteria.Video/Screenshots
CLI-only change; real scanner output above. No browser or model/provider calls.
Notes
AI-assisted implementation and verification. This PR stays draft because the HUMAN section must be completed by a real human; it has deliberately been left untouched. Skipped full-suite cases are not claimed as tested. No packaged-agent/model behavior evaluation was performed or needed to exercise this scanner entrypoint.