Tighten security docs, require Node 22, mark archive scripts as historical#14
Open
Tighten security docs, require Node 22, mark archive scripts as historical#14
Conversation
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.
Motivation
dev@commandlayer.org) rather than inventing a staffed security alias, which remains a known limitation.Description
SECURITY.mdinto a short, serious policy that directs private reports todev@commandlayer.org, lists the kinds of issues to report, requests coordinated disclosure, and sets a conservative response expectation. (file:SECURITY.md).SECURITY_PROVENANCE.mdto point reporters todev@commandlayer.organd kept provenance details minimal and consistent. (file:SECURITY_PROVENANCE.md)."engines": { "node": ">=22 <23" }and fixed the default validate script to call the real entrypoint inpackage.json. (file:package.json).scripts/archive/as historical-only by adding a short note under the Legacy / compatibility section inONBOARDING.mdso contributors see this before running old scripts. (file:ONBOARDING.md).publication_modelmetadata expected by the descriptor schema so validation aligns with declared provenance, and regeneratedchecksums.txt. (files:.well-known/agent.json,.well-known/agent-cards-v1.1.0.json,checksums.txt).scripts/validate-cards.mjsto restore correct mode handling and validations (current vs legacy), add explicit source/mirror roots used in expectations, and tighten legacy placeholder checks; this preserves the intended validation flows without changing release behavior. (file:scripts/validate-cards.mjs).Testing
node -vto confirm runtime (reportedv22.x).node scripts/generate-checksums.mjs, which wrote an updatedchecksums.txt(success).npm run validate(which runsnpm run validate:currentandnpm run validate:checksums) and observed successful current-line validation and checksum verification.npm run validate:legacyand observed successful legacy-line validation.Codex Task