Skip to content

feat(readme): allow the Awesome MyGo listing badge in rule R6 - #280

Merged
bketelsen merged 2 commits into
mainfrom
lucilla/readme-awesome-mygo-badge
Nov 19, 2026
Merged

bketelsen merged 2 commits into
mainfrom
lucilla/readme-awesome-mygo-badge

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

First-party apps built on MyGo list themselves on Awesome MyGo and carry its listing badge. frostmail and frostnotes do so today, and README rule R6 rejected the badge (FAIL R6 ... the badge image https://awesomemygo.dev/badge.svg is not an allowed source).

This PR adds the Awesome MyGo listing (awesomemygo.dev/badge.svg) to the allowed badge sources:

  • docs/specs/readme.md: rule R6 names the new source.
  • .agents/skills/frostyard-readme/scripts/check-readme.mjs: badgeImageAllowed accepts host awesomemygo.dev with path exactly /badge.svg.
  • test/readme-check.test.mjs: the badge passes; another path on that host, the name inside another host's path, a lookalike host (awesomemygo.dev.example.org) and an unlisted shields badge still fail R6.

The limit of 3 badges and the top-block rule do not change. ADR-0072 states "a fixed list" and leaves the list to the spec, so no ADR changes.

Risk tier

Risk tier: 1 — a README spec rule, the read-only checker and its test. No path in .github/risk-paths.json matches the changed files.

Verification

  • node --test test/readme-check.test.mjs: 32 pass. Without the spec and checker change (test kept), the new test R6: the Awesome MyGo listing badge is allowed fails (31 pass, 1 fail).
  • make ci at the root: exit 0 (1040 tests pass, docs and organization checks green).
  • Checker on the default branches (--ref origin/main):
    • frostnotes 83fb2a5: before FAIL R6 line 7; after ok README.md (app, 785 words).
    • frostmail 8f2ed30: the R6 finding is gone. R1, R3, R4, R5 and R10 still fail; they are not about badges and stay for that repository.
  • GitHub code search for awesomemygo.dev/badge in the frostyard and bketelsen owners finds only frostyard/frostmail and frostyard/frostnotes README.md (code search covers default branches only).
  • Not covered: the docs-site scaffold test (no docs-site file changed); the checker does not check the badge's link target, as for the other sources.

Review record

  • Revert test: scratch worktree at 4840844, spec and checker taken back to base e2c06ea, tests kept: node --test test/readme-check.test.mjs exits 1, not ok 12 - R6: the Awesome MyGo listing badge is allowed (AssertionError), 31 pass, 1 fail. Scratch worktree removed.
  • Cross-review (coder anthropic/claude-opus-5-5, reviewer openai/gpt-6.1-sol), base e2c06eaaf4a357aa7e7ed76c0725e4426590decd:
    • Head 48408448f62300408c40f8991b57414b61aea8d0: Ready, Blocking: none. 1 low finding: "for an app built on MyGo" in the R6 row read as an extra condition that the checker does not check. Fixed in d2f6c55 (the row now names the source only).
    • Re-review of the delta to d2f6c55c83c3a81b541bb5eead48f889f1a38685: Ready, Blocking: none, no findings.
  • make ci at d2f6c55: exit 0. CI green at d2f6c55.

First-party apps built on MyGo (frostmail, frostnotes) carry the
awesomemygo.dev listing badge, and rule R6 rejected it. The README spec
and check-readme.mjs now accept https://awesomemygo.dev/badge.svg; other
paths on that host and lookalike hosts still fail.
@github-actions github-actions Bot added the level:L3 Skim label Nov 19, 2026
The checker allows the badge by its image source; the spec row now
says the same and sets no extra condition.
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 19, 2026
@bketelsen
bketelsen added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit d6e5bfa Nov 19, 2026
6 checks passed
@bketelsen
bketelsen deleted the lucilla/readme-awesome-mygo-badge branch November 19, 2026 01:06
bketelsen pushed a commit to frostyard/frostnotes that referenced this pull request Nov 22, 2026
* fix(vault): read the daily-note settings under the vault's lock (#250)

withDaily read vault.yaml and computed the daily note's path before it took the vault's lock, so a Configure in between could move the daily folder and a daily-scoped token could write the note at the old path. docs/specs/lodge-app.md says the day's note is judged under the lock, at the path the settings give. The settings are now read and the path computed after v.lock(). TestDailyReadsItsSettingsUnderTheLock checks, through the dailySettings test hook, that mu is held when the settings are read, for Daily and AppendDaily; it fails on the old order.

* fix(catalog): write a rooted link when the link text would resolve to another note (#251)

With Plan.md and A/Plan.md, a link from A/X.md to the root Plan.md was written [[Plan]], which resolves to A/Plan.md (a target that is not rooted is first tried in the linking note's folder). docs/specs/rpc-api.md says shortest writes the name only when it resolves to the file. LinkText (Go) and linkTextFor (TypeScript, with a port of markdown.Resolve) now check the shortest and absolute text with the resolver, and write the rooted path (/Plan) when it does not resolve back. TestLinkText and catalog.test.ts hold the cases.

* fix(render): percent-decode a markdown link's heading (#252)

markdownDestination decoded only the part before #, so ![x](Note.md#My%20Heading) found no heading 'My Heading' and embedded the whole note, and data-href kept %20. Obsidian writes a space in such a heading as %20, and docs/specs/render.md says the destination is percent-decoded; the note index (markdown.collectLink) already decodes the subpath. Fixture R19 holds a link and a section embed with a percent-encoded heading.

* docs(readme): link the frostyard.org guide as the documentation home (#253)

Baseline row B9 (core ADR-0084) wants README.md to link the tool's user documentation home, Frostnotes' guide on frostyard.org. docs/README.md stays in Where to go next. The Awesome MyGo badge stays: rule R6 allows it since frostyard/core#280.

---------

Co-authored-by: frostyard-machines <[email protected]>
bketelsen pushed a commit to frostyard/frostmail that referenced this pull request Nov 22, 2026
….org guide (#350) (#370)

core's README spec (baseline B17, core ADR-0072) found no kind marker, a top block of 297 words, no Status, Documentation or Where to go next, and the Documentation home of baseline B9 (core ADR-0084) was not linked. The top block is now the app kind's: marker, icon, a lead of 2 sentences, Status and Documentation (the frostyard.org guide). The features move to What it does, and Install, Remove and Where to go next are added; the License section's text moves to the LICENSE line. The Awesome MyGo badge stays: rule R6 allows it since frostyard/core#280. docs/README.md marks ADR-0057 Proposed, as its file says (#349).

Co-authored-by: frostyard-machines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L3 Skim ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants