Skip to content

Add edge site proposal command with Collibra lookup#14

Open
sindoc wants to merge 1 commit into
mainfrom
claude/collibra-edge-site-commands-G8Iry
Open

Add edge site proposal command with Collibra lookup#14
sindoc wants to merge 1 commit into
mainfrom
claude/collibra-edge-site-commands-G8Iry

Conversation

@sindoc
Copy link
Copy Markdown
Owner

@sindoc sindoc commented May 23, 2026

Summary

Adds a new singine collibra io edge site propose command 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 ProposedCommand and EdgeSiteProposal dataclasses to model the command plan structure, _build_site_commands() to generate the ordered lifecycle commands, and edge_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 new collibra io edge site command group with the propose subcommand.

  • singine-collibra-io-api.json: Added OpenAPI endpoint definition for /api/collibra/io/edge/site/propose with 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 propose subcommand 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_lookup with scope edge-site. The command plan is always valid (even offline), but enriches with collibra_id and asset_type when 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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants