Repository navigation
Description
Filed by the skills seat (session session_012Gg6rMAti8ZaueWb6BRsDn) on the maintainer's instruction, skills-seat PM session chat, 2026-08-12. Direct routing under the 2026-08-10 standing authorization (maintainer-directed cards are routed by the handling PM session; provenance below).
Provenance (maintainer, verbatim, untranslated)
我开了4个项目经理,还没开始干活,5小时额度就用掉了 33% 。你评估一下项目经理的skills 是不是应该优化。
我之前看到有很多历史的 issue id,是不是没有意义并且反而浪费时间。
立一张结构卡,我觉的 处理 issue 时犯的错应该总结成经验,保留 issue id没有意义,如果ai去查原始issue,得不偿失。
还有我觉得现有的项目经理 skills 应该大幅简化,只需要说原则,不需要写细节。
The third quote rules the ID question: incident learnings are distilled into the rules themselves as self-contained lessons; issue IDs carry no value in the skill text; an AI dereferencing original issues costs more than it returns. The fourth quote (2026-08-12, later the same session) supersedes the earlier ~50–70% role-split compression target: the rewrite target is a principles-only text — state the principles, drop the procedural detail.
Measured baseline (origin/main, 2026-08-12)
SKILL.md: 2568 lines, 118,324 chars (~33.7k CJK + ~84.6k ASCII) ≈ ~59k tokens, loaded in full by every PM session at start.- Issue-ID citations in SKILL.md: 370 mentions, 223 unique, on 263 of 2568 lines.
references/incidents.md: 1517 lines of ID-keyed narratives (on-demand load).- Startup protocol reads per seat: ~50–100k tokens measured; four concurrent seats share no cache ⇒ ~150k input per seat before its first dispatch — consistent with the observed "33% of the 5-hour window before any work".
Scope — three deltas, one PR chain (design round held jointly with #7899's)
1. Principles-only drastic simplification (per the fourth ruling). Rewrite SKILL.md as principles + the state machine + role duties; delete procedural narration. Working division for the design round: a detail survives in prose only if it is (a) a genuine principle/invariant, (b) operational lookup data (e.g., the domain→package table), or (c) irreplaceable by mechanical enforcement — everything the hooks/gates/scripts already enforce (worktree guard, stash guard, ratchet, half-state checker) loses its prose twin. The earlier role-split-into-modules idea is downgraded to a design choice: at principles-only size a single small file with role sections may suffice, which is simpler than multi-file loading.
2. Issue-ID removal, lessons distilled in place (the third ruling). Every incident-backed rule rewritten to carry its lesson self-contained (failure mode + discipline + boundary), no issue-ID citations in operative text, no expectation that any reader dereferences an original issue. Design round settles: disposition of references/incidents.md (deprecated by the ruling; git history remains the archive), handling of maintainer-ruling provenance (dates + verbatim quotes carry authority; numbers go), and a mechanical guard so IDs do not creep back (lint for #[0-9]+ in skill operative text).
3. Probe-first startup. A seat's first action becomes one cheap lane-inventory query; empty queue + nothing in flight + nothing awaiting review ⇒ self-retire without further reads. Bounds idle-seat cost; delta 1 bounds the loaded-text cost.
Constraints
- Blocked-by: pm-dispatch SKILL: cloud-card comms is event-driven by ruling — roster limitation on record, notes-21 verify-before-toggle amendment, PR subscription as a hard step #7755
- Blocked-by: pm-dispatch SKILL: 5-hour usage-limit outages — queryable signals, cross-wall recovery timer (hourly cron, not send_later chains), wall-death playbook anchor #7765
- Blocked-by: pm-dispatch SKILL Guardrails: dangling sentence fragment "someone else, never dispatch a needs-user-decision issue." — the bullet it belonged to is lost #7767
- Same-file serial: position 4 in the SKILL.md hot-file queue (after PR docs(pm-dispatch): cloud-card comms is event-driven by ruling — notes-21 verify-before-toggle, PR subscription as hard step #7794 lands, then pm-dispatch SKILL: 5-hour usage-limit outages — queryable signals, cross-wall recovery timer (hourly cron, not send_later chains), wall-death playbook anchor #7765, then pm-dispatch SKILL Guardrails: dangling sentence fragment "someone else, never dispatch a needs-user-decision issue." — the bullet it belonged to is lost #7767). Targets WILL have moved by dispatch time — the dev relocates semantically on the then-current text; the two queued cards' landed deltas must survive the rewrite as principles (their procedural detail is subject to delta 1 like everything else).
- Skills updates are ADR-class: draft PR(s), ⛔ no auto-merge, no queue entry; the maintainer merges by hand.
- Model tiering mandatory clause: dispatch with
model: claude-fable-5. - Design round: held jointly with pm-dispatch step 8: triage-seat four-lens auto-adjudication of high-confidence decision cards — human floor for feature-add / ADR / protocol-change (maintainer-directed) #7899 (ruled 2026-08-12: 「六条补充都同意,设计轮和 pm-dispatch SKILL structural optimization: role-split loading, issue-ID removal (lessons distilled in place), probe-first startup (maintainer-directed) #7885 一起开」); pm-dispatch step 8: triage-seat four-lens auto-adjudication of high-confidence decision cards — human floor for feature-add / ADR / protocol-change (maintainer-directed) #7899's step-8 adjudication text is authored against the post-rewrite structure.
Process
Design round first, in the skills seat's 专题 channel (chat), outcomes recorded here. Implementation dispatches only after the design round closes and the blockers above land.
Activity
os-zhuang commentedon Aug 12, 2026
Design round CLOSED (joint with #7899) — decisions recorded
session_012Gg6rMAti8ZaueWb6BRsDn), 2026-08-12.Decisions:
references/incidents.md: deleted — git history is the archive; the ID-dereference path is deprecated by ruling.Additional design outcome (from the Routine question): the rewrite adds explicit role entry arguments —
/pm-dispatch triage//pm-dispatch steward//pm-dispatch <domain>//pm-dispatch epic:#<n>— so a Routine's prompt collapses to a one-liner invoking the skill; all seat behavior versions in git and updates ship as skill PRs, never as Routine re-creation. Routine-creation constraints survive as principles: create from the claude.ai UI with the GitHub connector attached (in-sessioncreate_triggeryields tool-less fired sessions), pin the model in the UI, smoke-fire once and judge by GitHub-visible output. Combined with probe-first startup (delta 3), an idle fired seat costs one query and exits.Implementation remains blocked on the PR chain (#7794 → #7765 → #7767); dispatch follows the recorded constraints (
claude-fable-5, draft PR, human merge).Generated by Claude Code
os-zhuang commentedon Aug 12, 2026
Batch conversion — this card becomes the carrier of a consolidated dispatch (sweep pattern).
Sequencing is the PM's call (named non-escalation class); the maintainer prompted the consolidation in the seat chat (2026-08-12, verbatim: 「还有哪几个 skills 任务,是不是可以合并派发」).
Composition — one cloud dev session (
model: claude-fable-5), two PRs:Fixes #7885,Fixes #7765,Fixes #7767,Fixes #7899:Fixes #7903): same session, same writing standard, separate PR for a clean review surface. No cross-PR dependency.Blocked-by collapses to #7755 alone (PR #7794 in the merge queue at this writing — its landed deltas are input to the distillation). #7765 / #7767 / #7899 are hereby batch members, not independent dispatch candidates; #7903 rides the same dispatch. Both PRs are ADR-class: draft, human merge.
Generated by Claude Code
os-zhuang commentedon Aug 12, 2026
Claim: PM loop round 3 (skills seat) — consolidated batch carrier
Session:
session_012Gg6rMAti8ZaueWb6BRsDnBranch:
claude/issue-7885-pm-skill-principles-rewrite(PR₁) +claude/issue-7903-os-dev-principles(PR₂, same dev session, branches independently off origin/main)Worktree: cloud session — its own container and clone
Domain:
domain:skillsFile surface:
.claude/skills/pm-dispatch/SKILL.md(whole-file rewrite) +.claude/skills/pm-dispatch/references/**(incidents.md deleted per design B; compile-surfaces disposition per design) +scripts/pm/**(ratchet lowering + ID-lint + design-C scripts, and their workflow wiring) +.claude/agents/os-dev.md(PR₂). Stop on breach; explain in the report.Container & model: L instruction-architecture batch,
mode:cloud,model: claude-fable-5(mandatory clause — no downward discretion)Serial constraints cleared: predecessor PR #7794 MERGED 2026-08-12 03:54Z (merge commit
2570c755verified on origin/main; SKILL.md = 2568 lines, os-dev.md = 686 lines at that ref); zero open PRs touchpm-dispatch/**oros-dev.md(the one open skills-root PR, #7837, touchesdogfood-verification/SKILL.mdonly — no file overlap). Batch members #7765 / #7767 / #7899 / #7903 absorbed per the composition comment above; #7885'sBlocked-by: #7755cleared by the merge.Generated by Claude Code
os-zhuang commentedon Aug 12, 2026
Dispatched (PM loop round 3, skills seat): cloud dev session
session_01W3v2G9dvcfxkC4NsZ4JCE9,model: claude-fable-5, created 2026-08-12 03:57Z, outcome branchclaude/issue-7885-pm-skill-principles-rewrite(+ independentclaude/issue-7903-os-dev-principlesfor PR₂). Dispatch prompt carries: the five 2026-08-12 rulings verbatim, the closed design decisions A–D + role entry args + probe-first, the writing standard with the no-silent-semantic-loss red line (hard cap 700 — stop and report rather than raise), gate work (ratchet lowering, ID-lint, frame-sync adaptation), the two named 机制假设 to falsify, and the ADR-class terminal (two draft PRs, human merge). Collection: os-dev-report comment here + both draft PRs; PM subscribes to each PR the moment it exists.Generated by Claude Code
os-zhuang commentedon Aug 12, 2026
{ "issue": 7885, "status": "done", "branch": "claude/issue-7885-pm-skill-principles-rewrite (PR1) + claude/issue-7903-os-dev-principles (PR2)", "pr": "https://github.com/objectstack-ai/objectstack/pull/7936 (PR1, Fixes #7885 #7765 #7767 #7899) + https://github.com/objectstack-ai/objectstack/pull/7938 (PR2, Fixes #7903)", "premise_still_valid": true, "summary": "Consolidated batch delivered as two independent draft PRs, both ADR-class (human merge, no queue, no auto-merge). PR1: pm-dispatch SKILL.md rewritten principles-only, 2568 -> 686 lines (hard cap 700 respected; ~500 target reported as unreachable without dropping rules), zero issue-ID citations, role entry args (triage/steward/domain/epic:#n) + probe-first startup, per-role duty sections; #7765 outage readings + cross-wall cron-over-send_later timer discipline + recovery anchor authored directly as principles; #7767 lost Guardrails bullet meaning restored (decisions belong to the maintainer / never dispatch assigned or needs-user-decision issues); #7899 adjudication protocol (human floor incl. six ruled additions, four-lens unanimity gates, veto-window with auto-adjudicated ledger, fable-5 pass, flip-back clause) in the triage duty section. references/incidents.md deleted (git history is the archive); five on-demand fact tables under references/ (judgment call flagged in the PR body); ratchet lowered to 686; new check:pm-skill-id-lint wired beside the ratchet with a self-expiring exact-count waiver (81) for os-dev.md so the two PRs stay merge-order independent; os-regen four-step and label vocabulary mechanized into scripts/pm/; frame-sync self-test fixture adapted to the ID-free frame. PR2: os-dev.md 686 -> 356 lines (target ~200-300 missed for semantics, deviation itemized in PR body), zero IDs, model pin and frame anchors kept verbatim. The PR1 body carries the sweep checklist (one line per member card) and the dropped-with-rationale list for line-by-line review.", "tests": "Local gates all green in the PR1 worktree at head 0f1b8ae: check:pm-skill-ratchet (686/686 + self-test 5/5), check:pm-skill-id-lint (8 files clean + self-test 9/9), check:skill-frame-sync (self-test 12/12; 4 copies isomorphic), check:skill-frame-freshness (current with origin/main), check:doc-authoring (375 files clean), check:nul-bytes (7244 files, no control bytes), pnpm --filter @objectstack/lint check:doc-formula-expressions (dependency closure built first; 24/24 self-test, corpus clean). PR2 worktree at head 9f739ef: check:agent-model-declared, check:skill-frame-sync, check:nul-bytes, check:doc-authoring all green. Both branches merged up to origin/main 2daafe1. CI on both PRs: in_progress at report time - the PM owns convergence. skip-changeset applied to both PRs via read-then-union label writes and read back.", "open_questions": [ { "question": "SKILL.md landed at 686 lines vs the ~500 target (cap 700 kept); os-dev.md at 356 vs ~200-300. Accept, or name sections allowed to lose semantics?", "options": ["A: accept - red line kept, ratchet tightens opportunistically from 686", "B: name specific sections to cut lossy in a follow-up"], "recommendation": "A, because every remaining line is a rule, a criterion, or lookup data; the dropped-list already covers everything judged non-semantic." }, { "question": "Five new on-demand references/ fact tables (platform-readings, seat-post-protocol, landing-operations, dispatch-runbook, review-checklist) follow the compile-surfaces pattern; design A's single-file wording was read as banning role-split loading, not data tables. Fold any back?", "options": ["A: keep - hot file stays principles-only, tables load at the moment their operation happens", "B: fold named tables back (requires raising the 700 cap by ruling)"], "recommendation": "A, because the maintainer's cost complaint targets the always-loaded text, and the tables are exactly the at-that-moment detail the ruling said not to keep as prose." }, { "question": "send_later-during-outage mechanism assumption (#7765): platform docs confirm run-once + self-disable after fire; retry behavior during an account-wide outage is undocumented and unmeasured. The cron-over-send_later rule is therefore worded as conservative design rationale. Sufficient, or schedule a live falsification test?", "options": ["A: sufficient - conservative wording, revisit only if a live wall contradicts it", "B: run a deliberate dead-window send_later experiment next wall event"], "recommendation": "A, because the experiment needs a real outage window and the conservative design is safe under either answer." } ], "out_of_scope_findings": [] }Generated by Claude Code
Generated by Claude Code
os-zhuang commentedon Aug 12, 2026
Review: ACCEPT — PR #7936 (PR₁) + PR #7938 (PR₂), both at the ADR-class terminal: awaiting a human merge
Verified against GitHub and the branches themselves, not the report's claims:
check:pm-skill-id-lint(+ lint.yml wiring, package.json script), frame-sync fixture adaptation, and the two design-C scripts (os-regen-merge.shwith the commit-before-regen ordering as its core,ensure-pm-labels.shwith retired labels deliberately absent). PR₂: exactly one file, os-dev.md 686 → 357 lines.#[0-9]{3,}matches = 0; os-dev.md = 357 lines, matches = 0;model: opusframe anchor kept. Two zero-hit suspicions falsified per the negative-reading discipline:git stashis 0 in the OLD SKILL.md too (that rule lives in CLAUDE.md/hooks/os-dev — parity, not loss); queue governance is present in Chinese (合并队列 ×4, 队列 ×28 — the English grep was my artifact).references/platform-readings.md(readings, three blind spots, cron-over-send_later with the 机制假设 honestly worded as conservative design rationale — the docs-level verification the dispatch asked for); pm-dispatch SKILL Guardrails: dangling sentence fragment "someone else, never dispatch a needs-user-decision issue." — the bullet it belonged to is lost #7767's lost bullet is restored whole in §Guardrails (both prohibitions, plus the state-model rows carrying the second half); pm-dispatch step 8: triage-seat four-lens auto-adjudication of high-confidence decision cards — human floor for feature-add / ADR / protocol-change (maintainer-directed) #7899's protocol is in the triage duty section with both ruling quotes, the full human floor (incl. all six ruled additions), gates, veto-window ledger, and the fable-5 pass requirement.skip-changesetapplied at creation and read back)./pm-dispatch triageone-liners.Terminal state per the skills governance ruling: both PRs stay visibly hanging — the maintainer reviews and merges by hand. On landing, this card and #7765 / #7767 / #7899 close via PR₁, #7903 via PR₂; the batch dev session archives at that point.
Generated by Claude Code