Conversation
Adds a Vale config (.vale.ini) with a Lambda style in .github/vale/ and a Lint Docs workflow that runs it on PRs and pushes to master. Rules apply to maintainer-owned markdown (prizes/, README, TERMS, PRIVACY_POLICY, the solution template); submitted solutions are skipped. - Lambda.License: "MIT and Apache-2.0", never "or" or "/" - Lambda.Amount: amounts written as $1500 (no separator, USD, or k) - Lambda.Dash: no em or en dashes; use " - " instead Fixes all existing violations, including the validator messages that said "Must be MIT or Apache-2.0". Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Use errata-ai/vale-action instead of a hand-rolled install and jq annotation step. Its default reporter annotates fork PRs without write access, and filter_mode=added means only lines a PR adds are reported. Drop the push trigger, which has no diff to filter against. Collapse .vale.ini to a single section listing the linted files instead of enabling everything and switching solutions/ back off. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
❌ Validation failedFix before review:
Warnings (non-blocking):
Automated check. See solution template and TERMS. |
weboko
marked this pull request as draft
October 1, 2026 23:26
Collaborator
Author
|
experimenting here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #174.
Adds Vale with a small
Lambdastyle to keep prize specs and repo docs consistent, and fixes every existing violation.Rules (
.github/vale/Lambda/)$1500. No thousands separator ($1,200,$1.200), noUSDprefix or suffix, nok.-or:instead.Scope (
.vale.ini)prizes/*.md,README.md,TERMS.md,PRIVACY_POLICY.mdand thesolutions/LP-0000.mdtemplate. Submitted solutions are the submitter's own writing and aren't linted. Code spans and code blocks are skipped.CI (
.github/workflows/lint-docs.yml)errata-ai/vale-action@v3(Vale pinned to 3.24.0) on pull requests with a read-only token.fail_on_error: true: any error fails the check. It only blocks merging if Lint Docs is made a required check in branch protection.mastercan't fail an unrelated PR.Fixes to existing content
-acrossprizes/, README, TERMS, PRIVACY_POLICY, the solution template and the payment issue template. This touches a few visible strings: the TERMS/PRIVACY_POLICY titles, the issue template name/title ("Lambda Prize - payment") and the suggested solution PR title.$1,200→$1200and$20,000→$20000.validate-submission.shsaid "Must be MIT or Apache-2.0" in two messages. It now says "Must be MIT and Apache-2.0 (dual licensed)".vale .locally.Testing
USDTand an amount inside a code span) passed.🤖 Generated with Claude Code