Skip to content

chore(agents): dedup + normalize a2a-* sub-agent prompts (canonical common-rules block)#321

Merged
seoseo-ai merged 1 commit into
mainfrom
chore/agents-md-dedup-tighten
Jul 7, 2026
Merged

chore(agents): dedup + normalize a2a-* sub-agent prompts (canonical common-rules block)#321
seoseo-ai merged 1 commit into
mainfrom
chore/agents-md-dedup-tighten

Conversation

@jinon86

@jinon86 jinon86 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What

4개 a2a-* 서브에이전트 정의의 공통 룰 5종을 단일 정규 블록으로 통일 (파일 간 문구 드리프트 제거 — verifier redaction 목록 축약판 → 전체 정규형으로 복원), 역할별 룰(READ-ONLY / WRITE-SET / NO SOURCE EDITS / CITE)은 분리 유지.

Contract 보존 증거

  • validate-harness.sh 전부 green: fm_check ok ×4, model_tier ok ×4, model_tier_default ok ×4, cost/token note ok ×4
  • frontmatter(name/description/tools/model_tier*) 무변경, a2a-claim 커맨드가 참조하는 에이전트명 무변경
  • worker-subagent-orchestration-policy.md 의무사항(단일 finalizer, write-set, redaction, evidence-only, advisory tier) 전부 유지

Size

7732 → 7153 bytes (−7.5%) — 주 목적은 토큰보다 드리프트 없는 유지보수 단일화.

🤖 Generated with Claude Code

…al common-rules block

The four A2A sub-agent definitions repeated the same five rules
(finalizer prohibition, advisory cost tier, redaction, bounded output,
roster reference) in per-file wording that had drifted — e.g. the
verifier's redaction list was an abbreviated variant of the explorer's.

- One canonical "Common rules (all A2A sub-agents)" block, identical
  across files; role-specific rules (READ-ONLY / WRITE-SET / NO SOURCE
  EDITS / CITE+tool-order) separated and kept intact.
- Redaction list normalized to the full canonical form everywhere.
- Contract preserved: frontmatter name/description/tools unchanged,
  model_tier + model_tier_default keys intact, cost/token reporting
  note intact — validate-harness.sh fully green (agents + model_tier +
  cost/token checks all ok).
- ~7.5% smaller (7732→7153 bytes); the win is drift-free maintenance,
  not raw size.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jinon86 jinon86 requested a review from seoseo-ai as a code owner July 7, 2026 14:24

@seoseo-ai seoseo-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

정규 공통블록 통일 승인 — validate-harness green(계약 필드 전부 유지), 드리프트 제거 확인.

@seoseo-ai seoseo-ai merged commit b80420d into main Jul 7, 2026
7 checks passed
@seoseo-ai seoseo-ai deleted the chore/agents-md-dedup-tighten branch July 7, 2026 14:26
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.

2 participants