## Summary Implement the lore registry and utility commands for querying, publishing, and auditing packages. ## Current State These commands are stubs that return errors (previously returned success, fixed in #65). **Location:** `internal/lore/commands.go` ## Commands ### `lore list` (lines 565-577) List deployed packages from pipeline receipts. ### `lore resolve` (lines 580-591) Show how a package would be installed on this platform. ### `lore update` (lines 593-602) Synchronize the local registry cache from the central registry. ### `lore inspect` (lines 745-766) Query package information from the registry. ### `lore publish` (lines 769-785) Submit a package manifest to the registry. ### `lore audit` (lines 788-816) View security audit log entries. ### `lore bundle` (lines 361-374) Create self-extracting deployment bundles for air-gapped environments. ## Requirements 1. **list**: Read receipts, display deployed packages 2. **resolve**: Query registry, show installation method for current platform 3. **update**: Fetch registry updates, update local cache 4. **inspect**: Query registry, display package metadata 5. **publish**: Validate manifest, create PR to registry repo 6. **audit**: Read audit log, filter by time/package/event 7. **bundle**: Package manifests + dependencies for offline deployment ## Documentation References - [lore list](docs/cli/lore/list.md) - [lore resolve](docs/cli/lore/resolve.md) - [lore update](docs/cli/lore/update.md) - [lore inspect](docs/cli/lore/inspect.md) - [lore publish](docs/cli/lore/publish.md) - [lore audit](docs/cli/lore/audit.md) - [lore bundle](docs/cli/lore/bundle.md) - [Registry Guide](docs/guides/lore/registry.md) ## Acceptance Criteria - [ ] `lore list` shows deployed packages from receipts - [ ] `lore resolve` shows platform-specific installation method - [ ] `lore update` syncs registry cache - [ ] `lore inspect` displays package metadata - [ ] `lore publish` submits manifest to registry - [ ] `lore audit` displays filtered audit log - [ ] `lore bundle` creates offline deployment bundles - [ ] Tests verify correct behavior
Activity