Repository navigation
Conversation
Resolve automatic roots and selected node prerequisites across the two package owners, preserving legacy cover behavior. Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Expose automatic guidance and version diagnostics, validate fallback policies and graph errors across the cascade, and measure explicit requests in stats. Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Carry the original rule authority through embedded pulls and both CLI output formats. Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Keep the package loader and output decisions in each command. Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Group the dependency closure by package, preserving prerequisites and core-first delivery within each group. Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
chailandau
left a comment
There was a problem hiding this comment.
🤖 Chai read and approved these comments.
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
Co-authored-by: Big Ed <1e04291f32fc24a8e2f5e52e208aa27d61d5891ada99a679443b5488c4d723ad@buzz.block.builderlab.xyz>
| } | ||
|
|
||
| /** The caller's repository contains usual materials; an external package owns its directory. */ | ||
| export function materialRoot(packageDir: string, repoRoot: string): string { |
There was a problem hiding this comment.
🤖 [P2] Should materialRoot resolve repo-relative materials from the Git repository that owns the external package? When a package lives in a sibling repository, a documented locator such as src/logo.svg is currently resolved as <packageDir>/src/logo.svg, so validation, pull, and inspect miss the real <ownerRepo>/src/logo.svg. The cross-repo tests only cover bundled materials/... paths, which intentionally use the package directory.
Updated by Kettle 🤖
| ): string | undefined { | ||
| // Released cover packages treat the heading alone as an authored policy. | ||
| if (legacy) return LEGACY_FALLBACK_HEADING.exec(body)?.[0]; | ||
| return sliceNodeSection(body, FALLBACK_POLICY_HEADING)?.trim() || undefined; |
There was a problem hiding this comment.
🤖 [P2] Should fallback detection ignore Markdown headings inside fenced code? A guidance node can show ## If no guidance applies as an example; sliceNodeSection treats that example as the package’s authored policy. That silently suppresses the default fallback, or rejects the package as having two policies when another node contains a real one.
Updated by Kettle 🤖
Summary
core:list and the nodes'requiresgraph determine delivery. Universal nodes arrive first, with prerequisites before dependents.requiresin Markdown and JSON. The authority text describes direct and transitive overrides, including priority marked with!important.brand.mdpackages.Verification
pnpm checkpassed. The full suite passed 349 tests, with one Goose discovery test skipped.141e6756and merges cleanly with current main. All 288 legacy CLI comparisons against141e6756matched byte for byte.🤖 Generated with Claude Code