Skip to content

Adopt the profiled repository contract - #1

Merged
evanfollis merged 1 commit into
mainfrom
agent/adr-0050-repository-contract
Jul 26, 2026
Merged

Adopt the profiled repository contract#1
evanfollis merged 1 commit into
mainfrom
agent/adr-0050-repository-contract

Conversation

@evanfollis

Copy link
Copy Markdown
Owner

Adds the ADR-0050 repository declaration, universal make check interface, architecture/front-door documentation, pinned least-privilege CI, and Dependabot configuration. Shape-specific checks preserve existing domain boundaries. Dated exceptions remain explicit, so this does not claim full conformance before prompt-eval, typing, runtime-path, dependency-lock, or host-containment gaps close.

@evanfollis
evanfollis marked this pull request as ready for review July 26, 2026 20:49
Copilot AI review requested due to automatic review settings July 26, 2026 20:49
@evanfollis
evanfollis merged commit 36b628d into main Jul 26, 2026
1 check passed
@evanfollis
evanfollis deleted the agent/adr-0050-repository-contract branch July 26, 2026 20:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adopts the “profiled repository contract” for the Skillfoundry agent hub by adding an explicit repository declaration, a universal make check gate, updated architecture/front-door documentation, and least-privilege CI + Dependabot to keep GitHub Actions pins current.

Changes:

  • Add repo.toml repository contract declaration (shape, lifecycle, risk, artifacts, workspaces).
  • Introduce a universal Makefile interface (make check/test/operator-check) and document how to validate in CI vs operator hosts.
  • Pin GitHub Actions by SHA in CI and add Dependabot updates for Actions.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
repo.toml Declares repository contract metadata (schema, shape, lifecycle, artifacts, workspaces).
README.md Adds lifecycle/verification notes and points contributors to make check and architecture docs.
Makefile Provides the canonical “make check” gate, unit tests entrypoint, and operator-only mount verification.
docs/architecture.md Documents authority boundaries, mount expectations, and the current transition exception framing.
.github/workflows/validate-context.yml Pins CI actions, applies least-privilege permissions, and runs the canonical make check gate.
.github/dependabot.yml Enables monthly Dependabot updates for GitHub Actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
'make operator-check Also require live context mounts (host only)'

check:
@python3 -c 'import pathlib,tomllib; r=pathlib.Path("."); d=tomllib.loads((r/"repo.toml").read_text()); assert d["schema_version"] == 1 and d["shape"] == "control-plane"; [(_ for _ in ()).throw(AssertionError(f"missing {p}")) for p in ("README.md","repo.toml","Makefile","AGENTS.md","CLAUDE.md","docs/architecture.md") if not (r/p).exists()]'
Comment thread Makefile
@python3 -c 'import pathlib,tomllib; r=pathlib.Path("."); d=tomllib.loads((r/"repo.toml").read_text()); assert d["schema_version"] == 1 and d["shape"] == "control-plane"; [(_ for _ in ()).throw(AssertionError(f"missing {p}")) for p in ("README.md","repo.toml","Makefile","AGENTS.md","CLAUDE.md","docs/architecture.md") if not (r/p).exists()]'
python3 scripts/check_workspace.py
python3 -m unittest discover -s tests
git diff --check
Comment thread docs/architecture.md
filesystem/network isolation, or brokered task credentials. The supervisor
owns that bounded host-wide gap under ADR-0050. Prompt/instruction baselines
for the existing agent declarations also remain to be established under
ADR-0039; until then the central inventory must keep this repo `migrating`.
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