Skip to content

fix: branding.agent.js has the same stale footers.yml path bug fixed in header-footer.js #3453

Closed

Description

@eleshar

Problem

scripts/agents/branding.agent.js reads footer config from .github/automation/footers.yml:

// Line 16 (doc comment) and line 22
const configPath = path.join(process.cwd(), ".github/automation/footers.yml");

This is the exact same bug fixed in scripts/agents/includes/header-footer.js by #3446 — the real file was moved to .github/footers.yml in commit 4d2d449b19 (Dec 2025, confirmed via git log --all -- .github/automation/footers.yml, shows a pure rename). branding.agent.js was never updated to match.

Current status: dead code, so no runtime impact yet

Verified via GitHub code search — no workflow YAML in .github/workflows/ references branding.agent.js. It's not wired into any active automation. Fixing the path costs nothing risky, but is worth doing so this doesn't resurface as a live bug if/when this script gets wired up later.

Also: scripts/agents/includes/README.md's dependency table is stale

The "Available Utilities" table claims footerUtils.js is "Used By: meta.agent.js" — it isn't. meta.agent.js imports from header-footer.js. See #3454 for footerUtils.js itself.

Fix

Same one-line change as #3446: .github/automation/footers.yml → .github/footers.yml.

Activity

  1. linear-code commented on Sep 22, 2026

    @linear-code
  2. added a commit that references this issue on Sep 22, 2026
    c31f095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions