Skip to content

refactor(agent-policy): streamline instruction surfaces and eliminate dead content - #502

Merged
ss-o merged 25 commits into
nextfrom
chore/streamline-agent-instructions
Aug 15, 2026
Merged

refactor(agent-policy): streamline instruction surfaces and eliminate dead content#502
ss-o merged 25 commits into
nextfrom
chore/streamline-agent-instructions

Conversation

@ss-o

@ss-o ss-o commented Aug 15, 2026

Copy link
Copy Markdown
Member

Summary

Streamlines organization instruction surfaces to drastically reduce startup token bloat, eliminate contradictory authority prompts, and remove obsolete agent/skill artifacts.

  • Deleted 4 obsolete/conflicting agents: blueprint-mode, software-engineer-agent-v1, debug, and janitor.
  • Deleted 3 redundant/foreign skills: context-map, editorconfig, and make-repo-contribution.
  • Condensed instruction surfaces:
    • github-actions-ci-cd-best-practices.instructions.md (reduced by 94% to concise, normative Z-Shell workflow conventions).
    • code-review-generic.instructions.md (reduced by 85% to shell-dialect classification and lifecycle verification).
    • context-engineering.instructions.md (reduced by 62% to multi-repo and dialect context guidance).
  • Manifest Synchronization: Updated .github/instruction-surfaces.json accordingly.

Verification

  • Ran python3 scripts/validate-agent-policy.py (passed).
  • Ran python3 -m unittest scripts/test_validate_agent_policy.py (all 73 unit tests passed).
  • Total instruction footprint reduced by ~91 KB (~23,000 tokens eliminated from potential context loading).

ss-o added 22 commits July 30, 2026 00:59
… dead content

- Remove 4 obsolete/conflicting agent personas (blueprint-mode, debug, janitor, software-engineer-agent-v1)
- Remove 3 redundant/foreign skills (context-map, editorconfig, make-repo-contribution)
- Condense github-actions, code-review, and context-engineering instruction surfaces
- Update instruction-surfaces.json manifest accordingly
@ss-o
ss-o requested a review from a team as a code owner August 15, 2026 21:53
@ss-o
ss-o changed the base branch from main to next August 15, 2026 21:57
@ss-o
ss-o merged commit b60d215 into next Aug 15, 2026
1 check passed
@ss-o
ss-o deleted the chore/streamline-agent-instructions branch August 15, 2026 22:06
ss-o added a commit that referenced this pull request Aug 15, 2026
#503)

refactor(agent-policy): streamline instruction surfaces and eliminate dead content (#502)

* docs(adr): propose Zsh scripting standard

* feat(zsh): add organization scripting standard

* fix(zsh): harden scripting standard contract

* fix(zsh): close semantic validation gaps

* fix(zsh): pin canonical dispatcher integrity

* fix(zsh): model startup files explicitly

* fix(zsh): close startup policy review gaps

* docs(zsh): reconcile standard consumers

* fix(zsh): harden consumer lifecycle contracts

* fix(zsh): close consumer validation gaps

* fix(zsh): complete consumer contract parsing

* fix(zsh): close markdown consumer bypasses

* fix(zsh): preserve markdown block boundaries

* fix(zsh): complete markdown block states

* fix(zsh): enforce markdown leaf ownership

* fix(zsh): respect markdown block interruptions

* fix(zsh): preserve raw markdown ownership

* fix(zsh): end leaf blocks at sibling containers

* fix(zsh): preserve list html blank lines

* chore(zsh): satisfy public verification checks

* style(docs): preserve text conventions

* refactor(agent-policy): streamline instruction surfaces and eliminate dead content

- Remove 4 obsolete/conflicting agent personas (blueprint-mode, debug, janitor, software-engineer-agent-v1)
- Remove 3 redundant/foreign skills (context-map, editorconfig, make-repo-contribution)
- Condense github-actions, code-review, and context-engineering instruction surfaces
- Update instruction-surfaces.json manifest accordingly

* ci(workflows): install zsh in agent instruction validation workflow

* test(agent-policy): update expected workflow fragments for zsh setup and next branch

---------

Co-authored-by: Sal <ss-o@users.noreply.github.com>
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.

1 participant