원클릭으로
htcc-parser-regression-workflow
Fix htcc parser regressions with focused component tests, malformed-input QA, and nontermination safeguards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fix htcc parser regressions with focused component tests, malformed-input QA, and nontermination safeguards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Keep htcc CI workflows aligned with the test runner command matrix, especially explicit self/components/subp/docker lists.
Work safely on htcc output replacement, fallback copy, file mode preservation, rollback, symlink, and hard-link behavior.
Handle htcc review comments end-to-end: reproduce, judge validity, apply minimal fixes, verify, review, and prepare commit/push.
Choose and run the correct htcc verification commands for parser, CLI, CI, output permission, Docker, and documentation changes.
Expert Haskell engineer specializing in advanced type systems, pure
| name | htcc-parser-regression-workflow |
| description | Fix htcc parser regressions with focused component tests, malformed-input QA, and nontermination safeguards. |
| risk | safe |
| source | project |
| date_added | 2026-05-18 |
src/Htcc/Parser/** or parser-facing code in app/Main.hs.ATEmpty, manyTill, EOF, Megaparsec, scope restoration, declarations, initializers, or implicit calls.M.many, M.manyTill, M.option, ATEmpty, M.eof, M.try.ATEmpty intentionally.test/Tests/ComponentsTests/Parser/Combinators.hs before adding new helpers.test/Tests/ComponentsTests/Parser/Combinators.hs when direct parseProgram, parseAssignExpr, or helper assertions can reproduce the bug.Parser.Program.* group matching the construct, such as function-call, scalar-initializer, or function-pointer-arithmetic.f(1,) are malformed. For initializer lists, check existing accepted C-like trailing-comma behavior before turning a trailing comma into a rejection.int g =, int g = {1, and int main(){ int x =.manyTill must have a timeout-guarded manual QA command, for example:printf 'int main(){ return f(' | timeout 5s stack exec htcc -- /dev/stdin
timeout or gtimeout, whichever exists on the host, and report the command used.ATEmpty.stylish-haskell -i <all changed .hs files, including app/Main.hs when touched> test/Tests/ComponentsTests/Parser/Combinators.hslsp_diagnostics on edited Haskell files when the diagnostics tool is available. If unavailable, state that and substitute stack build plus the relevant test command.stack test --test-arguments components.stack test for parser-wide behavior or when the change affects common expression/statement parsing.stack build.for sections?