Skip to content

chore(anchor): drop the stale BoJ trigger fields from ANCHOR.a2ml - #198

Open
hyperpolymath wants to merge 3 commits into
mainfrom
claude/charming-maxwell-1ar6w3
Open

hyperpolymath wants to merge 3 commits into
mainfrom
claude/charming-maxwell-1ar6w3

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Deletes two stale fields from .machine_readable/6a2/anchor/ANCHOR.a2ml:

 ssg:
   engine: "casket"
   output_dir: "public"
-  boj_trigger: true
-  cartridge: "ssg-mcp"

One file, 2 lines deleted, nothing added.

Why

Both fields described the BoJ build trigger workflow (boj-build.yml), which #192 removed because it could never succeed. cartridge: "ssg-mcp" was the endpoint that trigger called, so it goes with boj_trigger.

Nothing reads either field. I searched this repo, then the whole hyperpolymath org. Outside anchor files, boj_trigger appears only in hyperpolymath/scripts boj-unify-repos.sh, the script that writes these fields. In this repo the only check that touches the anchor is the Mustfile's existence test (test -f .../ANCHOR.a2ml).

Deletion only. Under .claude/CLAUDE.md the .a2ml files are legacy, awaiting migration to deeds (#187), and agents may not add facts to them. So I did not write boj_trigger: false or change any other field.

Validation

Check Result
Parse with Ruby YAML.load_file and yq, before and after Both parse; the same 7 top-level keys; ssg is now {engine: casket, output_dir: public}
bash tests/workflows/ci_gate_test.sh exit 0
Diff against main only this file

Not run locally: the deed-ecosystem validator in dogfood-gate.yml, which scans .a2ml files. This PR's CI runs it.

Left as they were (owner's call)

These may also be stale. I left them because changing them would mean writing a new fact into a legacy file:

  • The comment # SSG Configuration (Unified boj-server build). The site is now built by casket-pages.yml, not by BoJ.
  • output_dir: "public". casket-pages.yml builds into _site.
  • parents: org.hyperpolymath.boj-server.

These are best settled when #187 moves the anchor into a deed.

Beyond this repo

The same boj_trigger and cartridge fields are in about 160 other repos' anchor files, all written by boj-unify-repos.sh. Changing that script first would keep a sweep from being undone.


Generated by Claude Code

boj-build.yml POSTed to http://boj-server.local:7700 on every push to
main. The step could not work, and continue-on-error kept the job green:

- The run script was not valid shell. The JSON payload ended with an
  escaped backslash before the closing quote, so bash stopped at
  "unexpected EOF while looking for matching quote" before curl ran
  (actionlint/shellcheck SC1073, SC1072).
- The target was plain HTTP, which the repo's security rules forbid, on
  a .local name that GitHub-hosted runners cannot resolve.
- continue-on-error: true hid both, across 192 green runs.

Nothing depends on the workflow: it is not called, not a workflow_run
source, and not a required check. The repo documents no reachable BoJ
endpoint, so there is nothing to repair it against. The site is built
by casket-pages.yml, which runs casket-ssg on the runner.

Also drop the workflow's entry from actions.lock. Its only action,
actions/checkout@v7.0.1, is still used by eight other workflows, so no
dependency entry changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDiMgLS4FnZApYxUk1b
ANCHOR.a2ml still said `ssg.boj_trigger: true` and `ssg.cartridge:
"ssg-mcp"`. Both described the BoJ build trigger workflow, which
#192 removed because it could never succeed.
Nothing reads either field: an org-wide code search finds
`boj_trigger` only in anchor files and in the script that writes them.

Deletion only. The .a2ml files are legacy (see .claude/CLAUDE.md and
#187), so no replacement fact is added. The rest
of the `ssg` block is left as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDiMgLS4FnZApYxUk1b
@gitnotebooks

gitnotebooks Bot commented Dec 1, 2026

Copy link
Copy Markdown

Review these changes at https://app.gitnotebooks.com/hyperpolymath/januskey/pull/198

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the static site generation configuration. Its previous automatic trigger and MCP cartridge settings are no longer configured. No direct changes to user-facing functionality are described.

The change removes boj_trigger: true and cartridge: "ssg-mcp" from the SSG configuration.

Changes: SSG configuration

Layer / File(s) Summary
Remove SSG entries
.machine_readable/6a2/anchor/ANCHOR.a2ml
The SSG configuration no longer includes boj_trigger: true or cartridge: "ssg-mcp".

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

  • Issue 187: The change removes fields from a file listed for retirement, but the supplied context does not establish whether a deed holds those fields.
  • Issue 185: The change follows the deletion stage described in the migration plan, but the supplied context does not show the required deed-field mapping.
Merge Risk: Minimal · up to 73c8a

This removes two stale configuration entries left over from a build-trigger workflow that was already deleted. No remaining reader of those entries was found, so merging carries negligible risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: removing the BoJ trigger fields from ANCHOR.a2ml. The raw summary and the description both confirm the diff deletes boj_trigger and cartridge from the ssg block of that fil…
Description check Passed The description states that two stale fields are deleted from ANCHOR.a2ml. It gives the diff, the reason (the removed boj-build.yml workflow), the validation steps, and the files left unchanged. It ma…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: removing the BoJ trigger fields from ANCHOR.a2ml. The raw summary and the description both confirm the diff deletes boj_trigger and cartridge from the ssg block of that file, so the title matches the changeset.

Full details: Description check

Explanation

The description states that two stale fields are deleted from ANCHOR.a2ml. It gives the diff, the reason (the removed boj-build.yml workflow), the validation steps, and the files left unchanged. It matches the changeset.

Finishing Touches

Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 00023ec0-2e89-481a-b6e3-57b71ca7daa8
Commits

Reviewing files that changed from the base of the PR and between d71bb76 and 73c8a9b.

Files selected for processing: 1

  • .machine_readable/6a2/anchor/ANCHOR.a2ml
Files with no reviewable changes: 1

  • .machine_readable/6a2/anchor/ANCHOR.a2ml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 11

  • GitHub Check: Dogfooding compliance summary
  • GitHub Check: CodeRabbit
  • GitHub Check: github-advanced-security
  • GitHub Check: codeql-rust / analyze
  • GitHub Check: codeql-actions / analyze
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / JS runtimes — environment provisions Bun first
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: idris-abi
  • GitHub Check: semgrep-cloud-platform/scan

@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

hyperpolymath commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner Author

governance / Actions lockfile verify fails here, but this PR did not cause it.

I have not fixed it here. The fix is to regenerate actions.lock, and the headers of main-estate-audit.yml, rust-ci.yml and secret-scanner.yml say they were de-onboarded from the lock on purpose. A full-directory gh actions-lock would re-onboard them, which those headers say breaks them. That trade-off is the owner's call, and it belongs in its own PR.


Generated by Claude Code

@linear-code
linear-code Bot marked this pull request as ready for review December 1, 2026 01:49
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-01T01:49:22.213379Z
We couldn’t complete this review. Comment @codex review to try again.
73c8a9b Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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.

2 participants