Skip to content

Agent tooling - #21

Merged
i-am-sijia merged 2 commits into
CTPSSTAFF:mainfrom
wsp-sag:agent-tooling
Sep 29, 2026
Merged

i-am-sijia merged 2 commits into
CTPSSTAFF:mainfrom
wsp-sag:agent-tooling

Conversation

@jpn--

@jpn-- jpn-- commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces a comprehensive framework for maintaining and distributing shared coding-agent instructions across the Lighthouse repository. It establishes a canonical baseline for agent guidance, ensures synchronization with Copilot and Claude, and provides a structure for adding and discovering task-specific guides. The changes include new documentation, scripts, and templates to support agent instruction management and task routing.

Agent instruction framework and synchronization:

  • Added a canonical agent instruction baseline in AGENTS.md, detailing repository context, coding practices, validation, and task-specific guide usage.
  • Introduced .github/copilot-instructions.md as a generated copy of the baseline for Copilot compatibility, with instructions and a script (scripts/sync_agent_instructions.py) to keep it in sync. [1] [2]
  • Updated CLAUDE.md to import the canonical baseline using @AGENTS.md for Claude agent compatibility.
  • Added docs/agent-instructions.md to document the maintenance process, synchronization workflow, and compatibility considerations for agent instructions.

Task guide structure and discovery:

  • Added docs/agent-tasks/index.md as a central index for specialized task guides, and included a template (docs/agent-tasks/TEMPLATE.md) for authoring new guides. [1] [2]
  • Registered the first task guide: "Add a constraint component" (.agents/skills/add-constraint-component/SKILL.md and linked documentation), with clear triggers, exclusions, and discovery via native agent skills. [1] [2]

Repository documentation updates:

  • Updated README.md to reference the new agent instruction framework and maintenance documentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The constraint-component guide contains unresolved correctness issues, alongside documentation consistency and formatting fixes.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Low severity

Open (2)
What changed in this PR

Introduces a shared agent-instruction framework with synchronization tooling and task-specific guides.

Changes:

  • Adds canonical guidance for Codex, Copilot, and Claude.
  • Adds synchronization and maintenance documentation.
  • Adds task-guide indexing, templates, and a constraint-component guide.
File Description
scripts/​sync_agent_instructions.py Synchronizes instruction files
README.md Links agent documentation
docs/​agent-tasks/​TEMPLATE.md Task-guide authoring template
docs/​agent-tasks/​index.md Task-guide index
docs/​agent-tasks/​add-constraint-component.md Constraint implementation workflow
docs/​agent-instructions.md Maintenance documentation
CLAUDE.md Imports canonical guidance
AGENTS.md Canonical agent guidance
.github/​copilot-instructions.md Generated Copilot guidance
.agents/​skills/​add-constraint-component/​SKILL.md Native task discovery wrapper

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread AGENTS.md Outdated
Comment on lines +157 to +159
Update applicable single-process and multiprocess model sequences and partition dependencies.
Implement downstream consumption only to the extent agreed in the contract; otherwise document the
intended future consumers and that the attribute currently has no such effect.
Added reminder to check dependency sources in pyproject.toml before making changes.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@i-am-sijia
i-am-sijia merged commit aacdaf0 into CTPSSTAFF:main Sep 29, 2026
1 of 3 checks passed
@i-am-sijia
i-am-sijia deleted the agent-tooling branch October 6, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants