Skip to content

fix: emit bare path from mktmpdir.py and sync README/GUIDE tables - #17

Merged
Benkapner merged 2 commits into
mainfrom
fix/workspace-docs-and-mktmpdir
Sep 30, 2026
Merged

Benkapner merged 2 commits into
mainfrom
fix/workspace-docs-and-mktmpdir

Conversation

@Benkapner

Copy link
Copy Markdown
Owner

Two workspace fixes found while reviewing #15 and #16.

mktmpdir.py printed prose on stdout

CLAUDE.md documents the script as "outputs the created path", but it printed the full sentence Created task directory: <path> to stdout. Any caller doing mkdir "$(uv run mktmpdir.py)" creates a directory literally named after the sentence. This already happened in a live workspace.

Status text now goes to stderr, stdout carries the bare path:

$ uv run .ai-workspace/scripts/mktmpdir.py smoke-test 2>/dev/null
.tmp/smoke-test

commands/architecture-docs already redirects stderr, so it is unaffected. No test asserted the old format.

README and GUIDE were out of date

Both listed 5 skills and 16 commands. The workspace has 9 and 24.

Added to both files:

  • Skills: ci-guard, cost-speed-meter, semantic-versioning, update-docs
  • Commands: /check-code, /harness-lint, /harness-review, /harness-security, /repo-sync, /skill-review, /skill-verify, /update-docs
  • Agent doc: workspace-development (GUIDE only)

Descriptions are taken from each item's frontmatter. These tables are hand-maintained, so align-workspace.py does not catch the drift.

Note on the markdown commit

This branch cherry-picks fix: Auto-format markdown files to pass ruff format check from #16 so CI is green standalone. main is currently red on ruff format --check because ruff>=0.11 resolves to 0.16.x, which formats markdown code blocks. If #16 merges first the duplicate resolves to a no-op.

Verification

All four CI jobs pass locally: ruff check, ruff format --check, 177 tests, workspace alignment, pre-commit.

Benkapner and others added 2 commits September 30, 2026 23:17
mktmpdir.py printed "Created task directory: <path>" on stdout while
CLAUDE.md documents it as outputting the path. Callers using
$(mktmpdir.py) created directories literally named after the whole
sentence. Status now goes to stderr and stdout carries the path alone.

README and GUIDE listed 5 skills and 16 commands; the workspace has 9
and 24. Adds the missing ci-guard, cost-speed-meter, semantic-versioning
and update-docs skills, the eight missing commands, and the
workspace-development agent-doc.
@Benkapner
Benkapner merged commit d83c159 into main Sep 30, 2026
4 checks 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.

2 participants