Skip to content

Refresh documentation and architecture references - #17

Merged
pantharshit007 merged 2 commits into
masterfrom
chore/docs
May 17, 2026
Merged

pantharshit007 merged 2 commits into
masterfrom
chore/docs

Conversation

@pantharshit007

@pantharshit007 pantharshit007 commented May 17, 2026 •

Copy link
Copy Markdown
Owner
  • Add repo-level architecture doc and diagram
  • Rework security, privacy, and docs index guidance
  • Align AGENTS.md and README with current architecture# Description

Summary

Summary by CodeRabbit

  • Documentation
    • Expanded architecture documentation with system design, key hierarchy, and security model details
    • Restructured privacy guide clarifying data locations, encryption practices, and user controls
    • Streamlined security guide with contributor checklist and vulnerability disclosure policy
    • Added architecture diagram reference to resources

Review Change Stack


Checklist

  • All tests pass
  • Code is linted/formatting is correct
  • Documentation updated (if needed)

Additional Information

- Add repo-level architecture doc and diagram
- Rework security, privacy, and docs index guidance
- Align AGENTS.md and README with current architecture
@coderabbitai

coderabbitai Bot commented May 17, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: ec3decbc-4087-45a0-8cc5-4fb4159c03bb

📥 Commits

Reviewing files that changed from the base of the PR and between b3a1626 and d3ad4ed.

⛔ Files ignored due to path filters (1)
  • docs/tijori-architecture.excalidraw.svg is excluded by !**/*.svg
📒 Files selected for processing (8)
  • AGENTS.md
  • README.md
  • docs/ARCHITECTURE.md
  • docs/DOCS.md
  • docs/PRIVACY.md
  • docs/SECURITY.md
  • docs/init.md
  • package.json

📝 Walkthrough

Walkthrough

This PR reorganizes Tijori's documentation system to establish a clearer architecture reference, refocus security and privacy guidance on practical contributor controls and data handling, streamline agent-focused coding guidelines, and update cross-references. The package version is bumped to 0.0.18, and project setup documentation is updated to reflect bun as the package manager.

Changes

Documentation System Restructuring

Layer / File(s) Summary
Core Architecture Documentation
docs/ARCHITECTURE.md
A comprehensive new architecture document defines Tijori's zero-knowledge encryption model, runtime boundaries (client, Convex, Clerk, Nitro), key hierarchy (master key, project passcode, share key), encrypted vs. plaintext data classification, main system flows, data model entities, and references to security-sensitive files and companion docs.
Security Controls and Privacy Data Handling
docs/SECURITY.md, docs/PRIVACY.md
SECURITY.md refocuses on contributor controls: client-side encryption/decryption, server-side passcode verification without persistence, Convex authentication/membership re-checks, validation, key clearing, and simplified GitHub Security disclosure. PRIVACY.md is rewritten to detail data locations (Clerk, Convex, browser memory), plaintext vs. encrypted categories, unencrypted backend metadata, provider roles, and user controls over deletion and key persistence.
Agent-Focused Developer Checklist
AGENTS.md
Reformatted from detailed architecture/patterns guide to compact coding agents reference with abbreviated overview, streamlined commands, repo-specific security invariants (key storage, passcode verification, key-derivation clearing), sensitive files list, operational guidelines (imports, Convex authz, logging, directory restrictions, Button title), and minimal shipping checklist.
Documentation Index and Navigation
docs/DOCS.md, README.md
DOCS.md becomes a brief index linking to ARCHITECTURE.md, SECURITY.md, PRIVACY.md, and historical docs, replacing detailed module documentation. README.md adds an architecture diagram embed and updates the Security section pointer to ARCHITECTURE.md.
Project Setup and Version
docs/init.md, package.json
docs/init.md adds a completion status marker and documentation specifying bun as the package manager/script runner. package.json version is bumped from 0.0.17 to 0.0.18.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • pantharshit007/tijori#8: Further refactoring and consolidation of security-audit documentation files (AGENTS.md, SECURITY.md, PRIVACY.md) that were initially introduced in that PR.

Poem

🐰 Docs hop and scatter, then gather once more,
Architecture, security, privacy—each has its floor,
Agents peek through the windows so clear,
With bun's swift commands and invariants near!
Version bumps up, the garden looks neat—
Documentation restructured, complete and replete!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change—refreshing documentation and architecture references—which aligns with the primary objectives of adding architecture docs, reworking guidance, and realigning existing docs.
Description check ✅ Passed The description includes bullet-point summaries of the main changes and uses the provided template structure with checklist items marked. However, the 'Additional Information' section is empty, and the CodeRabbit auto-summary placeholder was not replaced with a human-written summary.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pantharshit007
pantharshit007 merged commit 0d71f0a into master May 17, 2026
1 check passed
@pantharshit007
pantharshit007 deleted the chore/docs branch May 17, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant