Skip to content

docs: name only the relup task for Castle - #34

Merged
ausimian merged 1 commit into
feature/upgrade-toolingfrom
fix/appup-compiler-naming
Aug 25, 2026
Merged

docs: name only the relup task for Castle#34
ausimian merged 1 commit into
feature/upgrade-toolingfrom
fix/appup-compiler-naming

Conversation

@ausimian

Copy link
Copy Markdown
Owner

Corrects an error introduced by #24. Found by the adversarial review on the Castle side of the same work (ausimian/castle#9).

The problem

#24 renamed one task and the README claimed it had renamed two:

Additionally, Forecastle ships with an appup compiler and a mix task for relup generation. Both are named for Castle rather than for the package that implements them — mix castle.relup and the :appup compiler...

Only the relup task is named for Castle. The compiler is Mix.Tasks.Compile.Appup, invoked as mix compile.appup through the project's :compilers list, and there is no mix castle.appup for a reader to go looking for. The relup task's @moduledoc carried the same implication, saying it is named castle.* "like the rest of the tooling a developer runs".

Castle's README states the corrected rule as of ausimian/castle#9, so left alone the two halves of one release would have given a reader contradictory naming rules for the same compiler.

What changed

  • README.md — the paragraph now names mix castle.relup as the thing named for Castle, and states separately that the compiler is named for neither package: it is mix compile.appup, reached through :compilers rather than invoked by name, so there is no mix castle.appup.
  • lib/mix/tasks/castle.relup.ex — the @moduledoc provenance line no longer implies the rest of the tooling shares the namespace.

Documentation only; no code paths touched.

Deliberately not done

No RELEASE.md entry. The breaking entry from #24 is already precise — it names only mix forecastle.relup as renamed and says mix compile.appup is unaffected because it is named by its :compilers entry rather than by a package. That entry and this correction are both unreleased 1.0.0 notes, so this corrects what will ship rather than changing it. The reviewer independently reached the same conclusion.

Verification

  • mix precommit green: 353 tests, 0 failures, credo --strict clean.
  • Independent Codex adversarial review: approve, no material findings. It confirmed the registered tasks are Mix.Tasks.Compile.Appup (compile.appup) and Mix.Tasks.Castle.Relup (castle.relup) with no castle.appup, that a repository-wide search finds no remaining claim that the compiler is Castle-named, and that the Installation and Appup Compiler sections consistently configure :appup through :compilers.

https://claude.ai/code/session_01RotroiBdbidiCRX3KqE3Dy

forecastle#24 renamed one task and the README claimed it had renamed
two: "Both are named for `Castle`" took in the appup compiler, which is
`Mix.Tasks.Compile.Appup` and is invoked as `mix compile.appup` through
the project's `:compilers` list. There is no `mix castle.appup` to reach.
The relup task's `@moduledoc` carried the same implication by saying it
is named `castle.*` "like the rest of the tooling a developer runs".

Castle's README states the corrected rule as of castle#9, so left alone
the two halves of one release would have given a reader contradictory
naming rules for the same compiler.

The RELEASE.md entry from forecastle#24 needs nothing: it names only
`mix forecastle.relup` as renamed and already says `mix compile.appup` is
unaffected because it is named by its `:compilers` entry rather than by a
package. This correction and that entry are both unreleased 1.0.0 notes,
so this is a correction to what will ship rather than a change to it.

Refs: #24, ausimian/castle#9

Claude-Session: https://claude.ai/code/session_01RotroiBdbidiCRX3KqE3Dy
@ausimian

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 61afc9642e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ausimian
ausimian merged commit a77e97c into feature/upgrade-tooling Aug 25, 2026
13 checks passed
@ausimian
ausimian deleted the fix/appup-compiler-naming branch August 25, 2026 03:27
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.

1 participant