Skip to content

docs: add selective parallelism guidance - #74

Merged
Ivory2024 merged 7 commits into
mainfrom
fm/firstmate-selective-swarm-and-preflight-20261001
Sep 30, 2026
Merged

Ivory2024 merged 7 commits into
mainfrom
fm/firstmate-selective-swarm-and-preflight-20261001

Conversation

@Ivory2024

Copy link
Copy Markdown
Owner

Intent

그거 도입하자. 만들어.

병렬로. Poteto는 봇을 무작정 늘리는 것을 극도로 반대하며, "1명의 총괄(Chief of Staff) + 3~5개의 좁은 전문 봇" 체제를 씁니다.

  1. Poteto가 쓰는 봇 개수와 이름 짓는 방식
    봇 개수: 4~6개 내외 (봇이 많아지면 서로 슬롭을 주고받아 인간이 관리 불능에 빠진다고 강조).
    실제 봇 이름들:
    Chief of Staff (비서실장): 사용자와 1:1로 대화하며 모든 작업을 다른 봇에게 배분하는 총괄 봇.
    Dr. Eggbot (에그봇 박사): 다른 봇들을 감사(Audit)하고, 너무 많은 일을 하려는 '뚱뚱한 봇'을 1개 역할로 쪼개주는 메타 봇.
    Comment-Sicko: PR 코드 리뷰만 집요하게 물고 늘어지는 리뷰 전담 봇.
    Benny: 반복적인 백그라운드 배포/스크립트만 돌리는 자동화 봇.
  2. 퍼스트크루 1개에서 늘리는 게 좋을까? (검토 결론)

결론: 마구 늘릴 필요는 전혀 없고, 딱 3개("1 총괄 + 2 전문 크루")로 쪼개는 것을 강력 추천합니다.

현재 1개 체제의 문제점:
퍼스트크루 하나가 노션 정리, 가계부, 위키 스크랩, 코드 리팩터링, git 머지까지 다 처리함.
대화가 길어질수록 **컨텍스트 오염(Context Rot)**이 생겨, 앞서 내린 규칙을 까먹거나 추측으로 코드를 건드려 버그가 반복됨.

이거 따라하고 싶은데 어떨지 검토해봐.

  1. 사용자님께 가장 적합한 3대 봇 추천 구성
    Firstmate (Chief of Staff / 총괄 조율):
    캡틴과 직접 대화, 오늘 할 일 우선순위 결정, 작업 분배 (직접 긴 코드 작성 금지)
    Code-Crew (엔지니어링 전담 / Poteto-Mode 장착):
    버그 수정, 기능 개발, TDD, PR 검증 전담 (작업 끝나면 세션 리셋하여 항상 100% 컨텍스트 유지)
    Butler-Crew (운영 & 일상 비서 전담):
    노션 Knowledge Wiki 스크랩, 가계부·데일리로그 정리, 디스코드 알림 감시 전담

이런 제안이 있었는데 검토해보고 쓸만하면 채택해서 반영해

What Changed

  • Add the selective-parallelism agent skill defining when to delegate, crew roles, bounded hypothesis races, and pre-change scope and impact checks.
  • Link the skill from AGENTS.md dispatch guidance and register it as agent-runtime documentation.
  • Remove an extra blank line before the JSON example in docs/configuration.md.

Risk Assessment

✅ Low: The change adds bounded delegation guidance and its required references; the reviewed rules preserve Firstmate's existing authority and lifecycle constraints, and no concrete behavior defect was found.

Testing

Validated the audience metadata semantically and checked the change diff for whitespace errors. The changed skill and guidance are policy documentation; no live runtime surface was available to prove agent behavior, and no runtime scenarios were driven.

  • Live validation: ⚠️ no-surface - 0 of 2 scenarios driven live against the product
Scenario Result Live Evidence
Firstmate dispatches a task using the Code-Crew or Butler-Crew role and follows the documented isolation and completion lifecycle. ⏸️ untested no The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its…
Firstmate uses the bounded read-only hypothesis race and scope preflight only for qualifying work, then assigns one authorized implementation owner. ⏸️ untested no The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its…
Evidence: Audience metadata validation
jq confirmed the selective-parallelism skill is registered with audience `agent-runtime`.
- Outcome: ⚠️ 1 warning across 1 run (54.4s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 3 issues found → auto-fixed (5) ✅
  • ⚠️ AGENTS.md:332 - The intent assigns Firstmate a coordinator role with “직접 긴 코드 작성 금지” (no direct long-form coding), but the added policy defines Code-Crew without constraining Firstmate from doing that work. The change therefore leaves the stated role boundary unenforced; clarify whether Firstmate must route long code work to Code-Crew.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:43 - The intent says Code-Crew should “작업 끝나면 세션 리셋하여 항상 100% 컨텍스트 유지” (reset the session after work to maintain fresh context). The added rule promises a fresh brief and isolated session per role, but does not require resetting or ending that session after completion; the existing scout contract instead records done and stops, leaving the session available. This omits an explicit requested lifecycle behavior; clarify whether completion must reset the session.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:66 - The new 2–3 contender hypothesis-race procedure is an additional dispatch mode; the stated proposal calls for one coordinator plus two narrow specialist crews, and does not require competing investigations. The requested parallelism is already covered by splitting distinct concerns. Remove the race procedure unless this extra mode is intended.

🔧 Fix applied.
4 warnings still open:

  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:43 - The intent says Code-Crew should “작업 끝나면 세션 리셋하여 항상 100% 컨텍스트 유지” (reset the session after work to maintain fresh context). The added rule promises a fresh brief and isolated session per role, but does not require resetting or ending that session after completion; the existing scout contract instead records done and stops, leaving the session available. This omits an explicit requested lifecycle behavior; clarify whether completion must reset the session.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:66 - The new 2–3 contender hypothesis-race procedure is an additional dispatch mode; the stated proposal calls for one coordinator plus two narrow specialist crews, and does not require competing investigations. The requested parallelism is already covered by splitting distinct concerns. Remove the race procedure unless this extra mode is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:49 - The authoritative intent requires Code-Crew to own “TDD 전담” (TDD), but the added rule says TDD follows the repository contract and task risk, allowing it to be skipped. Confirm whether TDD is required for Code-Crew work or whether this exception is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:84 - The new pre-change scope and impact preflight adds a required procedure for nontrivial dispatches, including caller inventories, invariant analysis, scope declarations, and verification planning. The stated intent does not require this component; remove it unless this additional dispatch policy is intended.

🔧 Fix applied.
5 warnings still open:

  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:43 - The intent says Code-Crew should “작업 끝나면 세션 리셋하여 항상 100% 컨텍스트 유지” (reset the session after work to maintain fresh context). The added rule promises a fresh brief and isolated session per role, but does not require resetting or ending that session after completion; the existing scout contract instead records done and stops, leaving the session available. This omits an explicit requested lifecycle behavior; clarify whether completion must reset the session.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:66 - The new 2–3 contender hypothesis-race procedure is an additional dispatch mode; the stated proposal calls for one coordinator plus two narrow specialist crews, and does not require competing investigations. The requested parallelism is already covered by splitting distinct concerns. Remove the race procedure unless this extra mode is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:49 - The authoritative intent requires Code-Crew to own “TDD 전담” (TDD), but the added rule says TDD follows the repository contract and task risk, allowing it to be skipped. Confirm whether TDD is required for Code-Crew work or whether this exception is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:84 - The new pre-change scope and impact preflight adds a required procedure for nontrivial dispatches, including caller inventories, invariant analysis, scope declarations, and verification planning. The stated intent does not require this component; remove it unless this additional dispatch policy is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:78 - The initial change says to assign an implementation owner after comparing scout reports and to promote the selected scout, but omits the existing requirement that implementation be separately authorized. A coordinator could follow this as permission to start coding based only on a diagnostic report, which AGENTS.md section 7 explicitly says is not authorization. Add that promotion or ship briefing occurs only after implementation is separately authorized.

🔧 Fix applied.
6 warnings still open:

  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:43 - The intent says Code-Crew should “작업 끝나면 세션 리셋하여 항상 100% 컨텍스트 유지” (reset the session after work to maintain fresh context). The added rule promises a fresh brief and isolated session per role, but does not require resetting or ending that session after completion; the existing scout contract instead records done and stops, leaving the session available. This omits an explicit requested lifecycle behavior; clarify whether completion must reset the session.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:66 - The new 2–3 contender hypothesis-race procedure is an additional dispatch mode; the stated proposal calls for one coordinator plus two narrow specialist crews, and does not require competing investigations. The requested parallelism is already covered by splitting distinct concerns. Remove the race procedure unless this extra mode is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:49 - The authoritative intent requires Code-Crew to own “TDD 전담” (TDD), but the added rule says TDD follows the repository contract and task risk, allowing it to be skipped. Confirm whether TDD is required for Code-Crew work or whether this exception is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:84 - The new pre-change scope and impact preflight adds a required procedure for nontrivial dispatches, including caller inventories, invariant analysis, scope declarations, and verification planning. The stated intent does not require this component; remove it unless this additional dispatch policy is intended.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:78 - The initial change says to assign an implementation owner after comparing scout reports and to promote the selected scout, but omits the existing requirement that implementation be separately authorized. A coordinator could follow this as permission to start coding based only on a diagnostic report, which AGENTS.md section 7 explicitly says is not authorization. Add that promotion or ship briefing occurs only after implementation is separately authorized.
  • ⚠️ .agents/skills/selective-parallelism/SKILL.md:100 - The added tool-routing policy at lines 100–102 is not required by the approved crew, race, or three-step preflight scope, and introduces a separate dispatch rule. Remove this component unless that additional policy is intended.

🔧 Fix applied.
1 warning still open:

  • ⚠️ docs/configuration.md:459 - The new guidance that a rule's when condition should route a per-task crew role adds dispatch behavior the accepted intent does not require. The intent defines these roles as crew responsibilities, while this document says dispatch profiles resolve concrete harness, model, and effort choices. Remove the added routing suggestion unless role-based profile routing is intended.

🔧 Fix applied.
✅ Re-checked - no issues remain.

⚠️ **Test** - 1 warning
  • ⚠️ this change has no live-validatable surface; proceed without live validation? (0 of 2 scenarios were driven live against the product); Firstmate dispatches a task using the Code-Crew or Butler-Crew role and follows the documented isolation and completion lifecycle.: The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its dispatch harness and credentials for live validation.; Firstmate uses the bounded read-only hypothesis race and scope preflight only for qualifying work, then assigns one authorized implementation owner.: The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its dispatch harness and credentials for live validation.
  • Live validation: ⚠️ no-surface - 0 of 2 scenarios driven live against the product
Scenario Result Live Evidence
Firstmate dispatches a task using the Code-Crew or Butler-Crew role and follows the documented isolation and completion lifecycle. ⏸️ untested no The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its…
Firstmate uses the bounded read-only hypothesis race and scope preflight only for qualifying work, then assigns one authorized implementation owner. ⏸️ untested no The change adds agent policy text without a runtime dispatch change, and this phase has no live Firstmate/model session to exercise the policy. Provide an isolated runnable Firstmate session with its…
  • jq -e '.["audiences"]? // . | .. | objects | select(.path? == ".agents/skills/selective-parallelism/SKILL.md" and .audience? == "agent-runtime")' docs/documentation-audiences.json
  • git diff --check 99cf3637ea6db9460eb2f8a0be8de7d11a7500ee 0ee8169ca8447b0ee3c1cb83c6f69be8a16d43f8
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Firstmate keeps one coordinator and gains narrow, on-demand help instead of
a standing fleet.

- Add .agents/skills/selective-parallelism as the single owner of the size
  and shape of delegated help for one task: one worker by default, a closed
  list of reasons for a second, per-task Code-Crew and Butler-Crew roles
  dispatched through the ordinary brief-then-spawn path, the 2-3 worker
  read-only hypothesis race ending in one implementation owner, and the
  pre-change scope and impact preflight.
- Add the always-loaded ceiling and safety rules to AGENTS.md section 7, and
  the section 13 load trigger.
- Point the crew dispatch profile section at role-based routing, so a rule's
  when condition can name a role without pinning a harness or model.
- Classify the new skill in the documentation audience inventory.

No runtime machinery, no new agent type, no secondmate change.
@Ivory2024
Ivory2024 merged commit 6b04da4 into main Sep 30, 2026
19 checks passed
Ivory2024 added a commit that referenced this pull request Oct 7, 2026
* docs: add selective-parallelism policy for split work and preflight

Firstmate keeps one coordinator and gains narrow, on-demand help instead of
a standing fleet.

- Add .agents/skills/selective-parallelism as the single owner of the size
  and shape of delegated help for one task: one worker by default, a closed
  list of reasons for a second, per-task Code-Crew and Butler-Crew roles
  dispatched through the ordinary brief-then-spawn path, the 2-3 worker
  read-only hypothesis race ending in one implementation owner, and the
  pre-change scope and impact preflight.
- Add the always-loaded ceiling and safety rules to AGENTS.md section 7, and
  the section 13 load trigger.
- Point the crew dispatch profile section at role-based routing, so a rule's
  when condition can name a role without pinning a harness or model.
- Classify the new skill in the documentation audience inventory.

No runtime machinery, no new agent type, no secondmate change.

* no-mistakes(review): Enforce delegated coding and crew session lifecycle

* no-mistakes(review): Require Code-Crew TDD and gated session closure

* no-mistakes(review): Require separate authorization before race implementation

* no-mistakes(review): Remove out-of-scope tool-routing policy

* no-mistakes(review): Remove role-based dispatch profile guidance

* no-mistakes(document): Clarify selective-parallelism documentation ownership
Ivory2024 added a commit that referenced this pull request Oct 7, 2026
* docs: add selective-parallelism policy for split work and preflight

Firstmate keeps one coordinator and gains narrow, on-demand help instead of
a standing fleet.

- Add .agents/skills/selective-parallelism as the single owner of the size
  and shape of delegated help for one task: one worker by default, a closed
  list of reasons for a second, per-task Code-Crew and Butler-Crew roles
  dispatched through the ordinary brief-then-spawn path, the 2-3 worker
  read-only hypothesis race ending in one implementation owner, and the
  pre-change scope and impact preflight.
- Add the always-loaded ceiling and safety rules to AGENTS.md section 7, and
  the section 13 load trigger.
- Point the crew dispatch profile section at role-based routing, so a rule's
  when condition can name a role without pinning a harness or model.
- Classify the new skill in the documentation audience inventory.

No runtime machinery, no new agent type, no secondmate change.

* no-mistakes(review): Enforce delegated coding and crew session lifecycle

* no-mistakes(review): Require Code-Crew TDD and gated session closure

* no-mistakes(review): Require separate authorization before race implementation

* no-mistakes(review): Remove out-of-scope tool-routing policy

* no-mistakes(review): Remove role-based dispatch profile guidance

* no-mistakes(document): Clarify selective-parallelism documentation ownership
@Ivory2024
Ivory2024 deleted the fm/firstmate-selective-swarm-and-preflight-20261001 branch October 10, 2026 12:35
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