Parent and project
Objective
Bootstrap the independently buildable generic-rag distribution and define the minimal immutable public values and injected protocols needed by projection and retrieval.
In scope
- Apply the approved repository-engineering bootstrap and add the project-owned README, Python package manifest, module index, source/test/docs layout, and CI.
- Publish immutable validated values for opaque corpus/document/revision/query/hit/result and projection receipts.
- Publish narrow injected protocols for embedding, vector indexing, lexical retrieval, clocks where needed, and explicit resource borrowing.
- Use tuple-based string attributes rather than application objects or unconstrained
Any.
- Define generic typed exceptions and import-time side-effect guarantees.
- Provide deterministic test fakes owned by tests, never production.
- Document compatibility, lifecycle, privacy-neutral boundaries, and semantic versioning expectations.
Out of scope
Projection/chunking algorithms, semantic/hybrid retrieval, vendor adapters, network behavior, credentials, application-specific types, dynamic imports, or story integration.
Acceptance criteria
Verification
Focused public-contract tests, clean-install/import test, build metadata validation, dependency/import scan, compileall, and diff review.
Dependencies and risks
No implementation prerequisite. This is the first executable leaf. Public contract drift would propagate to every consumer, so additions remain minimal and intentional.
Gates
github_planning_gate = pending until Project metadata and a Development-linked task branch are verified. modularity_gate = required; the modularity maintainer owns this package bootstrap and index.
Parent and project
mainat33ef381Objective
Bootstrap the independently buildable
generic-ragdistribution and define the minimal immutable public values and injected protocols needed by projection and retrieval.In scope
Any.Out of scope
Projection/chunking algorithms, semantic/hybrid retrieval, vendor adapters, network behavior, credentials, application-specific types, dynamic imports, or story integration.
Acceptance criteria
python -m buildproduces a clean installable wheel and sdist.generic_ragimports in a clean Python 3.11+ process with no third-party dependency or I/O.story_writing_agents.PYTHON_MODULE_INDEX.mdagree.Verification
Focused public-contract tests, clean-install/import test, build metadata validation, dependency/import scan, compileall, and diff review.
Dependencies and risks
No implementation prerequisite. This is the first executable leaf. Public contract drift would propagate to every consumer, so additions remain minimal and intentional.
Gates
github_planning_gate = pendinguntil Project metadata and a Development-linked task branch are verified.modularity_gate = required; the modularity maintainer owns this package bootstrap and index.