Repository navigation
Share read-only and digest helpers, and align repository docs - #6
Merged
Merged
Conversation
Fifteen targets carried verbatim copies of the read-only dry-run check while CLISafety.rejectDryRunForReadOnly in Utility had no callers; those targets now call it, and Clipboard reports the same message as the rest. Intelligence keeps its own check because it also rejects risk flags with its own failure codes. The SHA-256 hex helper, copied into seventeen targets, now lives once in Utility. publish-release moves from .github/scripts to Scripts with the other release tools. Scripts/validate-public-content gains fixture tests that cover every finding it reports. The changelog gains the 0.1.0-alpha.4 entry for the merged changes, and the alpha.1 and alpha.2 entries state that those tags were never published as releases. Install and packaging commands use a VERSION placeholder instead of a fixed release. AGENTS.md follows the canonical agent guide. The retired TCC proposal stub, the .github navigation page and the references to local agent directories are removed, and CODEOWNERS is added.
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.
Code
validateReadOnly, whileCLISafety.rejectDryRunForReadOnlyinUtilityhad no callers. They now call the shared helper. Clipboard's message gains the backticks the others use. Intelligence keeps its own check because it also rejects risk flags with its own failure codes.sha256Hex(String)andsha256Hex(Data)were copied into 17 targets and now live once inSources/Utility/CLIDigest.swift. UnusedCryptoKitimports are removed. Intelligence's file-basedsha256Hex(path:)is unchanged.Release tooling
.github/scripts/publish-releasemoves toScripts/publish-release;release.ymland the two ReleaseTools tests follow.Tests/ReleaseTools/test_public_content.pyrunsScripts/validate-public-contentagainst a synthetic repository. It checks that a clean tree, including fixture paths underTests/, passes, and that each finding is reported exactly: local path, missing link, credential pattern, development version and artifact path.Docs
CHANGELOG.md: a0.1.0-alpha.4 — Unreleasedentry covering Improve native target fidelity and framework validation #1, Bump the swift-compatible-updates group with 2 updates #2 and Adopt swift-subprocess 1.0 #5. alpha.1 and alpha.2 now state they were tagged but never published as releases, so "first public alpha" appears only on alpha.3.VERSIONplaceholder instead of0.1.0-alpha.3.AGENTS.mdfollows the canonical agent guide; repository specifics live under "Repository Guardrails".validate_canonical_target.pypasses.Documentation/Proposals/TccTarget.md(no inbound links; ADR 0014 owns the content),.github/Navigation.md, and the.agentclauses inCliContract.mdandVersioningAndRelease.md. Rewords a Notes guide sentence the validator flagged. Adds.github/CODEOWNERS.Validation (local):
Scripts/validate-public-content; ReleaseTools unit tests (32);swift build --build-tests;swift testwith 1111 tests in 74 suites passing.