Skip to content

[Feature]: Add deterministic project knowledge boundaries and cited full-text search #1048

Description

@roomote-community

Problem

Roomote stores relevant project sources but cannot define a safe repository-scoped knowledge boundary or retrieve them as cited project context.

Proposed behavior

Add immutable knowledge-policy versions with repository/branch/source/date scope, include/exclude rules, authority, transcript policy, retention, and limits. Discover proposed boundaries from ignore files, generated/vendor/binary/size/secret detection, docs, CI/tests/build config, and code symbols. Ingest authorized versioned documents/chunks and provide PostgreSQL full-text retrieval with citations.

Reuse repository/environment/task/artifact authorization, Git/PR facts, .gitignore, .rooignore, repository instructions, PostgreSQL, and background jobs. Exclude raw transcripts and secrets by default.

Acceptance criteria

  • Authorization and boundary filters run before ranking.
  • Scope expansion requires approval.
  • Deleted or unauthorized sources are tombstoned immediately.
  • Results include immutable source/revision citations.
  • Conflicts preserve authority/freshness rather than silently merging.
  • Standard PostgreSQL provides a complete lexical mode.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions