You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(cli): add devw pull command (v0.4)
Implement rule distribution via GitHub. Users can download official
rules from the dev-workflows registry with devw pull <category>/<rule>.
- Add pull command with --list, --force, --dry-run, --no-compile flags
- Add Markdown to YAML converter for rule files
- Add GitHub API helpers (raw content + contents API)
- Add cache with 1h TTL for registry listing
- Extend types with source field on Rule and pulled[] on ProjectConfig
- Add pulled files check to doctor command
- Add source indicator (pulled/manual) to list command
- Create 6 official rules in rules/ directory (P0 + P1)
- Add tests for converter, github, cache, and pull integration
* chore(cli): move rules to content/rules and fix branch reference
- Move rules/ directory to content/rules/ for consistency with content/blocks/
- Change BRANCH from 'feat/pull-command' to 'main' in github.ts
- Update RAW_BASE and API_BASE URLs to point to content/rules/
- Update GitHub blob URL in generateYamlOutput
- Add 69 edge-case tests across 6 new test files:
converter.edge, github.edge, cache.edge,
pull.edge, parser.edge, doctor.edge
- Export validateInput, generateYamlOutput, updateConfig from pull.ts
* docs: update WATCH_SPEC status to complete and add PULL_SPEC for v0.4.
0 commit comments