-
-
Notifications
You must be signed in to change notification settings - Fork 937
fix: publish Claude settings with core package #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rafaelscosta
merged 2 commits into
main
from
fix/publish-claude-settings-contract-20260507
May 7, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
docs/stories/epic-123/STORY-123.17-publish-claude-settings-contract.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # STORY-123.17: Publicar settings Claude no pacote core | ||
|
|
||
| ## Status | ||
|
|
||
| Done | ||
|
|
||
| ## Story | ||
|
|
||
| Como release manager do AIOX Core, quero que o pacote npm publique o `.claude/settings.json` junto com hooks, regras e agentes Claude, para que correções em settings versionado também cheguem ao artefato consumível. | ||
|
|
||
| ## Acceptance Criteria | ||
|
|
||
| - [x] AC1. `package.json.files` inclui `.claude/settings.json`. | ||
| - [x] AC2. `scripts/validate-package-completeness.js` exige `.claude/settings.json` no tarball. | ||
| - [x] AC3. `npm pack --dry-run` inclui `.claude/settings.json`. | ||
| - [x] AC4. O smoke npm publicado consegue validar os comandos shell-neutral dentro do pacote instalado. | ||
|
|
||
| ## Tasks | ||
|
|
||
| - [x] Atualizar contrato de publicação em `package.json`. | ||
| - [x] Atualizar validador de completude do pacote. | ||
| - [x] Rodar gates de pacote e validações de release. | ||
|
|
||
| ## Dev Notes | ||
|
|
||
| - A correção de STORY-123.16 chegou ao repositório, mas o smoke mostrou que `.claude/settings.json` não fazia parte do tarball npm. Como o pacote já publica `.claude/CLAUDE.md`, `.claude/hooks/`, `.claude/rules/`, `.claude/agents/`, `.claude/commands/` e `.claude/skills/`, publicar o settings fecha a superfície Claude distribuída. | ||
|
|
||
| ## Validation | ||
|
|
||
| - `git diff --check` -> PASS. | ||
| - `node scripts/validate-package-completeness.js` -> PASS, 32/32 required package paths. | ||
| - `npm pack --dry-run --json` -> PASS, inclui `.claude/settings.json`. | ||
| - `npm run validate:publish` -> PASS. | ||
| - `npm run validate:semantic-lint` -> PASS. | ||
| - `npm run validate:manifest` -> PASS. | ||
| - `npm run lint -- --quiet` -> PASS. | ||
| - `npm run typecheck` -> PASS. | ||
| - `npm run test:ci` -> PASS, 315 suites / 7.847 tests. | ||
|
|
||
| ## File List | ||
|
|
||
| - `package.json` | ||
| - `package-lock.json` | ||
| - `scripts/validate-package-completeness.js` | ||
| - `docs/stories/epic-123/STORY-123.17-publish-claude-settings-contract.md` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.