/khaness:kha-ingest-docs <문서 소스 디렉토리> [출력 planning 루트=.planning]from khaness
흩어진 ADR/PRD/SPEC 문서로부터 greenfield `.planning/` 부트스트랩을 생성한다 (P2 D2). 코드가 아닌 기존 *문서*를 입력으로 받아 deterministic하게 {requirement, constraint, glossary, artifact} 버킷으로 분류 → `.planning/SPEC-seed.md` + `.planning/glossary.md` 산출. harness-reverse-prd(코드→PRD)와 입력이 다른 net-new 경로. eval/판단 없음 — 분류는 순수 휴리스틱.
Ships in khaness. Installing the plugin adds it to Claude Code.
You are running the kha-ingest-docs workflow — bootstrapping a greenfield
.planning/ setup from existing loose docs (ADR / PRD / SPEC / glossary).
Converged design: debate-1780870185-827a94 (ontology sha1 41c9cc8f…, decision
D2). This is the sibling of /harness-reverse-prd but with a different input:
reverse-prd reads code → PRD; this reads existing docs → .planning/. The
single net-new engine is the deterministic classifier lib/extractors/doc_classifier.py
(registered in the extractor OCP registry); this command only collects + emits.
$1 (required): source directory holding loose .md docs (e.g. docs/, adr/).$2 (optional): output planning root — default .planning.Resolve + validate. Confirm $1 exists and contains .md docs. If not,
stop and tell the user there is nothing to ingest.
Dry-run preview (deterministic). Run:
cd ~/.claude/scripts && python -m cli.ingest_docs --src "$1" --dry-run
Show the bucket counts (requirement / constraint / glossary / artifact / terms).
The dry-run now also prints a per-doc transparency line (<path> -> <bucket> via filename/content:'<keyword>'), so the operator can AUDIT which heuristic fired and
catch a mis-classification before it propagates into SPEC-seed (closes the prior
"classification opaque / heuristics unspecified" gap).
If total == 0 (exit 1), report that no ADR/PRD/SPEC-signalled docs were found
and stop — find_doc_sources is conservative on purpose (README/CHANGELOG and
unsignalled notes are skipped).
Emit. Run:
cd ~/.claude/scripts && python -m cli.ingest_docs --src "$1" --out "${2:-.planning}"
This writes ${2:-.planning}/SPEC-seed.md + ${2:-.planning}/glossary.md +
${2:-.planning}/.ingest-classifier-report.json (the per-doc classification audit trail).
Classification is purely deterministic (filename + heading heuristics) — it
renders NO comparative verdict / ranking (kha-framework-selector neutrality
invariant). Do NOT hand-edit the buckets to "improve" them here.
Close ambiguity (chain). The SPEC-seed is a seed, not a finished spec.
Tell the user to run /harness-interview next to drive the ambiguity score
below threshold before /kha-plan-phase. Do not author a SPEC gate here — that
capability already lives in harness-interview (P2 D4).
${2:-.planning}/SPEC-seed.md — Requirements / Constraints / Source-artifacts sections.${2:-.planning}/glossary.md — extracted **term** — definition entries + glossary sources.ingested | aborted_no_docs (nothing classifiable found) | aborted_bad_src./harness-reverse-prd: that reverse-engineers code → .claude/requirements/ + study/ (4-release PRD tree); this ingests existing docs → .planning/. Different input, different output root./kha-new-project: that does interactive greenfield bootstrap; this seeds .planning/ from docs you already have./harness-interview: that closes ambiguity (Socratic gate); chain it AFTER this.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub trevi00/khaness --plugin khaness19 commands in this plugin
/harness하네스 엔지니어링이란하네스 엔지니어링 마스터 스킬 — Claude Code의 내부 아키텍처를 활용해 에이전트 동작을 최적화합니다/harness-allsolution정체성사용자 vision의 처음 설계 최고화 진입점 — deep-interview + research + debate + autopilot을 한 entry로 composition. 명확한 goal부터 자율 실행 완료까지. 묶음 슬래시이므로 component 안정성 ≥1개월 충족 후 도입 (HANDOFF re-open trigger 발화 — 사용자 재요청 4회+)./harness-askInputsRoute a prompt to an external AI provider (claude or codex) via lib/providers and persist the answer as an artifact./harness-auditIMPACT 프레임워크 (swyx, AI Engineer Summit 2025)하네스 감사 — IMPACT 프레임워크 기반 전체 하네스 완성도 평가 및 개선 로드맵/harness-autopilotInputs목표만 던지고 사람 개입 없이 끝까지 가고 싶을 때. 설계(/harness-debate) → 구현(Executor) → 검증(validators) → 실패 시 수정(/harness-ralph) 자동 사이클. 수렴하거나 사용자가 멈출 때까지. `--resume <sid>`로 중단된 super-session 재개 (W19.1.1+). `--kha-phase X.Y`로 kha-executor 브릿지 라우팅 (W15+, debate-1779314852-338b28). 의사결정 없이 빠르게 시도가 더 맞으면 /harness-ultrawork./harness-debateInputsRun the Planner-Critic-Architect debate on a design topic. Converges until Architect returns consecutive approvals on an identical ontology_snapshot, or the hard cap (4 generations) is hit.