Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f34fd54
Implement printf builtin command
AlexandreYang Mar 11, 2026
f41229a
update .claude/skills/code-review/SKILL.md
AlexandreYang Mar 11, 2026
d3c15e4
update .claude/skills/code-review/SKILL.md
AlexandreYang Mar 12, 2026
7c6e39e
Add comprehensive test coverage for printf builtin
AlexandreYang Mar 12, 2026
748a74f
Address PR review comments: fix printf bash compatibility
AlexandreYang Mar 12, 2026
669df66
revert .claude/skills/code-review/SKILL.md
AlexandreYang Mar 12, 2026
8ce4c4b
Fix printf bash compatibility issues from self-review
AlexandreYang Mar 12, 2026
e75142d
Fix printf bash compatibility: uppercase floats, raw bytes, %c width,…
AlexandreYang Mar 12, 2026
02be117
Fix printf bash compatibility: unknown flags, bare quotes, specifier …
AlexandreYang Mar 12, 2026
7277e4b
Fix %c to emit raw bytes instead of UTF-8 runes
AlexandreYang Mar 12, 2026
c674263
Fix sign flags on unsigned conversions and %c raw byte output
AlexandreYang Mar 12, 2026
a390957
Address PR review comments: fix float formatting bash compatibility
AlexandreYang Mar 12, 2026
07f8669
Update skill: All commits created in this sub-step MUST be prefixed w…
AlexandreYang Mar 12, 2026
0d6f88e
[iter 1] Address PR review comments: fix allowlist, %c precision, \0 …
AlexandreYang Mar 12, 2026
f682124
[iter 2] Add \u and \U Unicode escape support for printf
AlexandreYang Mar 12, 2026
cbf1cec
[iter 3] Fix numeric prefix parsing, float octal handling, and length…
AlexandreYang Mar 12, 2026
3ce5aa0
[iter 4] Fix overflow handling and remove big-int formatting for bash…
AlexandreYang Mar 12, 2026
448386a
[iter 5] Fix bash comparison test failures: use correct error message
AlexandreYang Mar 12, 2026
bf8a2f0
[iter 6] Fix unsigned overflow, float prefix parsing, and signed NaN
AlexandreYang Mar 12, 2026
131d093
[iter 6] Add math.MaxUint64 and math.NaN to allowed symbols
AlexandreYang Mar 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .claude/skills/review-fix-loop/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ Run the **address-pr-comments** skill:
```
This reads all unresolved review comments, evaluates validity, implements fixes, commits, pushes, and replies/resolves threads.

**Commit message prefix:** All commits created in this sub-step MUST be prefixed with the current loop iteration number, e.g. `[iter 3] Fix null check in parser`.

Wait for completion before proceeding to 2C.

### Sub-step 2C — Fix CI failures
Expand All @@ -153,6 +155,8 @@ Run the **fix-ci-tests** skill:
```
This checks for failing CI jobs, downloads logs, reproduces failures locally, fixes them, and pushes.

**Commit message prefix:** All commits created in this sub-step MUST be prefixed with the current loop iteration number, e.g. `[iter 3] Fix flaky test timeout`.

Wait for completion before proceeding to 2D.

---
Expand Down
1 change: 1 addition & 0 deletions SHELL_FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Blocked features are rejected before execution with exit code 2.
- ✅ `grep [-EFGivclLnHhoqsxw] [-e PATTERN] [-m NUM] [-A NUM] [-B NUM] [-C NUM] PATTERN [FILE]...` — print lines that match patterns; uses RE2 regex engine (linear-time, no backtracking)
- ✅ `head [-n N|-c N] [-q|-v] [-z] [FILE]...` — output the first part of files (default: first 10 lines)
- ✅ `ls [-1aAdFhlpRrSt] [FILE]...` — list directory contents
- ✅ `printf FORMAT [ARGUMENT]...` — format and print data to stdout; supports `%s`, `%b`, `%c`, `%d`, `%i`, `%o`, `%u`, `%x`, `%X`, `%e`, `%E`, `%f`, `%F`, `%g`, `%G`, `%%`; format reuse for excess arguments; `%n` rejected (security risk); `-v` rejected
- ✅ `strings [-a] [-n MIN] [-t o|d|x] [-o] [-f] [-s SEP] [FILE]...` — print printable character sequences in files (default min length 4); offsets via `-t`/`-o`; filename prefix via `-f`; custom separator via `-s`
- ✅ `tail [-n N|-c N] [-q|-v] [-z] [FILE]...` — output the last part of files (default: last 10 lines); supports `+N` offset mode; `-f`/`--follow` is rejected
- ✅ `true` — return exit code 0
Expand Down
Loading
Loading