Skip to content

Commit 42e3803

Browse files
committed
update: agent governance
- Added a new entry for hooks-state to .gitignore to exclude specific files from version control. - Updated AGENTS.md with governance and compile verification sections, clarifying repository structure and build processes. - Removed deprecated SKILL.md files related to execution system changes, host boundary reviews, logging visualization, MCP bridge changes, and others, consolidating relevant information into a new platform-change SKILL.md.
1 parent f7307f7 commit 42e3803

33 files changed

Lines changed: 650 additions & 1319 deletions

File tree

.agents/skills/execution-system-change/SKILL.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.agents/skills/host-boundary-review/SKILL.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.agents/skills/logging-visualization-review/SKILL.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.agents/skills/mcp-bridge-change/SKILL.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.agents/skills/net48-compat-review/SKILL.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.agents/skills/packaging-release-review/SKILL.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: platform-change
3+
description: >
4+
Short checklist for platform changes across execution, MCP/IPC, pytest bridge,
5+
host boundaries, logging/visualization, or packaging. Use when editing
6+
source/DevTools.*, host projects, or build/ packaging — not for routine compile
7+
(hooks handle that). For other domains, use the matching skill under
8+
`.agents/skills/`.
9+
---
10+
11+
# Platform Change
12+
13+
## Before editing
14+
15+
1. Read the matching digest only: `docs/agents/execution-system.md`, `mcp-pytest-bridge.md`, `host-boundaries.md`, `build-matrix.md`, or module `docs/*/README.md`.
16+
2. Classify shared vs host-specific before moving code.
17+
18+
## Rules
19+
20+
- Shared `DevTools.*`: no Revit/AutoCAD API types; host adapters own threading, docs, rendering.
21+
- MCP/IPC/pytest bridge: keep wire contracts in sync (C# + Python client when shape changes).
22+
- Pytest bridge: treat discover and run as separate flows; do not “fix” stale path gaps with unrelated edits.
23+
- Packaging: `build/Modules/*` + `RevitDevTool.slnx` are source of truth; ILRepack stays off for 2027 hosts.
24+
- net48: rely on Polyfill + hook/multi-TFM compile; do not speculative-polyfill.
25+
26+
## After editing
27+
28+
- Let the stop-hook compile; fix reported errors.
29+
- Deploy only with `scripts/kill-host.ps1` + `scripts/build-host.ps1`.
30+
- Add a focused test when contracts/discovery/dispatch change; otherwise document host blockers.
31+
- Update the one doc layer future agents will read (module README **or** `docs/agents/` — not both by default).

.agents/skills/pyrevit-ironpython/SKILL.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)