Repository navigation
feat: 10x changelog — zmiany w artefaktach od ostatniego pobrania - #77
Merged
Merged
Conversation
- src/lib/api-content.ts, src/lib/api-client.ts: fetchChangelog with hand-written ChangelogResponse + runtime validator; 404 -> changelog_unsupported - src/lib/manifest.ts: optional toolkit baseline, recordToolkitVersion - src/lib/toolkit-baseline.ts: best-effort recording shared by sync/get - src/commands/sync.ts, src/commands/get.ts: record after successful pulls - tests: api-changelog, manifest-toolkit, sync/get recording, mock extension - context/changes/check-updates/: change folder Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/commands/changelog.ts: authenticated read-only command; baseline resolution flag > manifest toolkit.version > last appliedAt > none (limit 5) - src/index.ts: register command - tests/changelog-command.test.ts: baseline sources, queries, exit codes, unsupported backend, empty result, JSON envelope - context/changes/check-updates/plan.md: progress Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README.md, CLAUDE.md, skills/10x-cli-guide/SKILL.md: document the command, baseline recording in sync/get, --since forms, sync --dry-run distinction - .claude/skills/verify-10x-cli/scripts/fake-api.ts, verify.sh: fake GET /api/changelog (since/sinceDate/limit, 400 invalid_query) + controls - .claude/skills/verify-10x-cli/features/changelog.md (+ README, SKILL.md): sync -> changelog walkthrough - Generated types (row 3.3) deferred until the toolkit endpoint is deployed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olkit deploy - context/changes/check-updates/plan.md: SHA write-back for 3.1/3.2 - change.md stays `implementing`: row 3.3 (generated types) is blocked until 10x-toolkit release-changelog ships GET /api/changelog to production Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The toolkit stores model: null for entries its deterministic fallback wrote; requiring a string rejected the whole response as changelog_invalid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
10x changelog— co się zmieniło w artefaktach od ostatniego pobraniaKursanci nie mieli jak sprawdzić, co się zmieniło w skillach, promptach, regułach i szablonach konfiguracji od ostatniego
10x sync. Nowa komenda10x changelogpokazuje changelog wydań toolkitu od wersji zapisanej przy ostatnim pobraniu. To, czy pobrane pliki są nieaktualne, nadal sprawdza10x sync/--dry-run.10x synci udany pełny10x getzapisują w manifeście projektutoolkit: { version, recordedAt }(najnowsze wydanie zGET /api/changelog?limit=1). Zapis następuje tylko po pobraniu bez błędów i poza--dry-run. Każdy problem z endpointem (404, sieć, pusta lista) jest cichy i nie zmienia wyjścia ani kodu wyjścia sync/get.10x changelog(wymaga logowania): baseline w kolejności--since <vX.Y.Z|YYYY-MM-DD>→ zapisana wersja → najnowszeappliedAtz manifestu → brak manifestu: ostatnie 5 wpisów z podpowiedzią10x sync.--limit(domyślnie 20). Zawsze kod 0; JSON:{ baseline, newEntries, entries }. Niepoprawne--since/--limit→ 2, brak logowania → 3, backend bez endpointu → 1 z kodemchangelog_unsupported.fetchChangelogz ręcznym typem i walidatorem do czasu, aż endpoint trafi do wygenerowanych typów; 404 →changelog_unsupported, odpowiedź niezgodna z kontraktem →changelog_invalid. Wpisy zmodel: null(fallback bez modelu) są akceptowane.10x changelog), skill10x-cli-guide,CLAUDE.md; fake API i walkthrough wverify-10x-cli($V changelog release|off|on).Plan i brief:
context/changes/check-updates/.Zależność
Backend: przeprogramowani/10x-toolkit#107 (
GET /api/changelog). Ten PR może wejść wcześniej — bez endpointu sync/get działają jak dotąd, a10x changelogzgłaszachangelog_unsupported.Po wdrożeniu backendu (osobno):
bun run generate-types, wyprowadzenieChangelogResponsezpaths["/api/changelog"]i usunięcie ręcznego typu (wiersz 3.3 planu).Weryfikacja
bun test,bun run typecheck,bun run lint,bun run validate:cli-skills— przechodzą. Celowe zepsucie kodu w każdej fazie wywołało czerwone testy.bun run quality:gate— 9/9 w kontenerzenode:22-bookwormz toolchainem CI. Na macOS lokalnie padają tylko sprawdzenie wersji Bun (1.3.14 vs 1.3.8) i 3 testy hooków (mapfilew bash 3.2) — tak samo na czystym master.toolkit.version; „No toolkit changes since v2.59.2.” zaraz po sync; nowszy wpis pojawia się po dodaniu;--since 2026-10-01listuje właściwe wydania; bez trasy sync działa jak dotąd, achangelogkończy się kodem 1.🤖 Generated with Claude Code