@erclx/canon 4.102.0 → 4.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude/.claude-plugin/plugin.json +1 -1
- package/claude/skills/canon-cli/SKILL.md +3 -74
- package/claude/skills/canon-operator/REQUIREMENT.md +2 -2
- package/claude/skills/canon-operator/SKILL.md +5 -5
- package/claude/skills/canon-rollout/SKILL.md +7 -6
- package/claude/skills/design-taste/references/craft.md +1 -1
- package/claude/skills/design-taste/references/preflight.md +2 -2
- package/claude/skills/design-taste/references/tells.md +1 -1
- package/claude/skills/draft-readme/REQUIREMENT.md +2 -0
- package/claude/skills/draft-readme/SKILL.md +9 -1
- package/claude/skills/git-followup/SKILL.md +1 -1
- package/claude/skills/git-issue/SKILL.md +2 -2
- package/{standards → claude/skills/git-issue/references}/issue.md +3 -8
- package/claude/skills/git-pr/SKILL.md +2 -2
- package/claude/skills/index-lookup/REQUIREMENT.md +2 -2
- package/claude/skills/project-commands/REQUIREMENT.md +1 -1
- package/claude/skills/seed-sync/REQUIREMENT.md +1 -1
- package/claude/skills/target-check/REQUIREMENT.md +42 -0
- package/claude/skills/target-check/SKILL.md +91 -0
- package/claude/skills/target-check/references/domains.md +88 -0
- package/claude/skills/target-setup/REQUIREMENT.md +56 -0
- package/claude/skills/target-setup/SKILL.md +163 -0
- package/claude/skills/target-setup/references/detect.md +80 -0
- package/claude/skills/{setup-indexes/SKILL.md → target-setup/references/indexes.md} +59 -23
- package/claude/skills/target-setup/references/verify.md +95 -0
- package/claude/skills/ui-checklist/SKILL.md +17 -0
- package/docs/agents/commands.md +1 -1
- package/docs/agents/sandbox.md +1 -1
- package/docs/agents/scripting.md +3 -2
- package/docs/target-projects.md +13 -11
- package/docs/workflow/ai-workflow.md +19 -23
- package/governance/rules/ci/700-ci-workflow.md +11 -0
- package/governance/rules/ui/400-ui.md +0 -5
- package/governance/rules/ui/460-design-taste.md +1 -1
- package/governance/rules/ui/465-interface-casing.md +31 -0
- package/governance/stacks/astro.toml +1 -1
- package/governance/stacks/react.toml +1 -1
- package/package.json +1 -1
- package/scripts/core/regen-hero.sh +1 -1
- package/scripts/core/regen-web-previews.ts +1 -0
- package/src/claude/cases/setup.ts +20 -11
- package/src/commands/design.ts +8 -2
- package/src/commands/sync.ts +1 -1
- package/src/design/css.ts +5 -2
- package/src/design/render.ts +46 -6
- package/src/gate/measures.ts +57 -0
- package/src/gate/stages.ts +10 -14
- package/src/gov/list.ts +1 -1
- package/src/sandbox/census.ts +3 -3
- package/src/shipped/references.ts +1 -1
- package/standards/index.md +0 -1
- package/standards/readme.md +22 -3
- package/tooling/astro/manifest.toml +1 -0
- package/tooling/nextjs/manifest.toml +1 -0
- package/tooling/web/configs/.github/workflows/readme-screenshot.yml +110 -0
- package/tooling/web/configs/e2e/screenshot.ts +69 -15
- package/tooling/web/configs/scripts/lib/preview-server.sh +31 -0
- package/tooling/web/configs/scripts/readme-screenshot.sh +26 -0
- package/tooling/web/configs/scripts/screenshot.sh +1 -24
- package/tooling/web/manifest.toml +1 -0
- package/tooling/web/reference.md +6 -1
- package/claude/skills/setup-gov/REQUIREMENT.md +0 -37
- package/claude/skills/setup-gov/SKILL.md +0 -77
- package/claude/skills/setup-indexes/REQUIREMENT.md +0 -48
- package/claude/skills/setup-init/REQUIREMENT.md +0 -46
- package/claude/skills/setup-init/SKILL.md +0 -133
- package/claude/skills/setup-plugins/REQUIREMENT.md +0 -42
- package/claude/skills/setup-plugins/SKILL.md +0 -81
- package/claude/skills/setup-plugins/references/plugin-catalog.md +0 -53
- package/claude/skills/setup-smoke/REQUIREMENT.md +0 -38
- package/claude/skills/setup-smoke/SKILL.md +0 -53
- package/claude/skills/setup-verify/REQUIREMENT.md +0 -39
- package/claude/skills/setup-verify/SKILL.md +0 -51
- package/scripts/core/regen-tooling-paths.sh +0 -61
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -e
|
|
3
|
-
set -o pipefail
|
|
4
|
-
|
|
5
|
-
# Rewrites the generated path block in the shipped overwrite contract, which
|
|
6
|
-
# names every file a tooling sync can replace. The category reaches past the
|
|
7
|
-
# linters its name suggests, into the CI workflow, the end-to-end harness, and
|
|
8
|
-
# the shell scripts under scripts/, so a reader cannot infer the list. Generating
|
|
9
|
-
# it is what keeps a stack gaining a file from leaving the contract wrong.
|
|
10
|
-
#
|
|
11
|
-
# The stack names come from `tooling list` rather than from a directory walk,
|
|
12
|
-
# so a stack the verb excludes never reaches a contract about what the verb does.
|
|
13
|
-
|
|
14
|
-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
15
|
-
PROJECT_ROOT="${PROJECT_ROOT:-$(cd "$SCRIPT_DIR/../.." && pwd)}"
|
|
16
|
-
|
|
17
|
-
TOOLING_DIR="$PROJECT_ROOT/tooling"
|
|
18
|
-
CONTRACT="$PROJECT_ROOT/claude/skills/canon-cli/SKILL.md"
|
|
19
|
-
|
|
20
|
-
BEGIN="<!-- generated:tooling-paths -->"
|
|
21
|
-
END="<!-- /generated:tooling-paths -->"
|
|
22
|
-
|
|
23
|
-
[ -d "$TOOLING_DIR" ] || exit 0
|
|
24
|
-
[ -f "$CONTRACT" ] || exit 0
|
|
25
|
-
|
|
26
|
-
grep -qF "$BEGIN" "$CONTRACT" || {
|
|
27
|
-
echo "Missing $BEGIN marker in $CONTRACT" >&2
|
|
28
|
-
exit 1
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
block="$(mktemp)"
|
|
32
|
-
trap 'rm -f "$block" "$CONTRACT.tmp"' EXIT
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
echo "$BEGIN"
|
|
36
|
-
echo
|
|
37
|
-
while IFS= read -r stack; do
|
|
38
|
-
[ -d "$TOOLING_DIR/$stack/configs" ] || continue
|
|
39
|
-
echo "### $stack"
|
|
40
|
-
echo
|
|
41
|
-
while IFS= read -r rel; do
|
|
42
|
-
echo "- \`$rel\`"
|
|
43
|
-
done < <(cd "$TOOLING_DIR/$stack/configs" && find . -type f | sed 's|^\./||' | sort)
|
|
44
|
-
echo
|
|
45
|
-
done < <(bun "$PROJECT_ROOT/src/cli.ts" tooling list --json | jq -r '.stacks[].name' | sort)
|
|
46
|
-
echo "$END"
|
|
47
|
-
} >"$block"
|
|
48
|
-
|
|
49
|
-
# awk streams the file rather than editing in place, so a pattern that matches
|
|
50
|
-
# nothing produces a file missing the block instead of an unchanged one that
|
|
51
|
-
# exits zero.
|
|
52
|
-
awk -v block_file="$block" -v begin="$BEGIN" -v end="$END" '
|
|
53
|
-
$0 == begin { while ((getline line < block_file) > 0) print line; skipping = 1; next }
|
|
54
|
-
$0 == end { skipping = 0; next }
|
|
55
|
-
!skipping { print }
|
|
56
|
-
' "$CONTRACT" >"$CONTRACT.tmp"
|
|
57
|
-
|
|
58
|
-
# The destination is a tracked file with a mode the copy must not inherit from
|
|
59
|
-
# mktemp, so the content moves onto the original rather than replacing it.
|
|
60
|
-
cat "$CONTRACT.tmp" >"$CONTRACT"
|
|
61
|
-
rm -f "$CONTRACT.tmp"
|