Repository navigation
Conversation
A random six-hex run id such as 101abc contains 101, so the test that rejects 101 in the report failed by chance. Closes #236 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… by name On a case-insensitive disk, a course .idstack linked to ~/.IDSTACK resolved to a path whose name differs from ~/.idstack, so the merge wrote into the home profile. Use os.path.samefile when both paths exist. Add a test for a manifest file linked into ~/.idstack/, and mutation case 81a (macOS only). Closes #235 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g shape A list import_metadata made the 1.3 to 1.4 step raise AttributeError and print a traceback. Catch errors in the migration chain, print nothing on stdout, and say that the manifest did not change. Mutation case 81b. Closes #227 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A step inside <section>, <article> or another block wrapper used the 25-word limit, because the walk skipped only div, p and li. Invert the rule: name the tags that end a step (table parts and labels). Mutation case 81c. Closes #229 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The writing-check step in 14 skill blocks and the Step Review append, approve and finish commands put the model-filled path in a double-quoted shell string, so $( ) or a backtick in it ran. Read it with IFS= read -r <<'MARKER', as the other pasted values are. smoke-test fails on a "<path>" in a template; test-skill-shell-zsh runs a hostile path in bash and zsh. Mutation case 81d. Closes #233 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s host Refuse a Canvas URL with @ in the settings and connection-check blocks of both skills: curl connects to the host after @ and would send the token there. Start each curl call with -q (no ~/.curlrc) and pass -g, in the order idstack-canvas-diff uses. Give every course-import Canvas read --max-time 60, as the export has. The fake curl in test-skill-shell-zsh now notes a call with no -q first or no -g, and the suite runs each course-import read through it. Mutation cases 81e-81g; 68f anchor updated. Closes #222 Closes #224 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When apt-get update listed only packages.microsoft.com, zsh had no installation candidate and the mutation step was skipped. On a failed install, add the archive for VERSION_CODENAME from /etc/os-release and try once more, in both Linux zsh steps. Closes #234 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: b2c60c71-c5c0-496e-acad-6f26f0c6301f) |
… open The windows CI job failed the concurrent-merge test with WinError 5: Windows refuses os.replace while another process (a virus scanner) has the target open. Try again for 2 seconds, then fail as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Fixes for eight open bugs.
101abccan no longer match101.os.path.samefile. On a case-insensitive disk~/.IDSTACKis~/.idstack, and a manifest linked into the home profile is refused (exit 9).import_metadatalist) gives exit 1 and a clear message. Before, it gave a traceback. The manifest does not change.section,figureordetailsno longer stops the step length check.@, which changes the host. Every curl call usescurl -q -K - -s -g --max-time 60.Tests: smoke-test 709/709, integration 81/81, test-setup 21/21, test-doctor 64/64, test-status 50/50, and the python suites pass on macOS. New mutation cases are 81a–81g. I did not run the full mutation run (about 2.5 h) locally; CI runs it.
Closes #222
Closes #224
Closes #227
Closes #229
Closes #233
Closes #234
Closes #235
Closes #236
🤖 Generated with Claude Code
Note
Medium Risk
Touches manifest writes, Canvas token handling, and widespread skill bash blocks; changes are defensive fixes with matching smoke tests rather than new behavior.
Overview
This PR bundles eight bug fixes across scripts, skills, CI, and docs.
Manifest and migration:
idstack-manifest-mergenow treats~/.IDSTACK/~/.idstackas the home profile usingos.path.samefile(not string compares), retriesos.replaceon Windows when the file is briefly locked, and shares that home detection withidstack-migrate --init. Migration steps are wrapped so a malformed section (e.g. list instead of object) exits 1 with a clear message instead of a Python traceback.Writing check:
idstack-ste-checkapplies the 20-word procedural limit for any text inside an ordered list, including when wrapped insection/article; only tables and label-like blocks end a numbered step.Skills / shell safety (#233): Step Review and writing-check bash blocks load report and file paths via quoted heredocs (
_RS_PATH,_STE_PATH) instead of embedding"<path>"in double-quoted strings, so paths with$( )or backticks cannot run as shell. Smoke-test adds a guard that templates must not use"<path>"in quoted strings.Canvas (#222, #224):
course-importandcourse-exportreject URLs containing@(CANVAS_URL_BAD) before savingcanvas.env, and all Canvascurlcalls usecurl -q … -g --max-time 60so tokens stay on the intended host and hung reads stop after 60s. CLAUDE.md documents the same curl pattern.CI (#234): Linux jobs retry
zshinstall by adding the Ubuntu archive when apt only lists Microsoft packages.Changelog, cli-reference.md, and test assertion counts are updated accordingly.
Reviewed by Cursor Bugbot for commit bed6a54. Bugbot is set up for automated code reviews on this repo. Configure here.