[P1] I02: Implement retryable bilingual extraction and source-preserving chunking #18
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#19 [P1] I03: Implement authorization-filtered PostgreSQL lexical retrieval
primatekuntech/rag-rust
#21 [P1] I04: Publish document versions atomically through a transactional indexing outbox
primatekuntech/rag-rust
#17 [P1] I01: Register authorized document uploads, markings and quarantined versions
primatekuntech/rag-rust
Reference
primatekuntech/rag-rust#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backlog ID: I02 | Priority: P1 | Phase: M3 — Canonical ingestion and lexical search
Outcome and scope
Implement the first approved format’s extraction/normalization and versioned chunking profiles with deterministic source mappings and inherited markings.
Dependencies and gates
Engineering prerequisites: #17 (I01)
Synthetic-data development may proceed. Production use remains subject to the decision gates in the SRS.
Starting points
crates/ingestion/src/extraction/; crates/ingestion/src/chunking/; crates/ingestion/tests/fixtures/; migrations/
These are current files or proposed responsibility boundaries; finalize a focused implementation plan before coding. Existing local scaffolding is uncommitted and is not evidence of completion.
Acceptance criteria
Verification
Golden-fixture tests cover mixed language, Unicode offsets, empty/large input and boundary spans; restart a worker mid-job and verify idempotent canonical records.
Behavior changes follow Red → Green → Refactor. Run affected Rust shared contract/unit tests and real PostgreSQL/Qdrant/runtime integration tests where applicable; frontend changes run typecheck/build and the relevant browser tests. Record exact commands/results in the implementation PR. Documentation/decision tasks use recorded review evidence.
Requirements and design
FR-ING-002–005; NFR-I18N-001; architecture §8
Sources: SRS, system design. Local planning context:
docs/implementation-plan.mdanddocs/development-backlog.md(not published by this task).Security impact: Use synthetic fixtures until approved for operational data. Preserve current authorization, markings, provenance and default-deny behavior; exclude protected payloads/secrets from operational telemetry. No classified-deployment or PQC-compliance claim is implied by closing this issue.
Parent roadmap: #1