@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.
Files changed (74) hide show
  1. package/claude/.claude-plugin/plugin.json +1 -1
  2. package/claude/skills/canon-cli/SKILL.md +3 -74
  3. package/claude/skills/canon-operator/REQUIREMENT.md +2 -2
  4. package/claude/skills/canon-operator/SKILL.md +5 -5
  5. package/claude/skills/canon-rollout/SKILL.md +7 -6
  6. package/claude/skills/design-taste/references/craft.md +1 -1
  7. package/claude/skills/design-taste/references/preflight.md +2 -2
  8. package/claude/skills/design-taste/references/tells.md +1 -1
  9. package/claude/skills/draft-readme/REQUIREMENT.md +2 -0
  10. package/claude/skills/draft-readme/SKILL.md +9 -1
  11. package/claude/skills/git-followup/SKILL.md +1 -1
  12. package/claude/skills/git-issue/SKILL.md +2 -2
  13. package/{standards → claude/skills/git-issue/references}/issue.md +3 -8
  14. package/claude/skills/git-pr/SKILL.md +2 -2
  15. package/claude/skills/index-lookup/REQUIREMENT.md +2 -2
  16. package/claude/skills/project-commands/REQUIREMENT.md +1 -1
  17. package/claude/skills/seed-sync/REQUIREMENT.md +1 -1
  18. package/claude/skills/target-check/REQUIREMENT.md +42 -0
  19. package/claude/skills/target-check/SKILL.md +91 -0
  20. package/claude/skills/target-check/references/domains.md +88 -0
  21. package/claude/skills/target-setup/REQUIREMENT.md +56 -0
  22. package/claude/skills/target-setup/SKILL.md +163 -0
  23. package/claude/skills/target-setup/references/detect.md +80 -0
  24. package/claude/skills/{setup-indexes/SKILL.md → target-setup/references/indexes.md} +59 -23
  25. package/claude/skills/target-setup/references/verify.md +95 -0
  26. package/claude/skills/ui-checklist/SKILL.md +17 -0
  27. package/docs/agents/commands.md +1 -1
  28. package/docs/agents/sandbox.md +1 -1
  29. package/docs/agents/scripting.md +3 -2
  30. package/docs/target-projects.md +13 -11
  31. package/docs/workflow/ai-workflow.md +19 -23
  32. package/governance/rules/ci/700-ci-workflow.md +11 -0
  33. package/governance/rules/ui/400-ui.md +0 -5
  34. package/governance/rules/ui/460-design-taste.md +1 -1
  35. package/governance/rules/ui/465-interface-casing.md +31 -0
  36. package/governance/stacks/astro.toml +1 -1
  37. package/governance/stacks/react.toml +1 -1
  38. package/package.json +1 -1
  39. package/scripts/core/regen-hero.sh +1 -1
  40. package/scripts/core/regen-web-previews.ts +1 -0
  41. package/src/claude/cases/setup.ts +20 -11
  42. package/src/commands/design.ts +8 -2
  43. package/src/commands/sync.ts +1 -1
  44. package/src/design/css.ts +5 -2
  45. package/src/design/render.ts +46 -6
  46. package/src/gate/measures.ts +57 -0
  47. package/src/gate/stages.ts +10 -14
  48. package/src/gov/list.ts +1 -1
  49. package/src/sandbox/census.ts +3 -3
  50. package/src/shipped/references.ts +1 -1
  51. package/standards/index.md +0 -1
  52. package/standards/readme.md +22 -3
  53. package/tooling/astro/manifest.toml +1 -0
  54. package/tooling/nextjs/manifest.toml +1 -0
  55. package/tooling/web/configs/.github/workflows/readme-screenshot.yml +110 -0
  56. package/tooling/web/configs/e2e/screenshot.ts +69 -15
  57. package/tooling/web/configs/scripts/lib/preview-server.sh +31 -0
  58. package/tooling/web/configs/scripts/readme-screenshot.sh +26 -0
  59. package/tooling/web/configs/scripts/screenshot.sh +1 -24
  60. package/tooling/web/manifest.toml +1 -0
  61. package/tooling/web/reference.md +6 -1
  62. package/claude/skills/setup-gov/REQUIREMENT.md +0 -37
  63. package/claude/skills/setup-gov/SKILL.md +0 -77
  64. package/claude/skills/setup-indexes/REQUIREMENT.md +0 -48
  65. package/claude/skills/setup-init/REQUIREMENT.md +0 -46
  66. package/claude/skills/setup-init/SKILL.md +0 -133
  67. package/claude/skills/setup-plugins/REQUIREMENT.md +0 -42
  68. package/claude/skills/setup-plugins/SKILL.md +0 -81
  69. package/claude/skills/setup-plugins/references/plugin-catalog.md +0 -53
  70. package/claude/skills/setup-smoke/REQUIREMENT.md +0 -38
  71. package/claude/skills/setup-smoke/SKILL.md +0 -53
  72. package/claude/skills/setup-verify/REQUIREMENT.md +0 -39
  73. package/claude/skills/setup-verify/SKILL.md +0 -51
  74. 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"