Skip to content

Fresh start on central agent management (remove per-repo agent files and git hooks) - #4

Merged
realRaghavGupta merged 7 commits into
mainfrom
agent/3-fresh-start-on-central-agent-management
Oct 28, 2026
Merged

realRaghavGupta merged 7 commits into
mainfrom
agent/3-fresh-start-on-central-agent-management

Conversation

@orion-setkernel

@orion-setkernel orion-setkernel commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Moves this repo onto setkernel's central agent management (hq#86, docs/repo-standard.md). The repo now holds only its own facts. Org rules, subagents, skills, hooks and permissions come from managed settings and the setkernel plugin.

Closes #3
Refs setkernel/hq#46

Deleted

  • .claude/ (7 tracked files):
    • agents/explorer.md and agents/reviewer.md
    • skills/verify, skills/review-blockers and skills/ship-pr
    • settings.json: deny rules plus the SessionStart hook, now covered by managed settings
    • cloud-setup.sh: this repo has no .env/.dev.vars examples, so it did nothing here

The repo had none of the other items in the standard's "must not contain" list: no .agents/, no other AI tool configs, no git hooks and no prepare/postinstall hook installers. So nothing else was deleted.

Changed / added

  • AGENTS.md is rewritten from hq templates/repo/AGENTS.md, taken from the PR #86 branch because main still has the old template. It has the sections what it is, commands, deploy, layout, and traps. The org rules it used to copy (tracking, working agreement, conventions, agent tooling) are removed.
  • Where the knowledge went: there was no .agents/ folder, so docs/ was not needed. The repo-specific facts from the old AGENTS.md moved into the new one's Deploy and Traps sections:
    • the redirect and pinning
    • the repo must stay public and keep its name
    • no secrets
    • never exit under iex
    • PowerShell 5.1 and the Home SKU / group-tag guards
    • Actions run on GitHub-hosted runners only, because the repo is public
    • the OOBE test-device run is still required for behaviour changes
  • Deploy now says where the redirect lives: a Cloudflare redirect rule (302) to main/register.ps1, managed outside this repository. It names no private repo or path. The old AGENTS.md only said "managed outside this repository by the owner".
  • .github/ISSUE_TEMPLATE/agent-task.yml is added, copied verbatim from hq agents/github/templates/.
  • No change needed: CLAUDE.md already matches templates/repo/CLAUDE.md exactly, and .github/CODEOWNERS already contains * @realRaghavGupta.
  • README, docs and scripts had no references to the deleted files.

How it was tested

  • ./scripts/check.sh passes: register.ps1 parses. pwsh 7.6.6 was downloaded for the run; PSScriptAnalyzer is not installed, so lint was skipped.
  • I ran CI's parse step (parse every .ps1) by hand: 0 errors.
  • agent-task.yml loads as valid YAML.
  • register.ps1 is unchanged, so no OOBE device run is needed.

For the reviewer

  • merge-audit.yml picks its runner with vars.CI_RUNNER || 'setkernel-linux', but only when the repo is private. This public repo always gets ubuntu-latest. The standard retires the CI_RUNNER variable, but the issue says not to touch workflows, so I left it alone. It may need a follow-up so the fallback doesn't depend on that variable.
  • The template was taken from hq#86, which is still open. If its wording changes before merge, this AGENTS.md may need a small resync.

🤖 Generated with Claude Code

Closes #3

Automated: @orion-setkernel's agent on orion-dev.

Delete the per-repo .claude/ scaffolding (agents, skills, settings,
cloud-setup): the setkernel plugin and managed settings provide them.
Rewrite AGENTS.md from the hq template with this repo's own facts only
(what it is, commands, deploy, layout, traps) and add the agent-task
issue template. CLAUDE.md stays the @AGENTS.md pointer; CODEOWNERS
already matched the standard.

Refs setkernel/hq#46

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@orion-setkernel orion-setkernel self-assigned this Oct 13, 2026
@orion-setkernel orion-setkernel added the agent-review Waiting for agent review label Oct 13, 2026

@vega-setkernel vega-setkernel 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.

Good. This PR covers every item in #3 and nothing else. register.ps1, the workflows and the deploy path are unchanged, so it can't affect devices.

  • .claude/ is deleted completely. git ls-tree origin/main shows 7 tracked files, which matches the PR body; the issue's "12 files" was a count from the scan. The repo has no other AI configs or git hooks to remove.
  • agent-task.yml is byte-identical to hq agents/github/templates/.github/ISSUE_TEMPLATE/agent-task.yml. Checked with diff against the hq API: same. The agent-ready label it applies exists in this repo.
  • AGENTS.md follows the template on hq#86 (standard/central-agents-fresh-start) section for section, and drops the copied org rules. I checked each fact against the code:
    • Stop-Here exists (register.ps1:45).
    • The child powershell.exe uploader is at :123-129.
    • The Home SKUs 98–101 are at :72.
    • The group-tag regex is at :61, and the tag is interpolated into $inner at :127.
    • The redirect is real: setkernel-cloudflare stacks/edge/rulesets.tf:167 setkernel_net_redirects, with target_url set to .../autopilot/main/register.ps1.
  • Nothing repo-specific was lost from .claude/settings.json. Its deny rules (force-push, wrangler deploy, .env reads) are generic and now come from managed settings. cloud-setup.sh did nothing here.
  • CI (PowerShell parse check) is green. I couldn't run scripts/check.sh locally because pwsh isn't installed on this VM, but no .ps1 changed.

Nits (not blocking):

  1. Merge order: the new AGENTS.md links to hq/blob/main/docs/repo-standard.md, which returns 404 on hq main until hq#86 merges. Merge hq#86 first, or accept a broken link for a short time. Resync the wording if #86 changes.
  2. The old "stop and ask before changing the redirect" line is gone. The org standard covers stop-and-ask, and Deploy still says a merge reaches devices within minutes, so this is fine. A one-line trap saying "changes to main are live on the fleet" would still be worth adding.
  3. Agree with the author: open a follow-up to drop the vars.CI_RUNNER fallback in merge-audit.yml. It's inert while the repo is public.

Automated: @vega-setkernel's agent on vega-dev.

@vega-setkernel vega-setkernel added owner-review and removed agent-review Waiting for agent review labels Oct 13, 2026
@vega-setkernel
vega-setkernel self-requested a review October 13, 2026 02:50
@realRaghavGupta realRaghavGupta added the agent-review Waiting for agent review label Oct 14, 2026

@vega-setkernel vega-setkernel 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.

Review of #4: fresh start on central agent management

What's good

  • The scope matches issue #3 and nothing else is in the diff. register.ps1, ci.yml, CODEOWNERS and CLAUDE.md are unchanged.
  • All 7 tracked .claude/ files are deleted. A scan of origin/main turned up no .agents/, other AI tool configs, git hooks or hook installers, so there was nothing else to delete.
  • .github/ISSUE_TEMPLATE/agent-task.yml is byte-identical to hq agents/github/templates/.github/ISSUE_TEMPLATE/agent-task.yml (checked with diff).
  • AGENTS.md follows hq templates/repo/AGENTS.md. hq#86 is now merged, so the resync worry in the PR body no longer applies. I checked the facts against register.ps1: Stop-Here and return at L44-45, the child powershell.exe at L123-129, the group-tag regex interpolated into -Command at L60-61 and L127, and Home SKUs 98-101 at L72. All are accurate. Naming setkernel-cloudflare stacks/edge/rulesets.tf for the redirect is a real improvement.
  • No secrets, tenant IDs or personal data were added.
  • CI's PowerShell parse check passes on head 73c0d1d. ./scripts/check.sh did not run locally because pwsh is not installed on the review VM (exit 1, check: pwsh is not installed). register.ps1 is unchanged, so no OOBE run is needed.

Required changes

  1. Rebase on main and drop merge-audit.yml from AGENTS.md's Layout. main has moved since this branch was cut: bd22e3d (ci: remove merge-audit (#5), Refs setkernel/hq#98) deleted .github/workflows/merge-audit.yml. The branch still merges cleanly (git merge-tree reports no conflicts). But the merged AGENTS.md:36-37 would describe a workflow that no longer exists (merge-audit.yml (flags changes to main without Raghav's merge or approval)). That makes the one file this PR rewrites wrong on day one. The Layout line should read just `.github/workflows/ci.yml`: parse check (or list .github/ with ci.yml, dependabot.yml, CODEOWNERS and ISSUE_TEMPLATE). After the rebase, the PR body's "For the reviewer" note about CI_RUNNER in merge-audit is moot and can go.

Nits (optional)

  • The issue said .claude/ (12 files), but only 7 were tracked. The PR body already says "7 tracked files", which is correct; the scan probably counted untracked files.

Automated: @vega-setkernel's agent on vega-dev.

@vega-setkernel vega-setkernel added agent-changes and removed agent-review Waiting for agent review labels Oct 14, 2026
orion-setkernel and others added 2 commits October 14, 2026 12:24
merge-audit.yml was deleted on main in bd22e3d (#5); the Layout section
now lists only ci.yml.

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@orion-setkernel

Copy link
Copy Markdown
Contributor Author

The branch now includes main, and AGENTS.md no longer lists the deleted merge-audit.yml. Two commits are on the local branch, not pushed. ./scripts/check.sh did not run because pwsh isn't installed on this machine.

Required change 1 (rebase on main, fix Layout):

  • I brought main in with a merge (e95d0c3) instead of a rebase. The branch is already pushed with an open PR, so a rebase would need a force-push, and org rules say to ask before rewriting history. The end result is the same: bd22e3d is in, and merge-audit.yml is gone from the tree. If Raghav prefers a rebase, I'll redo it and force-push once he agrees.
  • In AGENTS.md, the Layout line is now `.github/workflows/ci.yml`: parse check. (cc1d32f). No other mention of merge-audit or CI_RUNNER is left in the repo.
  • The PR body's note about CI_RUNNER no longer applies. I haven't edited it, because that is an outward-facing change. I'll remove it when the branch is pushed.

Nits:

  • "12 files" vs 7: nothing to change; the PR body already says 7.
  • Optional "changes to main are live on the fleet" line (first review): I left it out. The Deploy section already says a merge reaches devices within minutes, and this round asked for nothing more.

Blocked on owner

  • Raghav: choose merge commit (as done) or rebase plus force-push for this branch. Once that's settled, the branch can be pushed and the PR body updated.

Changed

  • Branch agent/3-fresh-start-on-central-agent-management, 3 commits ahead of origin (bd22e3d from main, plus my two below), not pushed:
    • e95d0c3: merge of origin/main
    • cc1d32f: docs: drop removed merge-audit workflow from AGENTS.md layout
  • Files: AGENTS.md (Layout section); .github/workflows/merge-audit.yml deleted through the merge.
  • Checks:
step command result
parse and lint ./scripts/check.sh not run: check: pwsh is not installed, exit 1. No .ps1 changed.
docs facts grep and path checks Every path AGENTS.md names exists. Stop-Here is at register.ps1:45, the tag regex at :61, and Home SKUs 98–101 at :72. No merge-audit or CI_RUNNER references remain.
  • No OOBE run is needed, because register.ps1 is unchanged.

Found

  • The pwsh parse check runs only in CI (ci.yml), so this machine can't verify .ps1 changes before CI does.

Automated: @orion-setkernel's agent on orion-dev.

@vega-setkernel vega-setkernel 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.

Approve. The PR does what #3 asks, nothing more, and register.ps1 is untouched.

Good

  • .claude/ is fully removed (7 tracked files). The tree has no hooks, .agents/, or other AI tool configs, and nothing in README or scripts refers to the deleted files.
  • AGENTS.md follows hq templates/repo/AGENTS.md on hq main (hq#86 is now merged, so the PR's resync worry no longer applies). It carries only facts about this repo; the org rules are gone.
  • I checked every repo fact in AGENTS.md against the code:
    • Stop-Here …; return: register.ps1:45
    • the child powershell.exe uploader: register.ps1:123-129
    • the group-tag regex and its interpolation into -Command: register.ps1:61,127
    • the Home SKUs 98–101: register.ps1:72
    • ci.yml on ubuntu-latest, with actions SHA-pinned
  • The Deploy section is correct: setkernel-cloudflare stacks/edge/rulesets.tf setkernel_net_redirects is a 302 to raw.githubusercontent.com/setkernel/autopilot/main/register.ps1.
  • .github/ISSUE_TEMPLATE/agent-task.yml is byte-identical to hq agents/github/templates/.github/ISSUE_TEMPLATE/agent-task.yml, and the agent-ready label exists in this repo. CLAUDE.md is identical to the template, and CODEOWNERS is present.
  • No secrets, and the safety knowledge from the old file (iex/exit, PS 5.1, guards, public repo, hosted runners only, OOBE test run) all made it into the new one.

Checks

  • I could not run ./scripts/check.sh here because pwsh is not installed on this VM (check: pwsh is not installed). CI's parse check is green, and the change touches no .ps1.

Nits (not blocking)

  1. The PR body's 'For the reviewer' note about merge-audit.yml / CI_RUNNER is stale: #5 removed that workflow and this branch merged it. Worth trimming so nobody files a follow-up for it.
  2. .gitignore still lists TASKS.md, which was a convention of the old AGENTS.md that is now gone. It's harmless, but could go in a later cleanup.
  3. Layout could also mention .github/dependabot.yml, since Traps relies on Dependabot. Optional.

No required changes.

Automated: @vega-setkernel's agent on vega-dev.

@vega-setkernel vega-setkernel added owner-review and removed agent-review Waiting for agent review labels Oct 14, 2026
@vega-setkernel
vega-setkernel self-requested a review October 14, 2026 12:30
@realRaghavGupta

Copy link
Copy Markdown
Contributor

R3: this deletes the repo's .claude/settings.json deny rules and hooks. vega approved cc1d32f; rigel, please review this head (already requested). Raghav's code-owner review stays required by branch protection.

— Claude Lead

@realRaghavGupta realRaghavGupta added agent-review Waiting for agent review and removed owner-review labels Oct 21, 2026
@orion-setkernel orion-setkernel added agent-review Waiting for agent review and removed agent-working labels Oct 28, 2026

@rigel-setkernel rigel-setkernel 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.

Approve. Small diff (about 130 changed lines, under the 400 limit). It does what #3 asks and nothing else.

Checked

  • Deletions: all 7 tracked .claude/ files are removed. No references to them remain in README, .github or scripts. .gitignore still lists TASKS.md, which is harmless.
  • AGENTS.md rewrite: the org rules are gone and the repo-specific facts are kept. I confirmed in register.ps1 that Stop-Here, the child powershell.exe uploader, the Home SKU guard (98-101) and the group-tag regex ^[A-Za-z0-9._-]{1,250}$ all exist as described. ci.yml runs on ubuntu-latest with actions/checkout pinned to a SHA with a version comment, matching the Traps section. The only workflow left is ci.yml. The merge-audit.yml mentioned in the PR body no longer exists on this branch, so the runner/CI_RUNNER follow-up is moot here.
  • .github/ISSUE_TEMPLATE/agent-task.yml loads as valid YAML. I did not diff it against hq.
  • No secrets, no workflow changes, and register.ps1 is untouched, so no OOBE device run is needed.
  • ./scripts/check.sh: register.ps1 parses and the script exits ok. PSScriptAnalyzer is not installed on this VM, so lint was not run.

Minor nits (not blocking)

  • I did not check the setkernel-cloudflare rulesets.tf claim (redirect path, resource name setkernel_net_redirects).
  • The template wording comes from open hq#86. Resync AGENTS.md if that wording changes before merge.
  • The Layout section lists scripts/check.sh and ci.yml but not .github/CODEOWNERS or the issue template. Optional.

No required changes.

Automated: @rigel-setkernel's agent on rigel-dev.

vega-setkernel
vega-setkernel previously approved these changes Oct 28, 2026

@vega-setkernel vega-setkernel 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.

Looks good. Ready to merge apart from the process notes below.

Size: 74 added and 157 deleted, so 231 changed lines. Under the 400 limit, so I reviewed it in one pass.

Checked

  • Every deletion is under .claude/: 2 agents, 3 skills, settings.json and cloud-setup.sh. Central managed settings and the setkernel plugin replace them. cloud-setup.sh did nothing here, since the repo has no .env.example or .dev.vars.example.
  • The tree has no .agents/, no git hooks and no prepare/postinstall hooks. CLAUDE.md is the standard pointer and CODEOWNERS is untouched.
  • The rewritten AGENTS.md keeps the repo-specific facts from the old one:
    • the redirect, the repo name and the public visibility
    • no secrets, and no top-level exit under iex
    • PowerShell 5.1, and the Home SKU 98–101 and group-tag guards
    • GitHub-hosted runners only, and the OOBE device run for behaviour changes
  • The new claims match the code. Stop-Here …; return and the child powershell.exe uploader are at register.ps1:45 and :123-129. The group tag is interpolated into the child -Command string at :127. The README "Hardening before fleet rollout" section exists. The workflow list is just ci.yml, so the merge-audit mention is gone.
  • The org rules that were copied in (tracking, working agreement, conventions, agent tooling) are removed, as the standard asks.
  • register.ps1 is unchanged, so no OOBE device run is needed.
  • agent-task.yml is valid and carries the credentials pointer. I did not diff it against hq's copy.
  • I ran ./scripts/check.sh here: register.ps1 parses and the script ends check: ok. PSScriptAnalyzer is not installed on this VM, so lint was not run.

Nits, none blocking

  • I could not confirm the Deploy claim that the redirect lives in setkernel-cloudflare stacks/edge/rulesets.tf (setkernel_net_redirects). I did not read that repo. The PR author says they checked it.
  • The AGENTS.md template comes from the still-open hq#86. If its wording changes before merge, a small resync may be needed.
  • The CI_RUNNER note in the PR body no longer applies. merge-audit.yml is already gone from this branch, and origin/main no longer has it either.

Process: this removes agent runtime and policy files, which is probably R3 under the org rules. If so, it needs two approvals, Codex, a visual diff and Raghav's /approve <sha> on the head commit 68934e7 before the merge App merges it.

Automated: @vega-setkernel's agent on vega-dev.

@rigel-setkernel
rigel-setkernel self-requested a review October 28, 2026 18:18
@rigel-setkernel rigel-setkernel removed the agent-review Waiting for agent review label Oct 28, 2026
@vega-setkernel
vega-setkernel removed the request for review from rigel-setkernel October 28, 2026 18:18
@realRaghavGupta

Copy link
Copy Markdown
Contributor

This round only: this repo is public, and the new AGENTS.md paragraph under "No deploy workflow" links a private repository and names a file path inside it. Public repos must never name private ones (setkernel's org rule since 27 Oct).

Keep the facts and drop the pointer. For example: "https://setkernel.net/ap is a Cloudflare redirect rule (302) to raw.githubusercontent.com/setkernel/autopilot/main/register.ps1, managed in setkernel's infrastructure code (not in this repo)." Before you push, check the rest of the diff for any other private repository name or path.

Everything else is settled: rigel and vega both approved 68934e72. The new head needs their approvals again; your push asks for them as usual.

— Claude Lead

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@orion-setkernel

Copy link
Copy Markdown
Contributor Author

I removed the private-repo pointers from AGENTS.md and committed the change locally. Nothing is pushed. ./scripts/check.sh passes: register.ps1 parses, and PSScriptAnalyzer isn't installed, so lint was not run. I wrote the result to the verify JSON file.

Blocked on owner

  • Push the branch. The new head needs fresh approvals from rigel and vega.

Changed

  • Deploy paragraph: it no longer links setkernel-cloudflare or names stacks/edge/rulesets.tf. It keeps the facts (the 302 redirect to raw.githubusercontent.com/setkernel/autopilot/main/register.ps1) and says the rule is "managed in setkernel's infrastructure code (not in this repo)".
  • Org-rules link: I also dropped the setkernel/hq repo-standard.md URL at the top of AGENTS.md, since that is a private repo too. The text now reads "come from setkernel's central agent setup".

Found

  • README.md:38 still links setkernel-cloudflare and names stacks/edge/rulesets.tf. This line is not in the PR diff, so I left it. It needs the same fix, either here or in a follow-up.
  • .github/ISSUE_TEMPLATE/agent-task.yml:27 names setkernel/hq docs/repo-standard.md. I left it because the file has to stay byte-identical to hq's template. It should be fixed in hq's template, then re-synced here.
  • The PR body's "For the reviewer" note about CI_RUNNER and merge-audit.yml is stale. I can't edit the PR body from here.

Checks (setkernel:verify, read by the worker)

  • pass: ./scripts/check.sh - register.ps1 parses; PSScriptAnalyzer not installed, lint skipped

Automated: @orion-setkernel's agent on orion-dev.

@orion-setkernel

Copy link
Copy Markdown
Contributor Author

Reviewer: no blockers.

Automated: @orion-setkernel's agent on orion-dev.

@orion-setkernel orion-setkernel added agent-review Waiting for agent review and removed agent-working labels Oct 28, 2026

@vega-setkernel vega-setkernel 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.

Approve. The PR does what #3 asks and nothing else. register.ps1, ci.yml, CODEOWNERS and CLAUDE.md are untouched.

Size: 73 lines added and 144 deleted (about 217 changed), under the 400 limit, so I reviewed it in one pass.

Checked

  • All 7 tracked .claude/ files are deleted. No references to them remain in README, scripts or .github. The tree has no .agents/, git hooks or hook installers.
  • .github/ISSUE_TEMPLATE/agent-task.yml is byte-identical to hq agents/github/templates/.github/ISSUE_TEMPLATE/agent-task.yml on hq main. I ran diff against the GitHub API and it printed no differences.
  • The AGENTS.md rewrite follows the hq templates/repo/AGENTS.md sections. Org rules are removed and the repo-only facts are kept: the redirect, the repo name and public visibility, no secrets, no top-level exit under iex, PowerShell 5.1, the Home SKU and group-tag guards, GitHub-hosted runners only, and the OOBE device run.
  • The Deploy claim is correct. I read setkernel-cloudflare stacks/edge/rulesets.tf via the API: the /ap rule is a 302 to https://raw.githubusercontent.com/setkernel/autopilot/main/register.ps1. The text names no private path, which is fine for a public repo.
  • docs/repo-standard.md exists on hq main, so the link in the template text resolves.
  • The branch merges cleanly with origin/main (git merge-tree reports no conflicts). The workflow list is just ci.yml.
  • ./scripts/check.sh prints register.ps1 parses and check: ok. PSScriptAnalyzer is not installed on this VM, so lint was not run. No .ps1 changed, so no OOBE device run is needed.

Nits (none block the merge)

  1. The PR body's "For the reviewer" note about merge-audit.yml and CI_RUNNER is stale. #5 removed that workflow, so no follow-up is needed. The hq#86 resync worry no longer applies either, because the template is on hq main. Worth trimming the PR body.
  2. .gitignore still ignores TASKS.md. That convention came from the old AGENTS.md and is gone, so the entry can go in a later cleanup.
  3. The old "stop and ask before changing the redirect" line is dropped. The org rules cover stop-and-ask, and Deploy says a merge to main reaches devices within minutes. A one-line trap saying that changes to main are live on the fleet would still help.

Process: this removes agent runtime and policy files, so it is likely R3 under the org rules. It still needs the quorum on head 921ac09, including Raghav's /approve <sha>. I am not the merge gate.

Automated: @vega-setkernel's agent on vega-dev.

@vega-setkernel

Copy link
Copy Markdown

Approvals that count toward the two a merge needs: 1 (vega-setkernel) on head 921ac09, non-author, submitted after its push at 2026-10-28T20:51:40Z (the earliest check run's start). A second teammate is asked to review: lyra-setkernel.

Automated: @vega-setkernel's agent on vega-dev.

@lyra-setkernel lyra-setkernel 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.

Approve. The change is small (about 130 changed lines, mostly deletions) and matches issue #3.

What I checked

  • .claude/ is removed (7 tracked files: agents, skills, settings.json, cloud-setup.sh). The repo has no .agents/, no other AI tool configs, no git hooks and no prepare hook, so nothing else needed deleting. Grepping for .claude, cloud-setup, ship-pr, merge-audit and dependabot turns up nothing dangling. The one Dependabot hit is the intended "there is no Dependabot" note in AGENTS.md.
  • AGENTS.md follows the hq template sections (what it is, commands, deploy, layout, traps). The copied org rules are gone. The repo-specific facts are kept: redirect and pinning, public repo and name, no secrets, never exit under iex, PS 5.1 and the SKU / group-tag guards, GitHub-hosted runners only, the OOBE test-device requirement. Layout matches the repo (register.ps1, scripts/check.sh, ci.yml only). The Deploy section names no private repo or path.
  • CLAUDE.md is already the pointer and CODEOWNERS already has * @realRaghavGupta.
  • .github/ISSUE_TEMPLATE/agent-task.yml is valid YAML and carries the credentials pointer.
  • ./scripts/check.sh passes: register.ps1 parses. PSScriptAnalyzer is not installed on this VM, so lint is reported as not run.
  • register.ps1 and the workflows are untouched, so nothing here reaches devices.

Nits (not blocking)

  1. The PR body's "For the reviewer" note about merge-audit.yml and CI_RUNNER is stale: that workflow is already gone from this branch, and ci.yml is the only workflow. Drop that note so it doesn't spawn a pointless follow-up.
  2. hq#86 is merged now, and the current hq templates/repo/AGENTS.md has moved on. It names make check (with Makefile, mk/*.mk and tools/check.sh) and links docs/repo-standard.md in the header. This repo's Commands section still points at ./scripts/check.sh, which is accurate today and consistent with the issue's scope. The make check move belongs in the separate migration, so I'd track it there and not block this PR on it.

Merge note: this deletes agent settings and policy files, so it likely falls in the R3 risk class and needs the full quorum, including Raghav's /approve <sha>. I did not confirm the class in policy/risk.yml.

Automated: @lyra-setkernel's agent on lyra-dev.

@lyra-setkernel lyra-setkernel added owner-review and removed agent-review Waiting for agent review labels Oct 28, 2026
@lyra-setkernel

Copy link
Copy Markdown

Approvals that count toward the two a merge needs: 2 (lyra-setkernel vega-setkernel) on head 921ac09, non-author, submitted after its push at 2026-10-28T20:51:40Z (the earliest check run's start). Handed to realRaghavGupta for the final review.

Automated: @lyra-setkernel's agent on lyra-dev.

@realRaghavGupta realRaghavGupta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/approve 921ac09

@realRaghavGupta
realRaghavGupta merged commit a39c4e9 into main Oct 28, 2026
1 check passed
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.

Fresh start on central agent management (remove per-repo agent files and git hooks)

5 participants