-
Notifications
You must be signed in to change notification settings - Fork 2
feat(awk): add sandboxed awk builtin with review-fix-loop tool #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
62ea21b
empty
AlexandreYang 0d034d6
feat(awk): add sandboxed awk builtin
AlexandreYang cdf52f6
[iter 1] Fix printf width OOM, -F'\t' tab split, and index() empty ne…
AlexandreYang 6cb3502
feat(tools): add review-fix-loop Go CLI with deterministic loop control
AlexandreYang 294aa22
fmt: format skills.go
AlexandreYang db75833
feat(tools/review-fix-loop): reduce verbosity, add --verbose flag
AlexandreYang f5ec6f1
test(tools/review-fix-loop): add unit tests for pure functions
AlexandreYang f67e090
feat(tools/review-fix-loop): always show bash command lines for progr…
AlexandreYang b4f165a
feat(review-fix-loop): add colors, dot heartbeats, and temp log file
AlexandreYang a4171a0
fix(review-fix-loop): accumulate dots on one line across tool-call ro…
AlexandreYang 0278817
feat(review-fix-loop): write verbose output to log file regardless of…
AlexandreYang c93fab9
feat(review-fix-loop): log model name at startup
AlexandreYang a047f81
[iter 1] Address review comments on awk builtin
AlexandreYang 3e6dd4b
[iter 1] Fix CI compliance failure: add copyright headers to tools/re…
AlexandreYang 77aa405
[iter 2] Address review comments: fix 15 awk correctness/security/sty…
AlexandreYang 5fcdd82
[iter 2] Fix fuzz failure: filter invalid UTF-8 in FuzzAwkFieldSep + …
AlexandreYang ad978f5
[iter 3] Address review comments: fix 6 awk correctness issues
AlexandreYang 8fc2c18
review-fix-loop: base clean streak on review findings, not resolved t…
AlexandreYang 00f0e77
review-fix-loop: suppress intermediate narration on stdout, show only…
AlexandreYang 3b2698c
[iter 1] Address review comments: compare() looksNumeric guard, apply…
AlexandreYang f1be0eb
[iter 1] Fix CI failures: argv var assignments, gh checks error propa…
AlexandreYang 2353169
review-fix-loop: render per-skill summaries as formatted markdown via…
AlexandreYang bd7f033
review-fix-loop: increase glamour output indent to 4 spaces
AlexandreYang c2561ff
[iter 1] Address review comments: missing-file continues, blockedName…
AlexandreYang bf7e92c
[iter 1] Add missing awk ENVIRON security scenario test files
AlexandreYang 6e4eecb
[iter 2] Address review comments: multi-key in ENVIRON, RS comment, S…
AlexandreYang 6604c51
[iter 2] Fix CI workflows: add ready_for_review and workflow_dispatch…
AlexandreYang 90eeee5
Revert "[iter 2] Fix CI workflows: add ready_for_review and workflow_…
AlexandreYang 8fe0d9c
[iter 1] Address review comments: forInStmt storeScalar, loopVar bloc…
AlexandreYang aa84561
[iter 1] Fix CI failures: FuzzAwkProgramText invalid UTF-8 + print_ge…
AlexandreYang 4bf9812
[iter 2] Address review comments: printf safe casts and next-in-end test
AlexandreYang dc1aeef
[iter 2] Fix CI bash comparison failures: add skip_assert_against_bas…
AlexandreYang 740d409
[iter 3] Address review comments: length cap guards, StatFile comment…
AlexandreYang 144bfbf
[iter 3] Fix flaky TestHardeningArrayEntryLimit: increase timeout 10s…
AlexandreYang 6573a31
[iter 4] Address review comments: exit negative wrap, length ENVIRON …
AlexandreYang 97583a1
[iter 4] Fix TestAwkPentestExitNegative: update expected code from 0 …
AlexandreYang bd3881d
[iter 5] Address review comments: fix double awk: prefix and document…
AlexandreYang b51bff0
[iter 5] Address review comments: awk bugs and review-fix-loop improv…
AlexandreYang 119e208
[iter 5] Fix array-as-scalar: error when ident resolves to an array i…
AlexandreYang 60eea06
[iter 5] Add workflow_dispatch trigger to CI, Compliance, and Fuzz wo…
AlexandreYang 12c5781
[iter 5] Fix FuzzAwkVarAssignment: filter invalid UTF-8 in variable a…
AlexandreYang 1007ebd
[iter 5] Fix FuzzAwkProgramText: filter C1 control chars; handle shel…
AlexandreYang 6f49b73
[iter 6] Address review comments: docs, comments, scenario tests
AlexandreYang 61ebed1
[iter 6] Fix split() scalar destination: reject scalar names as split…
AlexandreYang e8949a6
[iter 7] Fix printf Inf/NaN formatting and document StatFile/OpenFile…
AlexandreYang 06e2df5
[iter 8] Fix printLine OOM: add total-size pre-check before strings.J…
AlexandreYang 760b716
[iter 8] Fix TestCmdPentestTailDevZeroByteMode timeout: reduce MaxTot…
AlexandreYang f1d7b0e
[iter 8] Fix bash comparison failure: skip split_scalar_dest against …
AlexandreYang f02ae89
Simplify review-fix-loop: remove redundant scaffolding
AlexandreYang 90b0ac9
Fix review-fix-loop: match bare chatgpt-codex-connector login from Gr…
AlexandreYang 985a0ef
Merge remote-tracking branch 'origin/main' into alex/impl-awk
AlexandreYang a12bda2
[iter 1] Address review comments: fix compare(), TOCTOU wording, loop…
AlexandreYang 0422bd8
review-fix-loop: use caller PWD as working directory
AlexandreYang fbe224d
fmt: gofmt loop.go
AlexandreYang 6570ee6
undo skills
AlexandreYang 264a8cf
[iter 2] Address review comments: scalar/array type errors, -- file a…
AlexandreYang 61c8075
[iter 2] Fix CI failures: awk error YAML skip_assert_against_bash pla…
AlexandreYang fcfc887
[iter 3] Address review comments: %F inf/nan lowercase, doc comment f…
AlexandreYang ee22158
review-fix-loop: flush dots newline on agent error via defer
AlexandreYang 8c83011
[iter 4] Address review comments: printf %u/%o/%x/%X 32-bit clamping …
AlexandreYang bfca6fe
[iter 4] Fix CI failures: add math.MaxUint32 to the symbol allowlist
AlexandreYang bc7dee0
[iter 5] Address review comments: indexKey cap, looksNumeric nan/inf,…
AlexandreYang f671af4
[iter 6] Address review comments: fix gawk/mawk attribution, add ARGV…
AlexandreYang d927a11
[iter 7] Fix incorrect array materialize-on-read documentation and te…
AlexandreYang 263b6f5
[iter 8] Address review comments: printf literal-char cap, gsub ctx n…
AlexandreYang 32ff886
[iter 9] Address review comments: fix misleading comment and improve …
AlexandreYang f773602
[iter 10] Address review comments: fix rebuildRecord pre-check, impro…
AlexandreYang 89a4d36
[iter 11] Address review comments: fix SHELL_FEATURES.md and MaxLoopI…
AlexandreYang 11f834a
[iter 12] Address review comments: enforce MaxFields in splitFields a…
AlexandreYang b5575a8
[iter 13] Address review self-comments: split scalar guard, array byt…
AlexandreYang 14de466
[iter 14] Address review comments: fix arrayTotalBytes accounting for…
AlexandreYang 411643f
fix(address-pr-comments): process all unresolved threads regardless o…
AlexandreYang ca31289
feat(review-fix-loop): gate streak on P0/P1 only for both self-review…
AlexandreYang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ on: | |
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ on: | |
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this target is invoked with
make -C /workspace/rshell review-fix-loopfrom another directory, GNU make keeps$(PWD)as the caller's directory, so the tool is run fromtools/review-fix-loopbut receives--dirpointing outside the repo and then looks for the PR/skills in the wrong place. Use$(CURDIR)so the target consistently passes the repository root after make processes-C.Useful? React with 👍 / 👎.