spec(knowledge-ingest): add specification for zeph knowledge ingest (spec-067)#5025
Merged
Conversation
…5012) Two-sink design: static artifacts to semantic notes via the existing IngestionPipeline (no graph), subagent transcripts to the knowledge graph gated by a measurement spike. Phase 0 provenance + rollback; graph ingest honors the write-quality gate (004-9) and admission control (004-3), bypassing only RPE; sanitizer on the write path. External Claude/Codex import deferred. Registers spec 067 in README and MOC index.
… for spec-067 (#5012) Generated the standard Spec-Driven Development companion documents around the existing technical spec, matching the 066-deep-link-scheme package format: README (index + traceability), BRD (BR-1..BR-5), SRS (EARS FRs, ISO/IEC/IEEE 29148:2018), NFR (8 ISO/IEC 25010:2011 characteristics), implementation plan (phases, milestones, risk register), and developer tasks tracing to issues #5015-#5024. Adds spec_id to spec.md frontmatter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the full Spec-Driven Development package for
zeph knowledge ingest(spec-067) — BRD / SRS / NFR / technical spec / implementation plan / developer tasks — and registers it in the specs index. Docs/spec only — no Rust code changed.The command seeds Zeph's memory with project knowledge on demand. Design decided after architect + adversarial-critic review, with a two-sink split:
IngestionPipeline(thezeph ingestpath). No graph writes; ships first; lowest risk.Raw source code stays in
zeph-index. External Claude Code / Codex transcript import is deferred (unstable schemas, cross-project privacy, verbatim-no-PII-redaction write path).Critic blockers addressed as prerequisites / invariants
origin/import_batch_id/source_uritograph_edges+graph_entities+knowledge rollback.PostExtractValidator+ current-project allowlist.Phases
Changes
New
specs/067-knowledge-ingest/package (matches the066-deep-link-schemeSDD layout):spec.md— technical/principle spec: FR/NFR, invariants (INV-1..8), schema, phases, §7 gate, acceptance criteria.README.md— package index + scope summary + traceability map.brd.md— business requirements (BR-1..BR-5, stakeholders, success criteria, out of scope).srs.md— software requirements (EARS, ISO/IEC/IEEE 29148:2018); §9 lists 3 open questions (OQ-1..3) with owners/deadlines.nfr.md— non-functional requirements (8 ISO/IEC 25010:2011 characteristics, each with a verification method).plan.md— implementation plan: phases, milestones, dependencies, risk register.tasks.md— developer tasks tracing to issues knowledge ingest: Phase 0 provenance migration + recall isolation flag #5015–knowledge ingest: DEFERRED external Claude Code / Codex transcript import #5024 and to FR/NFR/INV.Plus
specs/README.md,specs/MOC-specs.md— index registration.Tracking
Epic #5012 (milestone M29). Decomposed into 10 child issues #5015–#5024. This PR delivers the spec only; implementation lands per-issue starting with the foundation wave (#5017 + #5015 + #5016).
Validation
Docs/spec only — no
.rstouched, so the Rust pre-PR gate (fmt/clippy/nextest) is not applicable. Spec frontmatter and wikilinks followspecs/TEMPLATE.md; all internal links resolve.