Files
git.stella-ops.org/docs/features/checked/cli/concelier-database-operations-cli.md
2026-02-14 09:11:48 +02:00

39 lines
2.1 KiB
Markdown

# Concelier Database Operations CLI
## Module
Cli
## Status
VERIFIED
## Description
Trigger Concelier advisory database operations: connector fetch/parse/map stages with mode selection (init/resume/cursor), canonical merge reconciliation, and export jobs with ORAS publishing and offline bundle toggles.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/FeedsCommandGroup.cs` -- feed management commands (consolidated under config)
- **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/CommandHandlers.Feeds.cs` -- feed operation handlers
- **Observations Client**: `src/Cli/StellaOps.Cli/Services/ConcelierObservationsClient.cs` / `IConcelierObservationsClient.cs` -- Concelier API client
- **Commands**:
- `stella config feeds fetch --mode init|resume|cursor` -- trigger connector fetch stage
- `stella config feeds parse` -- trigger parse stage
- `stella config feeds merge` -- canonical merge reconciliation
- `stella config feeds export --oras --offline-bundle` -- export with ORAS publishing and offline bundle options
## E2E Test Plan
- [ ] Run `stella config feeds fetch --mode init` and verify initial fetch triggered
- [ ] Run `stella config feeds fetch --mode resume` and verify incremental fetch
- [ ] Run `stella config feeds parse` and verify parse stage execution
- [ ] Run `stella config feeds merge` and verify canonical merge reconciliation
- [ ] Run `stella config feeds export --oras` and verify ORAS publishing
- [ ] Run `stella config feeds export --offline-bundle` and verify offline bundle created
- [ ] Verify error handling for failed connector operations
## Verification
- **Verified**: 2026-02-13T15:30:00Z
- **Tier 0 (Source)**: pass -- all referenced source files exist on disk
- **Tier 1 (Build)**: pass -- module builds cleanly, 339 tests pass in StellaOps.Cli.Plugins.Tests
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Plugins.Tests/StellaOps.Cli.Plugins.Tests.csproj`
- **Evidence**: `docs/qa/feature-checks/runs/cli/concelier-database-operations-cli/run-001/tier2-integration-check.json`