M0 — Project scaffold & config #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal: a runnable TS CLI skeleton with config loading, linting, and a test runner.
Tasks
npm init+ TypeScript setup: Node.js ≥ 22.19.0, ESM ("type": "module"),tsconfig.json,tsxfor the CLI entrypoint.@earendil-works/pi-coding-agent.eslint.config.js): typescript-eslint recommended +@eslint/js, Airbnb-style rule block fromCODING_STANDARDS.md §2,eslint-config-prettierlast. Addlintscript.formatscript.testscript ande2escript gated byPILOOP_E2E.package.jsonscripts consistent withAGENTS.md:build,lint,format,test,e2e,start.npm start -- <JIRA-KEY>(arg parsing +--help); no--repoarg, operates onprocess.cwd().EnvSourceseam): Jira, GitLab, write-back, per-stage skill paths, model keys.run.log.run-id, create.pi-loop/runs/<run-id>/, ensure.pi-loop/in.git/info/exclude.Depends on: none.
Validation:
npm start -- ABC-1parses the key, prints resolved config (secrets masked), creates the run dir, ensures the git-exclude entry, exits cleanly.npm run lint,npm run format(check), andnpm testsucceed. Config-loader + git-exclude unit tests pass.