Repository navigation
perf: focused agent skill and batched Snowflake retention inspection - #798
Merged
Merged
Conversation
…k guides and bundled docs pages
…build-time inspection
…d case-colliding skill file names
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.
Why
The packaged agent skill was one generated 15.7k-line
SKILL.md(the whole docs site), too large for agents to load usefully, and it did not steer them towards the features that make changes safe to verify. Separately, Snowflake planning with managedtime_travel_retentionissued oneINFORMATION_SCHEMA.TABLESquery per table, serially; on a ~390-model project that was about 97% of plan generation.Changes
SKILL.md(163 lines) plus task guides inreferences/(verifying changes, exploring a project, incremental models, testing, macros and declarations) that pushsqb diffand raw-query diff,sqb scope,sqb lineage, microbatching, audits and tests.references/docs/, with relative links, per-page contents lists, a groupedCONTENTS.md, and pruning of stale generated pages.sqb skillsinstalls the whole directory: collision check before any write, stale generated files pruned, user files kept, maintenance compares the whole directory.list_relationsnow readsretention_time; planning uses it from the warehouse snapshot for the destination relation only, falling back to inspection otherwise.inspect_retentions(one query per schema on Snowflake) used by build-time reconciliation; a relation is re-inspected only after this pass changed it.Verification
make test(7007 passed) andmake check-ci.sqb planwith retention managed: plan generation 228.2s -> 2.8s, identical 703 retention entries and plan.