Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Operational implications:
- `doc/agn/` is the agent-facing onboarding and navigation surface.
- `doc/arc/` is human-readable architecture and system-reference documentation.
- `adm/gdl/dev/` is agent-facing development governance.
- `adm/gdl/ops/` is agent-facing operations governance.

ai4X is, in that sense, built by agentic AI agents for agentic AI agents.[^eyodf]

Expand Down
1 change: 0 additions & 1 deletion adm/gdl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This directory contains normative guidance documents for ai4X development, opera
| Section | Purpose | Key Documents |
|---------|---------|---|
| **dev/** | Development standards, code quality, workflow | `contracts/engineering-quality.md`, `contracts/typescript-quality.md`, `protocols/development-conformance.md`, `protocols/development-conformance-template.md`, `protocols/workflow.md` |
| **ops/** | Repository operations, automation, infrastructure | `github-repo-metadata.md` |
| **pln/** | Planning governance, backlog management, issue promotion | `protocols/workflow.md`, `protocols/planning-conformance.md` |
| **shr/** | Cross-cutting governance (planning + development) | `protocols/board-policy.md` |
| **glossary.md** | Canonical term definitions (Planning Terms, Qualifier Terms) | `glossary.md` |
Expand Down
4 changes: 1 addition & 3 deletions adm/gdl/dev/protocols/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Normative development governance for this repository lives in:
1. .github/agents/ai4x.agent.md
2. adm/gdl/dev/contracts/*
3. adm/gdl/dev/protocols/*
4. adm/gdl/ops/*

All artifacts under adm/gdl are normative governance artifacts.

Expand Down Expand Up @@ -75,8 +74,7 @@ No hidden defaults in config or CLI resolution.
- keep GitHub Actions workflows aligned with the current repository layout and active verification entrypoints

6. Repository metadata changes
- keep acc/repo-metadata.yaml aligned with intended GitHub About and Topics
- run the metadata check/apply path when repository metadata is intentionally changed
- follow the runbook in `utl/gh/RUNBOOK.md`

## Expert Team Routing

Expand Down
7 changes: 2 additions & 5 deletions adm/gdl/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ tasks:
- glossary.md

repo_automation:
- ops/github-repo-metadata.md
# Project-specific runbook outside governance scope.
# See: utl/gh/RUNBOOK.md

terminology:
- glossary.md
Expand Down Expand Up @@ -116,10 +117,6 @@ library:
shape: protocol
depends_on: [dev/contracts/capability-authoring-governance.md, dev/protocols/workflow.md]

- path: ops/github-repo-metadata.md
shape: runbook
depends_on: []

- path: glossary.md
shape: base-contract
depends_on: []
Expand Down
43 changes: 0 additions & 43 deletions adm/gdl/ops/github-repo-metadata.md

This file was deleted.

39 changes: 39 additions & 0 deletions utl/gh/RUNBOOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# GitHub Repository Metadata

## Purpose

Keep the GitHub repository About and Topics reproducible from versioned local metadata.

## Source of Truth

`acc/repo-metadata.yaml` — all intended repository metadata is declared here.

## Commands

```bash
# Check local metadata contract (no network)
bash ./utl/gh/repo-metadata.sh --check-local

# Check remote drift (requires gh auth)
bash ./utl/gh/repo-metadata.sh --check

# Apply local metadata to GitHub (requires gh auth)
bash ./utl/gh/repo-metadata.sh --apply
```

## Operational Rules

1. Keep `acc/repo-metadata.yaml` in sync with intended GitHub metadata.
2. Run `--check-local` before finishing metadata-related changes.
3. Run `--check` when remote drift must be validated.
4. Use `--apply` when metadata updates are intentional and the remote repository must be reconciled.
5. Do not finish metadata changes while intended local metadata and remote GitHub metadata still differ.

## When to Use

The Tech Lead triggers metadata operations when:
- Repository About or Topics need to change
- `make verify` reports a metadata drift
- A Story or chore explicitly requires metadata reconciliation

No automated sync — all metadata changes are intentional and human-triggered.
Loading