Repository navigation
refactor(artifacts): move inventory and extraction into provider owners - #1032
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Open
2 of 48 tasks
kaoru0822-kitauji
added a commit
that referenced
this pull request
Oct 8, 2026
Resolve conflicts against main: - Inventory moved to src/artifacts/inventory (#1032); point the xar and cpio reader imports at their new relative paths. - README.md: take main's simplified English README, which no longer lists individual package formats. PKG coverage stays documented in the skill reference and docs/testing.md. - Skill: the references gain the PKG paragraph, so the version moves to 29 (main already uses 28). - Regenerate the product catalog, conformance manifest, skill digest and package metadata. The MCP tool catalog is now built rather than committed (#997), so it is removed here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
Iyanuoluwa007
pushed a commit
to Iyanuoluwa007/rea
that referenced
this pull request
Oct 21, 2026
Resolve conflicts against main: - Inventory moved to src/artifacts/inventory (morluto#1032); point the xar and cpio reader imports at their new relative paths. - README.md: take main's simplified English README, which no longer lists individual package formats. PKG coverage stays documented in the skill reference and docs/testing.md. - Skill: the references gain the PKG paragraph, so the version moves to 29 (main already uses 28). - Regenerate the product catalog, conformance manifest, skill digest and package metadata. The MCP tool catalog is now built rather than committed (morluto#997), so it is removed here.
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.
Summary
Artifact inventory and extraction currently live in the application layer even though they own format readers, archive acquisition and materialization. Move them beside their artifact producers so format extensions and lifecycle fixes have a clear owner. This is the next incremental migration in #740.
Problem and expected behavior
Keep shared CLI/MCP workflows in the application layer and format-specific acquisition in the artifact provider boundary. Analysts continue to open, inspect and extract the same targets with the same contracts.
Change and scope
src/artifacts/inventory/.src/artifacts/extraction/; keep default output-destination selection insrc/application/artifacts/.Contract and boundary impact
Evidence and regression coverage
AST comparison against
c6dad932confirms unchanged bodies, mapped import owners and file-URL roots across 31 affected modules.Boundary cases cover forbidden application/composition/CLI/MCP imports and allowed domain/contracts/reader dependencies.
Actual isolated npm consumer verifies CLI/MCP ZIP and ASAR inventory/extraction, CLI JavaScript application analysis, complete inventory parity, unchanged input bytes and cleanup. All ten relocated runtime modules are packaged; old emitted paths and compiled tests are absent.
CLI/MCP result schemas and output are unchanged.
Observed, derived, and inferred claims remain distinguishable.
Artifact identity, source provenance, and failed attempts remain preserved.
Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.
Validation performed
Build, strict single-threaded typecheck, lint/module-boundaries and generated-document checks — passed.
Vitest with 33 exact files, one worker and file parallelism disabled — 275 passed, three host-specific skips.
npm run verify:test-discovery— all 535 test files discovered exactly once.Isolated installed-package CLI/MCP artifact verification — passed; peak process-family RSS about 507 MiB; temporary installation and outputs removed.
npm run verify:package— complete isolated install, CLI/MCP catalog and Evidence checks, extraction and cleanup passed.npm run knip,npm run format:check, final lint/module-boundaries — passed.Complete CI run — all checks passed on
43cc65c5.Compatibility, safety, and release
Review checklist
type(scope): outcome.