refactor: split validator-utils.ts (2646 lines) into topic-scoped modules
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- sql, typescript
- Domain
- data-engineering, tooling
Research direction
Start with packages/opencode/src/altimate/validators/validator-utils.ts and map the existing sections named in the issue: JSON envelope parsing, dbt YAML paths, deliverable tokens, run_results, Jinja scanning, SQL masking, and telemetry sanitization. Use the current test suite around this file as a safety net. Done means the behavior stays covered while the grab-bag is split into topic-scoped modules such as jinja.ts, sql-sanitize.ts, telemetry-sanitize.ts, and dbt-project.ts.
Written by the indexing model from the issue text.
Description
Found during v0.11.0-beta.1 release review (Tech Lead). packages/opencode/src/altimate/validators/validator-utils.ts is a 2646-line grab-bag: JSON envelope parsing, dbt YAML path resolution, deliverable-token extraction, run_results interpretation, Jinja {% if %} scanning, SQL comment/literal/Jinja masking, and telemetry sanitization all in one file with no internal seam. Well-tested but hard to extend. Deferred because: a real split (jinja.ts / sql-sanitize.ts / telemetry-sanitize.ts / dbt-project.ts), not a 30-min fix.
- Dominant language
- TypeScript
- Stars
- 813
- Forks
- 134
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 62
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AltimateAI/altimate-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AltimateAI/altimate-code#1323 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
AltimateAI/altimate-code#1288 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
AltimateAI/altimate-code#1284 ·
-
Difficulty 2/5 Under an hour Newbie friendliness 72/100
AltimateAI/altimate-code#1283 ·
All issues in AltimateAI/altimate-code
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·