Skip to content

プライバシ制御: .codeatrium/ignore + sidecar 0o600 の徹底 #36

Description

@senna-lang

動機

verbatim 会話にはトークン/鍵が混入しうる。索引前フィルタと DB 権限の徹底は実運用で重要。

提案

  • .codeatrium/ignore: glob で特定ファイル/パターンを含む exchange を索引除外。
  • sidecar 権限: db.py:832-836 の chmod は if sidecar.exists() 時のみで、後から遅延生成される WAL/SHM が umask 既定 (0644) で作られ verbatim が露出しうる。DB ディレクトリ chmod or 生成時 umask 制御で 0o600 を徹底。

受け入れ基準

  • ignore パターンにマッチする exchange が索引されない。
  • WAL/SHM 含め DB 関連ファイルが 0o600。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions