Skip to content

Add shared Copilot configuration for Flotilla-SARA repos#51

Open
Christdej wants to merge 1 commit into
equinor:mainfrom
Christdej:add-shared-copilot-config
Open

Add shared Copilot configuration for Flotilla-SARA repos#51
Christdej wants to merge 1 commit into
equinor:mainfrom
Christdej:add-shared-copilot-config

Conversation

@Christdej
Copy link
Copy Markdown
Contributor

Summary

  • Introduces a canonical Copilot configuration under .github/copilot/ that can be distributed to sibling Flotilla-SARA repositories (flotilla, isar, sara, ...).
  • Adds scripts/sync-copilot.sh which writes a SHA-stamped copy of prompts/review-pr.prompt.md and injects shared-instructions.md into a target repo's .github/copilot-instructions.md between <!-- BEGIN SYNCED FROM equinor/armada@<sha> --> / <!-- END SYNCED --> markers.
  • The first shared artifact is a PR-review prompt with explicit cross-repo impact checks (ISAR MQTT messages, robot_interface, SARA Argo step contracts, *-infrastructure manifests) and a structured Summary / Blocking / Suggestions / Questions output.

Why armada

armada already orchestrates the whole Flotilla-SARA system in integration tests, so it is a natural single source of truth for cross-system review heuristics.

How to consume in another repo

./scripts/sync-copilot.sh <path-to-target-repo>

The script is idempotent: hand-edited content outside the markers is preserved; the synced block and prompt are refreshed in place on every run.

Pilot

A companion PR pulls these files into equinor/flotilla as the first consumer.

Introduces a canonical Copilot configuration under .github/copilot/ that
can be distributed to sibling repositories (flotilla, isar, sara, ...)
via scripts/sync-copilot.sh. The first shared artifact is a PR-review
prompt with explicit cross-repo impact checks, plus a condensed
checklist injected into each consumer's .github/copilot-instructions.md
between BEGIN/END SYNCED markers.

Consumers receive physical, SHA-stamped copies of the prompt and the
shared instructions block; hand-edited content outside the markers is
preserved on re-sync.
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.

1 participant