From e366ce9fcd0b8c53a581ede7ac3ed303a470b6ad Mon Sep 17 00:00:00 2001 From: Younggi Choi <74581798+choiyounggi@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:24:55 +0900 Subject: [PATCH] wiki: transplant methodology from retired superpowers/compound-engineering plugins 8 new pages, 3 amended, 4 domain indexes + root INDEX updated. New: testing/strategy/failing-test-first, testing/strategy/cross-layer-effect-tests, qa/process/completion-claims, qa/process/evaluating-review-feedback, qa/process/adversarial-change-review, infrastructure/agent-orchestration/autonomous-decision-rulings, backend/common/llm/binding-instructions-for-agents, backend/common/api-design/agent-tool-granularity. Amended: debugging/methodology/hypothesis-testing (+2 edge rows), databases/data-survey/surveying-live-data-for-a-rule (+1 edge row), debugging/methodology/verify-the-fix (repairs dangling failing-test-first pointer). Gap-analyzed against full skill inventories of superpowers 6.3.0 and compound-engineering 2.63.1 before ingest; already-covered triggers were not duplicated (see log.md entry for the skip list). Lint: prohibitions 71/71, structure 260 pages / 13 indexes / 0 findings. Independent format/source review passed (3/3 spot-checked citations accurate). Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01YVRX97mdBwFtyMwK44viEd --- INDEX.md | 8 +-- log.md | 1 + .../api-design/agent-tool-granularity.md | 67 +++++++++++++++++ .../llm/binding-instructions-for-agents.md | 67 +++++++++++++++++ wiki/backend/index.md | 2 + .../surveying-live-data-for-a-rule.md | 2 + .../methodology/hypothesis-testing.md | 3 + wiki/debugging/methodology/verify-the-fix.md | 4 +- .../agent-facing-tool-surfaces.md | 4 +- .../autonomous-decision-rulings.md | 62 ++++++++++++++++ .../control-signals-vs-primary-artifacts.md | 2 +- .../unattended-worker-questions.md | 2 +- wiki/infrastructure/index.md | 1 + wiki/qa/index.md | 8 ++- wiki/qa/process/adversarial-change-review.md | 66 +++++++++++++++++ wiki/qa/process/completion-claims.md | 61 ++++++++++++++++ .../defect-class-resweep-after-review.md | 4 +- wiki/qa/process/evaluating-review-feedback.md | 70 ++++++++++++++++++ wiki/testing/index.md | 9 ++- .../testing/quality/tests-that-cannot-fail.md | 2 +- .../strategy/cross-layer-effect-tests.md | 56 +++++++++++++++ wiki/testing/strategy/failing-test-first.md | 71 +++++++++++++++++++ wiki/testing/strategy/test-level-choice.md | 2 +- 23 files changed, 555 insertions(+), 19 deletions(-) create mode 100644 wiki/backend/common/api-design/agent-tool-granularity.md create mode 100644 wiki/backend/common/llm/binding-instructions-for-agents.md create mode 100644 wiki/infrastructure/agent-orchestration/autonomous-decision-rulings.md create mode 100644 wiki/qa/process/adversarial-change-review.md create mode 100644 wiki/qa/process/completion-claims.md create mode 100644 wiki/qa/process/evaluating-review-feedback.md create mode 100644 wiki/testing/strategy/cross-layer-effect-tests.md create mode 100644 wiki/testing/strategy/failing-test-first.md diff --git a/INDEX.md b/INDEX.md index 8f59d1a..75ed45f 100644 --- a/INDEX.md +++ b/INDEX.md @@ -12,11 +12,11 @@ follow the cross-pointers in their index or take the next matching seeded domain | Domain | Status | Route here when | |--------|--------|-----------------| | [databases](wiki/databases/index.md) | **seeded** | Designing schemas/tables/keys, choosing or evaluating indexes, writing or optimizing queries, choosing transaction/isolation behavior, surveying live data to derive a rule, verifying additive migrations | -| [backend](wiki/backend/index.md) | **seeded** | Server-side application code — language-agnostic (`common/`: API contracts, call-site enumeration before a contract change, idempotency, JWT, timeouts/retries, caching, jobs, transactions in app code, shared state/pools, errors, consuming LLM APIs (completion validation, context budgeting), MAPE-aligned point-prediction calibration, consuming external-API responses, externally-owned defaults, object-storage references, sync-vs-async integration choice, WebSocket/SSE connection lifecycle) plus stack subtrees: `java/` (JPA, Spring proxies, JVM threads/memory), `node/` (event loop, promises, runtime validation, shutdown), `python/` (GIL/asyncio, pydantic, WSGI/ASGI workers, language traps, packaging data files with `importlib.resources`) | +| [backend](wiki/backend/index.md) | **seeded** | Server-side application code — language-agnostic (`common/`: API contracts, call-site enumeration before a contract change, idempotency, JWT, timeouts/retries, caching, jobs, transactions in app code, shared state/pools, errors, consuming LLM APIs (completion validation, context budgeting), authoring agent-facing artifacts (binding instruction text, agent tool-surface granularity/parity), MAPE-aligned point-prediction calibration, consuming external-API responses, externally-owned defaults, object-storage references, sync-vs-async integration choice, WebSocket/SSE connection lifecycle) plus stack subtrees: `java/` (JPA, Spring proxies, JVM threads/memory), `node/` (event loop, promises, runtime validation, shutdown), `python/` (GIL/asyncio, pydantic, WSGI/ASGI workers, language traps, packaging data files with `importlib.resources`) | | [frontend](wiki/frontend/index.md) | **seeded** | Web UI code: state placement, rendering performance, in-UI data fetching (races, infinite scroll), auth token handling, forms, XSS-safe output, accessibility, agent-facing tool surfaces (WebMCP) | -| [infrastructure](wiki/infrastructure/index.md) | **seeded** | CI/CD pipelines, secrets in build/deploy, container image builds, rollout/rollback strategy, observability (logs/metrics/alerting), per-environment/path-valued config, multi-agent orchestration (worker liveness signals, shared run state, tmux pane delivery, completion gates, worktree-isolated workers) | -| [testing](wiki/testing/index.md) | **seeded** | Writing or structuring automated tests: level choice, cases/assertions, test data, mock decisions, flaky tests (release-process quality → qa) | -| [qa](wiki/qa/index.md) | **seeded** | Release-quality process: release gates, regression scoping, bug reports, severity/priority triage, exploratory testing (guarded-path coverage, override matrices), scope-purity gates, sourcing deliverable documents from generated artifacts, verifying the quantitative claims in a document before publishing it, automated verification of document deliverables (spec/RFC gates) (writing automated test code → testing) | +| [infrastructure](wiki/infrastructure/index.md) | **seeded** | CI/CD pipelines, secrets in build/deploy, container image builds, rollout/rollback strategy, observability (logs/metrics/alerting), per-environment/path-valued config, multi-agent orchestration (worker liveness signals, shared run state, tmux pane delivery, completion gates, worktree-isolated workers, autonomous ask-vs-rule decisions) | +| [testing](wiki/testing/index.md) | **seeded** | Writing or structuring automated tests: level choice, test-before-code ordering, cases/assertions, cross-layer effect scoping, test data, mock decisions, flaky tests (release-process quality → qa) | +| [qa](wiki/qa/index.md) | **seeded** | Release-quality process: release gates, regression scoping, bug reports, severity/priority triage, evidence for completion claims, acting on code-review feedback, adversarial review of high-risk diffs, exploratory testing (guarded-path coverage, override matrices), scope-purity gates, sourcing deliverable documents from generated artifacts, verifying the quantitative claims in a document before publishing it, automated verification of document deliverables (spec/RFC gates) (writing automated test code → testing) | | [debugging](wiki/debugging/index.md) | **seeded** | Diagnosing a failure — finding what is wrong and why: reproducing, bisection, hypothesis testing, traces/logs, intermittent failures (fixing the diagnosed fault → its owning domain) | | [security](wiki/security/index.md) | **seeded** | Trust-boundary decisions: input validation, session-vs-token auth choice, per-resource authorization (IDOR), secrets hygiene, dependency trust, PII handling, in-session agent tool exposure (prompt-injection blast radius), the author identity a commit publishes to a public repository, host-compromise triage / incident response (verifying assumed security agents, identifying masquerading processes) (XSS rendering → frontend; CI secrets → infrastructure; JWT implementation → backend/frontend auth) | | [platforms](wiki/platforms/index.md) | **seeded** | OS-level differences breaking code across macOS/Linux/Windows: shell portability, BSD-vs-GNU CLI, filesystem case/line endings, Unicode normalization in text/file-name matching, commands inspected before execution, background services/cron, invoking prompt-capable CLIs non-interactively, toolchain version pinning | diff --git a/log.md b/log.md index 2def3c4..1247435 100644 --- a/log.md +++ b/log.md @@ -95,3 +95,4 @@ Append-only. Format: `## [YYYY-MM-DD] ` content, its `aria-description`. Give every field a real `