@alessandroraffa/tangyr 4.0.0 → 4.2.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.
@@ -52,6 +52,9 @@ targets:
52
52
  hook_scripts: ~/.agents/hooks
53
53
  mcp_shared_file: ~/.copilot/mcp-config.json
54
54
  instructions: null
55
+ # Null, like instructions: `.github/instructions` is a repository surface
56
+ # and Copilot documents no user-level equivalent for it.
57
+ rules: null
55
58
  project:
56
59
  agents: .github/agents
57
60
  skills: .github/skills
@@ -61,6 +64,18 @@ targets:
61
64
  mcp_shared_file: .vscode/mcp.json
62
65
  instructions: .github/copilot-instructions.md
63
66
  agents_md: AGENTS.md
67
+ # Copilot's own rules surface, and the only one that keeps a rule's path
68
+ # scope. It reads `.github/instructions/*.instructions.md`, whose
69
+ # frontmatter `applyTo` takes a glob, so a rule declaring `paths` survives
70
+ # as a rule rather than as prose folded into the instructions file
71
+ # (https://docs.github.com/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot,
72
+ # https://code.visualstudio.com/docs/agent-customization/custom-instructions).
73
+ # Until this entry existed Copilot received no rules at all: it recorded a
74
+ # `rule-path-scoping` loss whose text — "no verified global user-level
75
+ # rules surface" — was written for the global scope and had gone stale
76
+ # here, where `.github/` is Copilot's alone and nothing contends for it.
77
+ # Measured 2026-09-11 and reported independently: 0 of 3 rules delivered.
78
+ rules: .github/instructions
64
79
 
65
80
  codex:
66
81
  global:
@@ -108,7 +123,15 @@ targets:
108
123
  skills_shared: ~/.agents/skills
109
124
  config_doc: ~/.config/opencode/opencode.json
110
125
  project:
111
- instructions: AGENTS.md
126
+ # Not the project-root AGENTS.md. Four targets claimed that one file in
127
+ # project scope and only the last writer kept its content, so three of the
128
+ # four silently lost the kit's rules. OpenCode is the one target that can
129
+ # be told where to read from: `opencode.json` takes an `instructions`
130
+ # field of "custom instruction files/glob paths", and "All instruction
131
+ # files are combined with your AGENTS.md files" (opencode.ai, Rules). So
132
+ # it moves aside and is declared, leaving the contested file to the
133
+ # targets that have no such field.
134
+ instructions: .opencode/AGENTS.md
112
135
  agents: .opencode/agents
113
136
  commands: .opencode/commands
114
137
  skills: .opencode/skills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessandroraffa/tangyr",
3
- "version": "4.0.0",
3
+ "version": "4.2.0",
4
4
  "description": "CLI for the Tangyr discipline — install and manage operating kits for AI coding tools",
5
5
  "license": "MIT",
6
6
  "engines": {