Add edge site proposal command with Collibra lookup#14
Open
sindoc wants to merge 1 commit into
Open
Conversation
singine collibra io edge site propose <name> resolves the site name against Collibra via the chip MCP server (collibra/code_lookup, scope edge-site), then emits an ordered 10-command plan spanning prereqs, deploy, verify, monitor, diagnose, and teardown phases. The proposal is valid when chip is unavailable; the governed collibra_id and asset_type enrich it when the server responds. Metamodel alignment: the governed edge site identity anchors the plan to the Collibra metamodel edge-site asset type. Changed surface: chip_queries.py ProposedCommand, EdgeSiteProposal, edge_site_propose() io.py cmd_collibra_io_edge_site_propose, site > propose parser commands.xml io > edge > site > propose command entry openapi.json /api/collibra/io/edge/site/propose path (regenerated) collibra-io-commands.md edge site propose usage example collibra_io.sinlisp edge-site-propose workflow entry https://claude.ai/code/session_01XdSHs6Psd5vb7oacMMX8dh
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.
Summary
Adds a new
singine collibra io edge site proposecommand that looks up a governed edge site in Collibra via the chip MCP server and returns a full ordered command plan covering the complete lifecycle (prereqs → deploy → verify → monitor → diagnose → teardown).Changes
chip_queries.py: Added
ProposedCommandandEdgeSiteProposaldataclasses to model the command plan structure,_build_site_commands()to generate the ordered lifecycle commands, andedge_site_propose()function that performs the Collibra lookup via chip and assembles the proposal.io.py: Implemented
cmd_collibra_io_edge_site_propose()CLI handler with both JSON and human-readable output modes. Added argument parser registration for the newcollibra io edge sitecommand group with theproposesubcommand.singine-collibra-io-api.json: Added OpenAPI endpoint definition for
/api/collibra/io/edge/site/proposewith query parameters for site name and optional JSON output flag.singine-collibra-commands.xml: Added command documentation in the canonical XML model for the new
site proposesubcommand with argument and option definitions.collibra-io-commands.md: Updated usage documentation with example invocation and explanation of the command's behavior in both online (with Collibra lookup) and offline modes.
collibra_io.sinlisp: Added test command definition for the new edge site proposal functionality.
Implementation Details
The proposal anchors to a governed Collibra identity via
chip/code_lookupwith scopeedge-site. The command plan is always valid (even offline), but enriches withcollibra_idandasset_typewhen the chip server responds. Commands are organized by phase and marked as required or optional, allowing operators to understand the full lifecycle while skipping non-critical steps as needed.The human-readable output groups commands by phase and clearly marks optional steps, making it suitable for both scripted automation and interactive operator guidance.
https://claude.ai/code/session_01XdSHs6Psd5vb7oacMMX8dh