[Bug] Board reconciler fails nightly in every fork

Open
#718 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
ci-cd

Research direction

Start with .github/workflows/board-reconcile.yml and the repository check proposed in the issue, then review tools/apply_governance.py to confirm why forks must not reconcile the upstream board. Done means scheduled runs are skipped in contributor forks while upstream runs still execute and fail loudly when the board App configuration is missing. Check the workflow syntax and confirm the guard does not alter the upstream schedule.

Written by the indexing model from the issue text.

Description

status:needs-triage type:bug
What is broken

board-reconcile.yml runs on its nightly schedule in contributor forks, where neither the board App nor the board exists, so every fork run fails at the token step. My fork has 16 failed runs since November 12, one a night.

Where

.github/workflows/board-reconcile.yml

What the specification says, and what happens instead

The workflow header says the App key lives in the board-automation environment so that forks cannot read it. They can't, but the job still starts on the schedule and fails with: "The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string." The reconciler also targets the upstream board by name (REPO in tools/apply_governance.py), so a fork must not run it even if it did have credentials.

Proposed fix, ready on branch fix/board-reconcile-fork-guard (one commit, signed off): gate the job with if: github.repository == 'GenAI-Security-Project/agent-control-standard'. I gated on the repository rather than on vars.BOARD_APP_CLIENT_ID being set, so that upstream a missing variable still fails loudly. A skipped run leaves a stale board that looks current, which is the drift this workflow exists to prevent.

Happy to open the PR against integration once a lead assigns this.

Impact on implementers

No impact on implementers. Every contributor who forks gets a failed run and a failure email each night until they disable the workflow by hand.

Current Priority Scope

This is deferred or out of scope and I am filing it to be tracked

Dominant language
TypeScript
Stars
183
Forks
56
Avg merge
3d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/agent-control-standard

All issues in GenAI-Security-Project/agent-control-standard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.