README § Tooling and § Tooling decisions record the extension and the reasoning behind it: read-only by design, auto-detects TypeScript 7, and never a correctness gate — verify is. AGENTS.md § First action tells agents the lsp_* tools exist, to prefer lsp_references over grep -w for colliding identifiers, and to treat empty LSP output as inconclusive. Close the backlog evaluation task with a resolved note, and allowlist the tsgo/tsserver tool names for cspell.
51 lines
2.4 KiB
Plaintext
51 lines
2.4 KiB
Plaintext
Tasks
|
|
|
|
Backlog and tracking for tiny-pattern-ts. Managed in vscode-todotasks format.
|
|
|
|
---
|
|
|
|
Setup:
|
|
☐ Establish release CI workflow: post-tag checks + npm publish after release tag push => pi --session 01a06e72-e61e-7327-b3e9-3e11749a523f @high
|
|
☐ Add gitea release page in CI @high
|
|
☐ Split off template into separate package => pi --session 01a07dde-7050-7054-bb36-1606d7eb2bc3 @high
|
|
✔ Document branching model @done
|
|
✔ Describe branching model: when to branch, base branch, naming @done
|
|
✔ Clarify release workflow: who pushes `main`, CI as post-merge gate, drop PR usage @done (9/8/2026, 2:54:32 PM)
|
|
✔ Evaluate connecting the agent to lsp typescript server @done
|
|
- might be more difficult with TS7, since LSP Server has changed from 6
|
|
- but since vscode is running TS7, maybe it is possible to connect to the TS7 LSP server of vscode
|
|
- LSP servers in general?
|
|
- maybe skills?
|
|
→ resolved: adopted @spences10/pi-lsp@0.0.46 as a project-local pi extension (`.pi/settings.json`). It auto-detects the repo's TypeScript 7 (no `lib/tsserver.js`) and spawns `tsc --lsp --stdio` — the same tsgo binary VS Code's native-preview uses. Read-only: hover / definition / references / symbols / diagnostics. No skill; skills don't own persistent processes.
|
|
|
|
v1.0:
|
|
☐ API surface is stable and fully typed
|
|
☐ Finalize public exports in `src/index.ts`
|
|
☐ Document all exported types and functions
|
|
☐ Add JSDoc for public APIs
|
|
☐ Test coverage meets threshold
|
|
☐ Achieve 100% branch coverage on `src/pattern.ts`
|
|
☐ Achieve 100% branch coverage on `src/match.ts`
|
|
☐ Achieve 100% branch coverage on `src/index.ts`
|
|
☐ `dist/` output is clean
|
|
☐ Verify `.d.ts` declarations match public exports
|
|
☐ Ensure `.js` files use `.js` extensions (not `.ts`)
|
|
☐ Test `attw --profile esm-only` passes
|
|
|
|
Bugs:
|
|
|
|
Enhancements:
|
|
|
|
Documentation:
|
|
☐ Add usage examples to README.md
|
|
☐ Create `examples/` directory with runnable snippets
|
|
☐ Add comparison section vs. other TS pattern-matching libs
|
|
☐ Write migration guide for users coming from discriminated unions
|
|
☐ Create backlog tasks for implementation
|
|
|
|
Maintenance:
|
|
✔ Set up lefthook pre-commit hook @done (9/8/2026, 10:52:56 AM)
|
|
✔ Configure tsconfig strictest + node26 profiles @done (9/8/2026, 10:08:37 AM)
|
|
✔ Add check:tsc as first tier in `npm run check` @done (9/8/2026, 10:08:37 AM)
|
|
✔ Pin Node.js >= 26 via `.node-version` @done (9/8/2026, 10:08:38 AM)
|