Skip to content

chore: tidy the legacy content out of .github - #36

Merged
radiusred-cody[bot] merged 4 commits into
mainfrom
task/35-tidy-the-legacy-content-out-of-github
Sep 3, 2026
Merged

chore: tidy the legacy content out of .github#36
radiusred-cody[bot] merged 4 commits into
mainfrom
task/35-tidy-the-legacy-content-out-of-github

Conversation

@radiusred-cody

@radiusred-cody radiusred-cody Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Closes #35

Task: #35 — milestone radiusred/ops#1 (M1), requirement M1-R2. Implemented by radiusred-cody under the implementer contract.

What was done

  • chore: remove the dead blog scaffolding — deletes _config.yml, mkdocs.yml, index.html, docs/index.md and requirements.txt. Nothing is served from them: the repo's Pages setting is build_type: workflow with no Pages workflow present, index.html only redirected to a /blog/ that no longer exists, and docs/index.md pointed at the removed radiusred/blog repository. An org-wide code search finds no consumer of radiusred.github.io/.github/.
  • chore: move doc/radius-red.drawio to ha-sinkhole — removes the file here; it now lives in ha-sinkhole as .files/ha-sinkhole-architecture.drawio, overwriting the copy there and keeping that filename, per the operator's decision on #35. Receiving PR: docs: take the newer architecture draw.io source from radiusred/.github ha-sinkhole#117 (approved and merged as 349328d). The SVGs there are not regenerated (not asked for); the ha-sinkhole PR notes that they are now behind the source.
  • docs: make the CONTRIBUTING.md inventory claims exact — after review: names the housekeeping files (CONTRIBUTING.md, .gitignore, .codecrew.yml) instead of claiming the shared assets are everything, and scopes the "carries its own README.md" claim to project repositories, since profile/README.md is the org profile, not this repo's README.
  • docs: rewrite CONTRIBUTING.md for the org as it is — the file now says what .github holds (the two reusable release workflows and their callers tradedesk and tradedesk-dukascopy, the calculate_version action, the org profile), points contributors at each project's own CONTRIBUTING.md instead of a three-repo list that had gone stale, and spells out how changes here land: PR, rebase-only linear history, conventional commits, and that callers pin the workflows at @main so a merge here is live for every caller at once.

Untouched, by instruction: .github/workflows/*, .github/actions/calculate_version/*, profile/*.

After this PR git ls-files on main will be: .codecrew.yml, the two workflows, the action, .gitignore, CONTRIBUTING.md, profile/README.md, profile/banner-whitetext.webp .

The draw.io gate, resolved

The task said to move doc/radius-red.drawio "next to the SVGs it generates", but ha-sinkhole already held .files/ha-sinkhole-architecture.drawio, from which the shipped SVGs were rendered; this copy had diverged from it. Raised as a human gate on #35; the operator answered that this copy is the more up-to-date one and it should overwrite the ha-sinkhole file under that filename. Done in radiusred/ha-sinkhole#117, since merged.

Requirements

Tests

None ride with this PR: no code changes. Everything removed or rewritten is prose or dead site configuration; the workflows and the action are untouched.

Notes for the operator

  • The org require-lint ruleset makes "Lint commit messages" a required check on this repo's main, but this repo has no commitlint workflow, so that check will never report on a .github PR. Adding one is a workflow change and out of scope here. Both commits are conventional.
  • Pages remains enabled on the repo with nothing to build; disabling it is a repository setting, not a file, so it is out of scope here.
  • task start could not assign @radiusred-cody[bot] to Tidy the legacy content out of .github #35 (GitHub returned 403 on the assignment; Apps cannot be issue assignees). The task is otherwise started as the App.

Deviations

None from the plan. The one gate is recorded on #35 (question and the operator's decision); the plan's change 3 landed as written once answered.

@radiusred-cody radiusred-cody Bot linked an issue Sep 2, 2026 that may be closed by this pull request
@radiusred-cody
radiusred-cody Bot marked this pull request as ready for review September 3, 2026 00:15

@radiusred-checky radiusred-checky Bot 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.

M1-R2 requires the rewritten CONTRIBUTING.md to reflect the current org, but two absolute statements in it are not accurate against the resulting tree/org:

  • Under “What this repository holds”, “Nothing else lives here” is contradicted by the retained .codecrew.yml, .gitignore, and CONTRIBUTING.md itself (the PR body and git ls-files both show them). These are legitimate repository-local/coordination files, but the text needs to acknowledge that exception rather than say the listed shared assets are literally all that lives here.
  • Under “Contributing to a project”, “Every public repository carries its own README.md” is false for the public .github repository: GitHub’s repository README endpoint returns none; profile/README.md is the special organization profile, not this repository’s root README. Scope this claim to the project repositories (or otherwise phrase it so .github is not included).

Please correct these inventory/contribution claims so the guide is honest about the org as it is. The functional cleanup itself checks out: the two caller repositories still reference the untouched reusable workflows at @main, the surviving tracked-file set matches the task’s explicit keep list, and the draw.io payload in ha-sinkhole#117 is byte-for-byte identical to the source removed here.

radiusred-cody Bot added a commit that referenced this pull request Sep 3, 2026
Review on PR #36 found two absolute statements that were untrue against
the resulting tree: "Nothing else lives here" ignored .codecrew.yml,
.gitignore and CONTRIBUTING.md itself, and "Every public repository
carries its own README.md" was false for .github, whose profile/README.md
is the organisation profile rather than a repository README. Name the
housekeeping files and scope the README claim to project repositories.

Refs M1-R2.
@radiusred-cody

radiusred-cody Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Addressed both findings from review 5096582894 in 4f22ad5 (docs: make the CONTRIBUTING.md inventory claims exact (#35)):

  1. "Nothing else lives here" — replaced with a sentence naming the housekeeping the repository does carry: this file, .gitignore, and .codecrew.yml (the CodeCrew pointer at the company hub). The shared-asset list above it is unchanged.
  2. "Every public repository carries its own README.md" — now "Each project repository carries its own README.md …", with a parenthetical stating that .github is not a project, that profile/README.md is the organisation profile GitHub shows on the org page rather than a repository README, and that this file is its contributing guide.

No other files changed. The PR description now lists the fix commit and notes that ha-sinkhole#117 has merged (349328d). New head: 4f22ad5b2e353d47bff9d68855ae72e4d862603e.

@radiusred-checky radiusred-checky Bot 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.

Both findings from review 5096582894 are resolved at this head: the repository housekeeping is now named explicitly, and the README claim is scoped to project repositories with .github accurately explained.

Re-verified M1-R2 and the task plan: the tracked tree is exactly the claimed retained set; the diff changes only CONTRIBUTING.md and the six intended removals; both reusable workflows, the calculate_version action, and profile assets are untouched. The receiving ha-sinkhole PR is merged as recorded.

Direct checks of the callers on their main branches confirm tradedesk and tradedesk-dukascopy still call both reusable workflows at @main, and reusable-release still calls calculate_version at @main. No new defect or unresolved decision gate found.

Nothing was served from these files: the repo has Pages set to build by
workflow with no Pages workflow present, index.html only redirected to a
/blog/ that no longer exists, and docs/index.md pointed at the removed
radiusred/blog repository. _config.yml, mkdocs.yml and requirements.txt
existed only to build that site.

Refs M1-R2.
The old file described .github as holding cross-repo documentation and
listed only the three tradedesk repositories. Say what the repository
actually holds (the two reusable release workflows and their callers, the
calculate_version action, the org profile), point contributors at each
project's own CONTRIBUTING.md instead of a list that goes stale, and spell
out how changes to this repository land: PR, linear history, conventional
commits, and that callers pin the workflows at @main.

Refs M1-R2.
The file only ever held ha-sinkhole's architecture diagrams. It now lives
in that repository as .files/ha-sinkhole-architecture.drawio, next to the
SVGs rendered from it, per the operator's decision on the task issue; the
receiving PR is radiusred/ha-sinkhole#117.

Refs M1-R2.
Review on PR #36 found two absolute statements that were untrue against
the resulting tree: "Nothing else lives here" ignored .codecrew.yml,
.gitignore and CONTRIBUTING.md itself, and "Every public repository
carries its own README.md" was false for .github, whose profile/README.md
is the organisation profile rather than a repository README. Name the
housekeeping files and scope the README claim to project repositories.

Refs M1-R2.
@radiusred-cody
radiusred-cody Bot force-pushed the task/35-tidy-the-legacy-content-out-of-github branch from 4f22ad5 to 66c7301 Compare September 3, 2026 08:07
@radiusred-cody

radiusred-cody Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main at 58e3927 (task #37's commitlint workflow) so the required "Lint commit messages" check can report on this PR. The four commits are unchanged in content and order; only their parents moved. New head: 66c7301d96404c0fba3116f7c9e72273345cb53c.

@radiusred-cody
radiusred-cody Bot merged commit d58a620 into main Sep 3, 2026
1 check passed
@radiusred-cody
radiusred-cody Bot deleted the task/35-tidy-the-legacy-content-out-of-github branch September 3, 2026 08:08
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.

Tidy the legacy content out of .github

0 participants