-
Notifications
You must be signed in to change notification settings - Fork 0
Development Workflow
PRKS has repository-level guidance for both human and agent contributors. Read it before making implementation changes.
-
README.md— exact run/config/safety contracts (host/port, Docker publish, env vars, schema version, auth warning). -
AGENTS.md— implementation constraints, testing policy, architecture rules, and contributor guidance. -
DESIGN.md— UI/UX design and interaction rules. -
docs/wiki/— detailed current feature/user behavior and stable cross-cutting orientation. -
docs/local-first-*.md— local-first design/current rollout. -
SECURITY.md— security reporting and security-specific rules.
The wiki should not silently replace any of those authorities.
PRKS has several places where superficially simple field updates are actually domain aggregates—Work source identity, synchronization families, PDF annotation generations, and workspace TabContexts are examples.
Before modifying an API/DB/UI field, trace:
- the canonical backend reader/writer;
- the frontend reader/writer;
- offline/local-store behavior;
- browse/index projections;
- backup/migration implications;
- tests that encode the invariant.
Prefer unit/API/structural/Node tests while iterating. Run a relevant E2E feature/module after the vertical slice is complete when browser behavior matters. Use the full E2E gate as a final regression check rather than the inner development loop.
See Testing and AGENTS.md for the exact current policy.
When a code change modifies exact startup, configuration, or safety contracts (host/port, Docker publish, env vars, schema version, auth warning), update the README.
When it changes detailed current feature or user-visible command behavior, update the relevant wiki source page (for example User Guide, Workspace Tabs and Split View, or Research Network) rather than expanding the README into a second manual.
When it changes stable architecture/user concepts, update the relevant wiki source page.
When it changes local-first coverage, update docs/local-first-rollout-status.md and any detailed sync design notes required by the milestone.
When contributor rules or architectural invariants change, update AGENTS.md.
When visual/interaction contracts change, update DESIGN.md.
Edit docs/wiki/*.md in the normal repository branch/PR. After merge, the Wiki publishing workflow mirrors the source pages to the GitHub Wiki.
Do not make long-lived edits only in the GitHub Wiki UI: those changes bypass code review and can drift from the repository source.
Documentation screenshots, UX artifacts, and demo data must use testing/synthetic/public-domain content. Do not publish screenshots from a real personal research library.
PRKS Wiki
- Home
- Getting Started
- User Guide
- Workspace Tabs and Split View
- PDFs and Annotations
- Offline and Sync
- Storage, Backup, and Restore
- Configuration and Operations
- Research Network
Developer documentation