Add the v1.3 Design Intelligence catalog foundation - #4
Merged
Conversation
Introduce the catalog contract, taxonomy, known-source snapshots, and operator references. This is policy only: routing, Impeccable, and VERSION stay on 1.2.0.
Index untrusted ZIP packs with static zipfile reads, framed content hashes, kind extractors, and a generational lock. Catalog identity is archive bytes only; host probes are not stored.
Provide kind-specific eligibility, lexical search with an FTS5 fallback, an intent-aware authority resolver, and a doctor CLI. Search never opens full design packages.
Cover archive safety, lineage, classification, search bounds, authority, and doctor statuses. Optional live-archive audit runs only when GROK_DESIGN_INTELLIGENCE_ARCHIVES is set.
…e checks Keep PR A as a draft catalog foundation. Persist only sanitized strings, require exact known-snapshot set equality, drop zero-score search hits, fail rebuilds on schema or missing lock artifacts, match licenses by canonical signatures, and quarantine unknown archive families.
Owner
Author
Review-fix commit (not merged)Pushed
Live re-audit of the four known packs (temp bank, not committed): 151 / 114 / 162 / 479, 85 stubs, 7 quarantined, doctor This PR stays draft. Not merged. PR B stays blocked until a human reviews this again. |
Sanitize and reject dynamic dict keys, skip prose cleanup only by full field path, and validate identity, URL, path, version, and archive-name fields. Make check_item match the catalog-item schema, reject duplicate logical names after (N) stripping, and require exact SPDX equality after explicit aliases.
Owner
Author
|
Hardening commit Closed from the last review
Unchanged
Live re-import of the four known packs: 906 items, doctor |
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.
What this adds
A catalog foundation for Design Intelligence. GrokBestFriend can inspect, import, rebuild, search, and doctor local Open Design packs without activating them.
vendor/design-intelligence/lib/design_intelligence/python3 scripts/design-intelligence.pydocs/design-intelligence.mdVERSIONremains 1.2.0.What is deliberately off
00-routing.mdor routing eval (163 cases still green)new-workchangefound-this-design/GROK_DESIGN_BANKchangelib/doctor.sh,docs/inventory.md, orTHIRD_PARTY_NOTICES.mdchangePR B (Impeccable retrieval) is blocked until a human reviews and merges this PR.
Four-ZIP audit (hashes match
od-packs-2026-07-20)Static
zipfileonly. Nothing executed.manifest.json+DESIGN.md+tokens.css)Open Design curated bundled fixturetom-modern)open-design.jsonSKILL.mdImport of the four packs into a temp bank:
Security model
catalog.jsonl.catalog.lock.jsonis the generational commit pointer and is written last.License / provenance limits
Unknown license is local-only reference, never
allowed. Brand-named fixtures are E1 inspiration-only._officialis not GrokBestFriend trust. Community plugins are quarantined. Catalogue stubs are not specialists.Test plan
Always on:
tests/test-design-intelligence-*.pyexcept the optional auditOptional (env only):
CI does not set that env. The optional test prints
SKIP_OPTIONAL_ARCHIVE_AUDIT reason=env-not-set.Relationship to PR B
PR B may call this catalog from Impeccable
new-workand write.impeccable/design-intelligence-selection.json. That file is not aDESIGN.md. Do not start PR B until this PR is merged by a human.Rollback
Revert the four commits or delete the branch. No installer migration.
~/Designis untouched.Known limitations
od/Figma).