Wiki.js
An open-source wiki platform written in TypeScript on Node.js. It covers pages, assets, groups and permissions, authentication, search and storage. Maintained by the Wiki.js project.
Business rules, traced to source lines.
These 12 rules are a sample of the 14,246 CoreStory V3 extracted from Wiki.js. Each one links to the exact lines on GitHub at commit ebeb84e. The statement is CoreStory V3’s wording; the code excerpt is the source it cites.
Uploads are limited to `WIKI.config.security.uploadMaxFileSize` bytes, defaulting to 10485760 when that setting is absent.
- 10485760 bytes — default upload body limit
Also cited: L265
A redirect login's callback is refused if the elapsed time since the flow's startedAt plus 15 minutes is before the current instant (i.e., the flow is older than 15 minutes); in that case the flow is cleared and the browser is redirected to the login error URL with ERR_LOGIN_EXPIRED.
- 15 minutes — maximum age of an auth flow before its callback is refused
When the patch includes `permissions` and the target group id equals `WIKI.config.auth.rootAdminGroupId`, the handler throws `CustomError('groupUpdateRootAdminPermissions', 'Cannot modify the permissions of the root administrators group.')` unless the patched permission array has the same length as the group's current permissions and every patched permission is currently held by the group.
- groupUpdateRootAdminPermissions — error code
- Cannot modify the permissions of the root administrators group. — error message
Marking a page reviewed is allowed only for a caller who holds `write:pages` on the page, or `manage:pages` on the page, or is an owner per `WIKI.models.pageOwners.isOwner(page, actor.id)`; otherwise the response is forbidden with message `Only an owner of this page, or somebody who may edit it, can do this.`.
- write:pages — allowed permission
- manage:pages — allowed permission
- Only an owner of this page, or somebody who may edit it, can do this. — forbidden message
A wrong 2FA code counts against a continuation token; once the number of attempts reaches maxTfaAttempts (5), the token is deleted and the login must restart.
- 5 — maximum wrong 2FA codes before continuation token is destroyed
Also cited: L287
The default SCIM rate limit is 600 requests per 60-second window with a 60-second ban, used until an administrator saves their own value and whenever a stored value is unusable.
- 600 requests — default maximum requests per window
- 60 seconds — default window length
- 60 seconds — default ban duration
Also cited: L167–L172
directAccessUrlFor clamps the link expiration to between 1 and MAX_LINK_EXPIRATION_MINUTES (10080 minutes) and computes expiresInSeconds = minutes * 60.
- 1 minutes — minimum clamped expiry
- 10080 minutes — maximum clamped expiry (7*24*60)
- 60 seconds — seconds per minute
Also cited: L176
Renaming, moving, or deleting a folder holding one or more pages locked against edits is refused before anything is written: with one locked page the error is treeFolderHasLockedPages (423) stating the folder contains a page locked against edits; with more it states the count of locked pages.
- 423 — HTTP status of the refusal
- 1 — the count for the singular message
Also cited: L1165–L1178
A retag is refused unless the requester holds `write:tags` on the page as it currently is AND on the page as it would be with the new tags.
- write:tags — permission asked of both the current and retagged page
Also cited: L57
If the user was a member of the root admin group and the requested groups do not include rootAdminGroupId, and countUsersInGroup(rootAdminGroupId) <= 1, the response is conflict 'Cannot remove the last user from the root administrators group.'
- 1 — minimum remaining root admins to allow removal
- Cannot remove the last user from the root administrators group. — conflict message
`guestMembershipViolation(groupId, user)` returns null (no violation) when the group is the guests group and `user.isSystem` is true; when `user.isSystem` is true and the group is not the guests group it returns 'The guest account cannot be a member of any group other than the guests group.'; when the group is the guests group and the user is not a system user it returns 'The guests group holds the guest account and nothing else — it is what anonymous visitors are.'; otherwise null.
- The guest account cannot be a member of any group other than the guests group. — violation message for system user in non-guests group
- The guests group holds the guest account and nothing else — it is what anonymous visitors are. — violation message for non-system user in guests group
If the rename/move relocates the asset (folder or locale changes) or renames it (file name changes), the caller must also hold `manage:assets` at the destination; otherwise the request is refused with 403 forbidden, `You are not allowed to move this file there.` if relocated, otherwise `You are not allowed to give this file that name.`.
- manage:assets — permission required at destination
What the application does
24 capabilities identified, grouping 459 of the 1,352 distinct features extracted. Most extracted features are not grouped under a capability, so this list is a partial view of the application. These are descriptions, not the cited rules above.
Media and Asset Management
Uploading, storing, serving, and displaying files, images, icons, and other assets.
- Asset & File Management: Store and serve assets and site files with kind, size, and mime metadata.
- Asset Delivery: Stored assets are delivered to clients by way of resolvable hosts and paths.
- Asset Library: Uploading, storing, and referencing assets such as files and images.
- Asset Management: Uploading and managing site assets with authorship and kind classification.
- Asset Storage Sync: Synchronize stored assets via an outbox and sync state.
- Asset and File Insertion: Insert files and assets into the document, individually or in batches, including drag-and-drop and paste handling.
- Asset and File Management: Uploading, storing, and delivering files and assets with metadata such as MIME type, size, and hash.
- Duplicate Items: Create copies of files, folders, and pages.
- File Download: Download files or deleted page versions to the user's device.
- File Management: A file manager interface enabling users to browse and manage files.
- File Manager Browsing: Browse and navigate a file/folder listing with view options, search, and pagination counts.
- File Storage & Tree: Hierarchical file and folder storage with hashing, tags, and navigation modes.
- File Upload: Allows users to upload files with configurable size and count limits, SVG scanning, and forced asset download behavior.
- File and Asset Storage: Files and assets are stored with folder paths, hashes, and hierarchical tree browsing by site.
- Icon & Icon Set Management: Users manage icons and icon sets used to decorate content.
- Icon Library: Browsing and rendering icons from enabled icon sets with transforms and dimensions.
- Icon Management: Managing icon sets, icons, and their prefixes for use in content.
- Icon Set Management: Management of icon sets and individual icons used throughout the UI.
- Icon and Icon Set Management: Users manage icon sets and their icons for use in page content.
- Icons: Management of icon sets and icons used in content.
- Image Display: Renders and displays a selected image asset at its source.
- Image Editing: An image bar providing controls for embedded images.
- Image Insertion: Allows a user to find and insert an image into the content, applying the appropriate source and styling.
- Image Upload: Allows a user to select, validate, and upload an image through the interface.
- Image Viewing and Editing: View, resize, and edit image assets.
- Media Asset Management: Storing and associating uploaded assets with sites and users.
- Media Assets & Avatars: Uploading and serving site assets, icons, and user avatars.
- Rename and Move Items: Rename or relocate files, folders, and pages within the tree.
UI Component Library
Reusable user-interface controls, dialogs, inputs, and visual elements.
- Autogrowing Textarea: Automatically resizes a multiline text input as content grows.
- Avatar Display: Renders an avatar element with configurable icon or text content, background and text colors, and a hue-rotate effect.
- Back to Top: Provides a scroll-to-top capability with scroll tracking and a visible anchor control for returning users to the top of a scrollable page.
- Breadcrumb Navigation: Displays a breadcrumb trail with a home icon and version indicator so users can see and navigate their location in the docs hierarchy.
- Button Component: A configurable button control that users can click to trigger an action, emitting click events and supporting many visual and behavioural variants.
- Clearable Input: Allows the user to clear the field's current value via a clear control.
- Collapsible Panel Toggle: A panel with a label and optional icon that users can expand or collapse, with support for a default-open state, dense layout, and a parent-supplied open state via v-model.
- Color Picker: An interactive color picker letting a user choose a color via a hue slider and hex input, with visual feedback.
- Confirmation Dialog: A modal confirmation dialog that the user can accept or cancel, controlling its visibility and emitting OK/cancel outcomes.
- Copy Action: A copy capability with its own visual styling and content payload that a user triggers to copy something.
- Copy to Clipboard: Allows a user to copy content to the system clipboard for reuse elsewhere.
- Data Table Display: Renders a table of rows and columns with configurable header visibility and loading state.
- Dialog Confirmation: A user-facing confirmation dialog that can be shown or hidden to confirm an action.
- Dialog Display: Show a modal dialog to the user, controlled by a visibility flag and a close action.
- Icon Display: Fetches and resolves a URL for displaying an icon image.
- Link Button: A button that navigates like an anchor or routing link, exposing href/target/to and related link attributes to the user.
- Loading Animation: Animated loading indicators that users observe while content is being fetched or processed.
- Loading State Display: A user-visible loading state that reflects ongoing work and is rendered in the component template.
- Modal Panel Display: Renders an overlay panel with viewport-aware and transition-based styling for presenting content modally over the page.
- Overlay Display: Shows and manages overlays presented over the application content.
- Pagination Navigation: Allows a user to page through items with previous/next controls, page number links, and awareness of boundaries.
- Range Slider Input: A draggable slider control that lets users pick a value within a min/max range using pointer or keyboard interaction.
- Spinner Display: Renders a configurable loading spinner with named sizes, color, and thickness options for use in a UI.
- Tabbed Panels: Tabbed panels allowing users to switch between multiple content panels and add new tabs.
- Table Layout Display: Computes and renders table layout including cell spans, row grouping, and column building for display.
- Text Input: A user-editable text field bound to a model value that emits input changes and integrates with forms.
- Toggle Switch: A user-facing switch control that reflects and toggles a boolean or array model value with labeling, color, and disabled states.
- UI Component Library: A collection of reusable user-interface components (buttons, cards, dialogs, dropdown menus, forms, icons, loading animations, scrollbars, and theming) that users interact with.
Internationalization and Theming
Locale and translation management plus theme, appearance, and accessibility settings.
- Accessibility Support: Applies accessibility settings to the application for users requiring them.
- Appearance and Accessibility Settings: Lets users select appearance themes and accessibility preferences such as color-vision-deficiency choices, reduced motion, and underlined links.
- Color Theming: A palette of semantic and dark-scale color variables that users rely on to style UI surfaces and states consistently.
- Content Localization: Content and sites are authored across locales with locale groups linking translated versions.
- Content Text Size Settings: Lets users select the text size used for content display.
- Dark Mode: A web component that applies and tracks dark mode based on the user's theme preference and system settings.
- Dark Mode Toggle: Allows the user to switch the interface between light and dark appearance, with the current theme tracked in component state.
- Date Localization: Formats dates into a human-readable, locale-aware presentation for display.
- Internationalization: Initializes internationalization support so the system can present localized content to users.
- Internationalization Support: Exposes translation and language labels to the user interface.
- Locale Management: Multilingual site content with configurable locales and translations.
- Locale Persistence: Persist locale configuration to and from storage.
- Locale Selection: Selection of the active locale and dark theme preference for the interface.
- Locale Switching: Users can switch the application locale for internationalization.
- Locale and Format Settings: Lets users choose their locale, timezone, and date/time formats for displaying content.
- Localization: Multi-locale content and interface translation management.
- Localization & Locales: Managing locales and localized content and namespaces.
- Localization Management: Users manage locales and translated content for multi-language sites.
- Localization and Locales: Managing locales, translations, and localized page groups.
- Localized Data Display: Users see localized labels, human-readable dates, and locale-aware formatting throughout the interface.
- Localized UI Text: The interface exposes translated labels through a translation helper and a loading indicator for async states.
- Theme Appearance Switching: Users can switch the application's color appearance (theme) between available options, with the current selection reflected in an icon and tooltip.
- Theme Customization: Visual theming and typography capabilities letting users observe consistent colors, fonts, and styling across the interface.
- Theme Mode Switching: Toggling between dark and other display modes via stored mode state.
- Theme Selection: Allows the documentation site to be presented with a selected visual theme.
- Theme Switching: Users can apply light/dark themes and CSS overrides, with dark mode preference detection.
- Theme Toggle: Users toggle the interface between light and dark presentation.
Search and Navigation
Content search, hierarchical page trees, navigation menus, and browsing structures.
- Breadcrumb Navigation: Displays a breadcrumb trail with a home icon and version indicator so users can see and navigate their location in the docs hierarchy.
- Content Search: Full-text and tag-based search over pages and tree content.
- Folder Tree Navigation: Navigate folder hierarchy via a lazy-loading tree with context actions.
- Menu Item Management: Users can add, duplicate, edit, remove, and clear menu items within the menu builder.
- Menu Management: Administrators can create, edit, and delete menus through the admin interface.
- Meta Search: Enables users to search metadata via a reactive meta state composable.
- Navigation Management: Per-site, per-locale navigation structures for organizing page browsing.
- Navigation Tree Management: Organize pages and folders into a navigable hierarchical tree per site and locale.
- Navigation and Content Tree: Site navigation structure and hierarchical content tree for organizing pages.
- Page Navigation: Allows opening a page through the router.
- Page Navigation Tree: Organize pages into a hierarchical navigation tree per site.
- Page Search & Tagging: Full-text searchability and tag-based organization of pages.
- Page Search and Indexing: Pages are indexed for full-text search with configurable searchability and content extraction.
- Page Tree Browsing: Users browse a hierarchical content tree organized by site, navigation, folders, and locale.
- Page Tree Navigation: Organize and navigate pages through a hierarchical tree with type and navigation modes.
- Search Query Submission: Lets the user trigger a search from the search field via keyboard, including Enter handling and clearing the query.
- Search Results Pagination: Users can page through search results and navigate back within the results view.
- Search Suggestions: Provides debounced, abortable search suggestions and popular tags as the user types in the search field.
- Site Navigation: Locale-specific site navigation structures for locating pages.
- Site Navigation Management: Site navigation trees are defined per locale with configurable navigation modes and ordering.
- Site Navigation Tree: Sites organize pages and folders in a navigation tree with locale and tag metadata.
- Tagging and Tagging Navigation: Apply and browse tags across content.
- Tree Navigation: Users can browse a hierarchical tree of nodes with configurable depth, roots, and per-level structure.
- Tree Node Expand/Collapse: Users can open and toggle tree nodes to expand or collapse their children.
- Tree Node Expansion: Users can expand tree nodes to reveal child nodes via an interactive arrow control on the node header.
- Tree Node Selection: Users can select an individual node in the tree, identified by its node id, with the selection reflected in the node's classes.
Page Authoring and Editing
Creating, editing, structuring, and organizing wiki pages and content.
- Content Authoring: Creation and editing of wiki pages, drafts, and submitted edits by authors.
- Content Authoring and Pages: Users author, edit, and organize pages with comments, tags, and assets.
- Page Authoring: Creation and editing of wiki pages with authorship, ownership, and locale grouping.
- Page Authoring & Editing: Creation, editing, and submission of wiki pages for review.
- Page Authoring and Editing: Users create and edit page content with versioned drafts and stored page state.
- Page Authoring and History: Create, own, and edit pages within a site while tracking edit submissions and page history.
- Page Authoring and Publishing: Creation, editing, versioning, and publish-state management of wiki pages and blocks.
- Page Deletion: Allows a user to delete a page via the page actions.
- Page Duplication: Allows a user to duplicate an existing page when duplication is permitted.
- Page Editing: Users can create, edit, and save pages through an editor with editable fields and pending asset processing.
- Page Editing and Creation: Users can edit an existing page or create a new page based on permissions.
- Page Editing and Submission: Users author and edit page content, submitting edits for approval and revision history.
- Page Editor: Provides an editing surface for a page with styles, scripts, tags, ownership, and lifecycle sections gated by permissions.
- Page Editor Metadata Editing: Users can edit a page's title, description, intro, and other metadata through store actions that persist the page configuration.
- Page Management: Create, edit, version, and publish pages including rendering, history, and editorial workflows.
- Page Metadata Editing: Edit page title, description, intro, submit notice, and per-page settings through the editor store.
- Page Path Creation: Generates a page path from a placeholder-based template using the provided name.
- Page Renaming: Allows a user to rename a page from the page actions menu.
- Page Source Editing: A user edits a page's source content within an editor dialog.
- Title Editing: Allows the user to set the title of the page or content being edited.
- Wiki Page Authoring: Create and edit wiki pages with content, tags, locale, navigation placement, and metadata.
- Wiki Page Authoring & Editing: Users create and edit wiki pages composed of content blocks, with a draft-submission and approval workflow.
- Wiki Page Authoring and History: Users create, edit, submit, and review wiki pages with revision history and lifecycle rules.
- Wiki Page Editing: Creating and editing wiki pages with version history, edit submissions, comments, tags, and internal links.
- Wiki Page Management: Create, edit, version, and organize wiki pages with navigation and publishing state.
Authentication and Sessions
User login, session lifecycle, passkeys, API keys, and external identity providers unified across the system.
- Authentication: Users authenticate and maintain sessions, with API keys, user keys, and credential fields to support it.
- Authentication & Session Management: Authenticate users, manage sessions, and provision API keys for access.
- Authentication & Sessions: User login sessions and API key based access.
- Authentication and Sessions: User authentication, login tracking, and session management including passkeys and API keys.
- Change User Password: Allows a user to change their account password by supplying current, new, and confirmation password values.
- Email Verification: Confirms a user's email address via a verification token.
- LDAP Authentication: Users sign in through an external LDAP directory using bind credentials, a bind DN, and a search base/filter.
- Logout Handling: Sign-out flow with configurable logout endpoint and post-logout navigation behavior.
- OAuth/OIDC Login: Authenticate users via an OAuth/OIDC provider using client credentials and claim-based identity mapping.
- OIDC Authentication: OpenID Connect single sign-on configuration covering client credentials, endpoints, and discovery.
- Passkey Login: Allows users to authenticate using passkeys when supported.
- Passkey Management: Allows users to register and deactivate passkeys as an authentication method.
- Password Change: Allows authenticated users to change their password, optionally forced.
- Password Recovery: Allows users to recover access by enabling forgot-password and password-change flows.
- Password Reset: Allows users to request a reset link and set a new password via token.
- SAML Single Sign-On Authentication: Authenticates users through a SAML identity provider using configured SSO endpoint, bindings, and signed assertions.
- Single Sign-On: OAuth-based sign-in, personal tokens, and external identity linking.
- Two-Factor Authentication: Enables users to set up and verify two-factor authentication with a secret and security code.
- Two-Factor Authentication Management: Allows a user to set up, view, and invalidate two-factor authentication.
- Two-Factor Authentication Setup: Lets a user initialize and configure two-factor authentication using a generated secret and QR image.
- User Authentication: Users authenticate with credentials, passkeys, or API keys and obtain sessions and tokens.
- User Authentication and Sessions: User login sessions, authentication records, and API/personal token issuance via OAuth clients.
- User Login: Allows users to authenticate with email/password or third-party strategies.
- User Logout: Allows the user to end their session by logging out.
Comments and Annotations
Threaded commenting, inline annotations, and discussion collaboration on content.
- Annotation Resolution: Enables moderators to resolve annotations, marking them as settled.
- Annotation Resolve Toggle: Users can mark an annotation as resolved or reopen it, as long as they are permitted to do so.
- Annotation Thread Collaboration: Users can comment on annotations, reply to existing comments, edit or delete their own comments, and view avatars, mentions, and edit timestamps in the discussion thread.
- Comment Annotation: Inline annotations and resolution state attached to comments.
- Comment Annotation Management: Creation, positioning, resolution, and lifecycle tracking of threaded comments/annotations anchored to a resource.
- Comment Annotations: Inline annotations linked to comments and resolvable by users.
- Comment Composition and Submission: A rich comment editor with preview/write tabs, submission controls, and character limits that lets a user write and submit a comment.
- Comment Soft Deletion: Retention of removed annotations with a deletion timestamp for recoverable removal.
- Comment Submission: Allows users to compose and submit new comments or replies on a page.
- Comment Threading: Support hierarchical replies to comments through parent-child relationships.
- Commenting: Threaded comments on pages with parent/reply structure and author attribution.
- Commenting and Annotations: Users post comments and annotations on pages.
- Comments: Attach and manage comments on content.
- Comments & Annotations: Users comment on pages and attach inline annotations to content.
- Comments and Feedback: Threaded comments with annotations and per-page feedback status tracking.
- Content Deletion: Provides confirmed deletion of annotations, comments, and threads.
- Inline Annotation: Lets users select content and create or edit annotations anchored to the page.
- Mention Linking: Detects @mentions in text and converts them into links to the mentioned entities.
- Page Annotation: Users can enter and leave an annotation/commenting mode on a page and post comments against content.
- Page Commenting and Annotations: Users post threaded comments on pages and attach anchored, resolvable annotations to content.
- Page Comments: Users post comments and threaded replies on pages.
- Page Comments & Annotations: Add comments and inline annotations to pages with related metadata.
- Page Comments and Annotations: Users post threaded comments on pages and resolve inline comment annotations.
- User Mention Autocomplete: Typing an @ trigger surfaces a filtered user list and lets the author pick a mention to insert into the comment text.
Deployment and Infrastructure
Container images, Kubernetes workloads, ingress, storage provisioning, and CI build/deployment.
- Build DigitalOcean Droplet Image: Build a DigitalOcean droplet image via a manually-dispatched CI workflow that installs Packer and runs an image build script with the required API token.
- Container Image Build: Build a packaged container image from source using a configured packer and required plugins.
- Database Readiness Gate: Delays application start until the backing database is reachable via an init container.
- Dev Container Feature Installation: Provides installable dev container features declared as container images, including common utilities, git, node, and a cloudflared tunnel feature.
- Dev Container Feature Provisioning: Declares and installs a set of devcontainer features (common-utils, git, node, cloudflared) to compose the development environment.
- DigitalOcean Deployment: Deploy applications to DigitalOcean using configured API credentials and environment settings.
- Docker Image Build and Publish: Builds and publishes Docker images to registries, including registry logins and Docker Buildx setup.
- HTTP Ingress Routing: Exposes services to external traffic by routing HTTP requests to backend services based on host and path rules.
- Health Probes and Pod Lifecycle: Users configure liveness, readiness, and startup probes plus lifecycle hooks controlling pod health and shutdown.
- Helm Chart Deployment Configuration: Users configure a Helm chart's deployment of the application via image, replica count, resource, and scheduling settings.
- Helm Chart Packaging and Publishing: Packages and pushes a Helm chart using a configured Helm environment.
- Ingress TLS Configuration: Enables HTTPS termination for ingress traffic by configuring TLS settings.
- Ingress and External Access: Users expose the application externally through ingress hosts, HTTP routes, and TLS termination.
- Persistent Storage Configuration: Users configure persistent volume claims and storage class so the application retains data across restarts.
- Persistent Volume Management: Provides named persistent storage volumes for the stack's services so their data survives restarts.
- Pod Security and Runtime Hardening: Users set security contexts and runtime constraints such as running as non-root and dropping capabilities.
- PostgreSQL Database Provisioning: Provides the database initialization and connection configuration (user, password, database name) needed to run a PostgreSQL instance.
- Remote Access: Provides SSH and remote command execution support.
- Service Stack Orchestration: Defines and exposes a multi-service application stack (reverse proxy, database, wiki) for users to run together.
- StatefulSet Deployment: Defines a Kubernetes StatefulSet for running a workload with stable identity, persistent volume claims, and container specifications.
- Wiki Service Deployment: Deploys the wiki application as a Kubernetes workload with its container specification.
- Workload Health Probing: Reports and gates the wiki workload's health through liveness, readiness, and startup probes.
- Workload Scaling and Rollout: Controls how many wiki replicas run and how updates are rolled out.
- Workload Scheduling Placement: Directs where wiki pods are scheduled across nodes via affinity, selectors, and spread constraints.
User and Group Management
Account administration, profiles, avatars, group membership, and permission assignments.
- Group & Permission Management: Organize users into groups with permissions for access control.
- Group Creation: Allows a user to create a new group by entering and validating a group name.
- Group Management: Creation and administration of groups with auto-enrollment rules.
- Group Membership Management: Lets administrators assign and unassign users to groups.
- Group Provisioning Mapping: Maps identity-provider groups to organization roles and determines how missing group assignments are handled during provisioning.
- Group Synchronization: Map provider groups into local groups and unassign users from groups they no longer belong to.
- Group and Permission Management: Management of user groups and the permissions granted to them.
- LDAP Group Sync: Directory groups are resolved and mapped into the application, optionally unassigning groups no longer present.
- Permission Rule Management: Users can create, edit, delete, and configure permission rules with role assignments and tags.
- User & Group Management: Managing users, their group memberships, and authorization rules.
- User Account Management: Creation and administration of user accounts, profiles, and group memberships.
- User Avatar Management: Users manage avatar images associated with their accounts.
- User Avatars: Users have profile avatars displayed alongside their content and activity.
- User Ban Management: Allows administrators to ban and unban user accounts.
- User Creation: An administrative form that collects a new user's name, email, groups, password options, and welcome-email settings and submits them to create the user.
- User Group Assignment: Administrators can assign and unassign users to groups and refresh the user listing.
- User Management: Management of user accounts and their profile, avatar, group, and locale preferences.
- User Preferences: Users store personal preferences and locale settings on their profile.
- User Profile Display: Fetches and presents a user's profile details such as name, handle, email, job title, pronouns, location, and languages to the user.
- User Profile Editing: Allows a user to modify and persist their profile fields when they have edit permission.
- User Registration: Self-service account registration with email validation and auto-enrollment into groups.
- User and Group Management: Managing users, groups, memberships, avatars, and group-based permissions.
- Users, Groups, and Avatars: Administrators manage groups, user memberships, avatars, and role-based access.
Development Tooling and Build
Build workflows, dependencies, toolchains, versioning, and release automation.
- Asset and Block Build: Builds frontend assets and blocks, including Node.js environment setup.
- Attach Debugger / Inspector: Connects a running process to the inspector protocol so it can be debugged or inspected.
- Browser Automation: Integrates headless browser automation capabilities via Puppeteer.
- Build Artifact Preparation and Upload: Prepares a build archive and uploads build artifacts for downstream consumption.
- Build Diagram: Builds a diagram artifact, with a companion serialization step producing its serialized form.
- Build Variable Configuration: Sets build variables for development and release contexts.
- CLI Tooling: Exposes a command-line interface entrypoint for running the package.
- Changelog Generation: Generates a CHANGELOG for a release.
- Code Graph Extraction: Builds a code graph by collecting references from source files for downstream consumption.
- Dependency Management: Declares runtime, development, and optional dependencies for the package.
- Development and Build Workflow: Supports development, bundling, and type-checking scripts for the project.
- Framework Detection: Identifies the frameworks and libraries used by a project, exposing each with its installability, version/value, and metadata such as title, description, and website.
- Node Package Manager Toolchain Setup: Configures Node.js with npm, pnpm, and nvm versions plus native build dependencies for JavaScript development.
- Package Metadata: Exposes package identity, versioning, licensing, and documentation links for distribution.
- Release Creation and Versioning: Creates draft releases, determines and sets the next version, and finalizes releases.
- Runtime Requirements: Declares supported engine versions and scripting entrypoints for execution.
- Technology Stack Display: Presents the detected technologies for a site as architecture groupings with associated metadata for user or downstream visibility.
- Update Check: Check for and surface available application updates to the user.
- VS Code Editor Customization: Applies VS Code settings and extensions to configure the in-container editor experience.
- Version Upgrade Check: Determines whether a newer version is available and whether the user can upgrade, exposing the current and latest version details with loading state.
- Version Upgrade Execution: Performs the upgrade action for the user when an upgrade is available.
- Zsh Shell Setup with Oh My Zsh: Installs Zsh and Oh My Zsh to provide a customized interactive shell experience.
Administration and Configuration
Administrative interface, configuration editing, and platform settings management.
- Admin Area Detection: Determines whether the current route belongs to the admin area.
- Admin Area Loading: Loads the administrative area of the application for authorized users.
- Admin Configuration Page: A script-setup based UI screen with template and styling that hosts the configuration and email testing controls.
- Admin Overview: Administrators see an overview including active counts and missing labels.
- Admin Panel Display: Load and display admin panels along with application state such as theme, locale, and loading status.
- Admin Panel View: Render the administrative interface through template, style, and setup scaffolding.
- Admin UI Display: An admin interface that renders rule management views with theme and localization support.
- Cache Management: Flush and invalidate cached data from the admin interface.
- Cache Purge and Storage Info: Users can purge the cached data and view formatted cache size and reference URL info.
- Config Editor: Users can view, edit, and save site configuration through a dedicated editor UI.
- Config Editor UI: Provides an interactive editor for creating and toggling configuration entries with per-type inputs and source/target selection.
- Config Persistence: Enables loading, editing, saving, and snapshotting of configuration state through the admin store.
- Configuration Editing: Users can view and edit application configuration through a config editor interface backed by form inputs and save/load persistence.
- Configuration Editor: Users edit authentication configuration settings through a generated configuration editor form.
- Configuration Load and Save: Lets users load, refresh, and persist the application configuration and state.
- Configuration Persistence: Loads and saves site configuration state to durable storage.
- Configuration Save and Refresh: Enables the user to persist current configuration changes and reload the current state.
- Configuration and Secrets Injection: Users inject application configuration and secrets via environment variables, extra args, and mounted volumes.
- Rule Editor Dialog: The modal UI surface that presents the rule editing form and its loading state to the user.
- Rule Form Editing: A dialog-based editor for creating and modifying a rule, including its name, path, and matching options, with save and cancel/confirm actions.
- Rule Management: Users can create, edit, delete, and enable/disable rules, as well as load rule data.
Content Rendering and Conversion
Rendering, conversion, and serialization of markup formats into displayable output.
- AsciiDoc Content Rendering: Renders AsciiDoc block and inline content, including quoted values and templated output, for display.
- AsciiDoc Rendering: Renders AsciiDoc content, optionally with headings, for display as formatted output.
- AsciiDoc to Wiki Conversion: Converts AsciiDoc documents into wiki markup, handling paragraphs, sections, lists, quotes, sidebars, examples, checklists, admonitions, and other block types.
- Code Block Theming: Applies theme styling to rendered code blocks in content.
- Content Conversion: Content is converted between representations for display and editing.
- Content Rendering: Rendering of templated UI content for the user to view.
- Diagram Display: Render and display a drawio diagram element including its styles, properties, and connected lifecycle behavior.
- Fenced Code Block Rendering: Renders fenced code blocks with block attributes and fence markers.
- Inline Markup Conversion: Converts inline AsciiDoc constructs such as quoted text, inline anchors, inline images, and stem expressions into wiki markup.
- Markdown Preview: Showing, hiding, and synchronizing the rendered preview alongside the editor, including theme-specific markdown rendering.
- Markdown Rendering: Renders markdown content into the desired output, including tab handling and emoji/shortcode substitution.
- Page Render Queue: Pages awaiting rendering are queued and processed in creation order.
- Page Rendering: Rendering pages with a configurable renderer, scripts, styles, and content inclusion options.
- Page Rendering Pipeline: Queue and render pages to HTML, handling script/style policies and conversion options.
- Page Rerender: Re-renders the page content for the user when the component's state or props change.
- Page Rerendering: Trigger rerendering of pages to refresh their content.
- PlantUML Diagram Display: Renders and displays PlantUML diagram blocks in the document with styling and lifecycle handling.
- Render Sanitization: Sanitizes render input/output to produce a safe, cleaned rendering result.
- Rendered Content Enhancement: Enhances rendered content on display by applying interactive affordances such as copy buttons, heading anchors, and link handling.
- Table of Contents Display: Renders and toggles a table of contents for the current document, including sidebar/panel modes and depth configuration.
- Table of Contents Generation: Builds and flattens a hierarchical table of contents derived from document headings, with per-heading anchors and slugs.
Content Blocks and Rich Editing
Block-based composition, rich text editing surface, and block management.
- Block Content Editing: Write or modify the content of an identified block.
- Block Editing: Editing, inserting, marking disabled, and replacing content of site blocks in the document.
- Block Editing and Replacement: Edit existing blocks and block content, replace block content, and wrap content in block structures.
- Block Editor: A block-based editor with a toolbar of available blocks that users can open, close, and insert into a document.
- Block Insertion: Insert various document blocks (code, quote, admonitions, tabsets, definition lists, footnotes, links, icons, dividers) into the editor at the cursor or on their own line.
- Block Insertions: Offers a range of insertable content blocks such as code blocks, definition lists, abbreviations, emoji, icons, tab sets, and horizontal bars.
- Code Editing: Provides a Monaco-based code editor for editing code block content.
- Code Editor: Provides an interactive code editing component with configurable editors bound to a language and editor key.
- Content Block Authoring: Defining reusable editor blocks with custom configuration and packages for authors.
- Content Block Editor: Compose page content from structured blocks with a rich editor.
- Content Blocks: Reusable content blocks with ordering, actions, and icons.
- Content Blocks and Tags: Users author reusable content blocks and tag content within sites.
- Content Editing: Provides an editor for content with a mode toggle and persistence when the editor is applied and closed.
- Markdown Editor: A markdown editing surface with a block content editor, block picker, and markdown configuration exposed to the user.
- Rich Text Editor: A WYSIWYG editor surface supporting text formatting, block editing, and interactive content manipulation.
- Slash Command Menu: A command palette triggered by typing a slash, offering insertable block and element options.
- Visual Editor: A visual editing capability that provides users with a visual editor interface for creating or modifying content.
- Visual Editor Interface: A rich visual editing surface with toolbar, sidebar, and content area for composing blocks.
- Wiki Page Editing: Provides an editor UI and state for authoring and updating wiki page content.
Publishing and Approval Workflow
Approval rules, edit submission review, publishing schedules, and lifecycle automation.
- Approval Rules: Site-configured approval rules governing content changes.
- Approval Workflow: Submission and review of edits through approval rules and reviewer groups.
- Approval Workflow Rules: Administrators define approval rules and reviewer/submitter group mappings that govern edit submission routing.
- Content Approval: Approval rules govern review and approval of contributed content.
- Content Approval Workflow: Approval rules and reviewer/submitter groups govern review of content submissions.
- Content Publishing Schedule: Pages expose publish windows and publish state so content appears and expires on schedule.
- Edit Suggestion Submission: Users can propose edits to a page for review rather than editing directly.
- Lifecycle Rule Management: Allows creating, editing, saving, and removing lifecycle rules with a set of rules per page.
- Page Approval Workflow: Submission of page edits to reviewer and submitter groups for approval.
- Page Edit Review: Submission and approval workflow for proposed page edits by reviewers.
- Page Edit Submission & Approval: Submit page edits for review and follow approval rules before publication.
- Page Edit Submission & Review: Submission and approval workflow for proposed page edits by contributors.
- Page Edit Submission and Review: Submission of page edits for review with author and site attribution.
- Page Lifecycle Automation: Scheduled publish/expire rules governing page lifecycle.
- Page Lifecycle Rules: Configurable rules that drive the lifecycle behavior of a page.
- Page Publishing: Pages are published and rendered through a controlled publish and render queue state.
- Page Publishing Workflow: Schedule and control when pages are published, with start/end dates and publish states.
- Submission Approval and Rejection: Reviewers approve or reject a pending submission, or close it outright.
- Submission Review: A reviewer can review and act on submitted edit suggestions.
Site and Multi-Site Management
Creating, configuring, and administering sites, hostnames, locales, and their settings.
- Multi-site Management: Host and manage multiple sites, each with hostname-based routing and its own content.
- Settings Management: Configuration settings are stored and applied for the application.
- Site & Navigation Management: Administrators configure sites, navigation trees and the tree structure that organises pages.
- Site Branding Upload: Allows users to upload and clear site logo and favicon images.
- Site Configuration: Configuring site settings, permissions, modules, and rate limits.
- Site Configuration Management: Load, save, and refresh site configuration including delivery modes and section metadata, exposed via a composable for use across the app.
- Site Creation Dialog: A modal dialog that lets a user enter and submit details to create a new site, with cancel and confirm handling.
- Site Icon Display: Displaying site icons with context-appropriate sizing.
- Site Management: Creation and administration of sites with their settings and locales.
- Site Metadata: Exposes site title and title template so page metadata reflects the site's identity.
- Site Refresh: Reloads the selected site's data so the user sees up-to-date contents.
- Site Restore: Exposes a capability to restore a site, gated by a restorability check.
- Site Settings: Store configurable settings for the platform.
- Site Settings and Configuration: Per-site settings, modules, plugins, icons, and branding configuration.
- Site Switching: Switch between sites via a global control and grouped site names.
- Site and Locale Configuration: Administrators manage sites, hostnames, locales, and site-wide settings.
- Site and Navigation Management: Users manage sites and their navigation trees and modes.
- Site and System Sections: Provides navigation between the site and system configuration sections of the admin UI.
- System Settings: Administrators manage system-wide configuration settings.
Hooks and Webhooks Automation
Event-driven hooks, outgoing webhooks, and custom script automation.
- Content Hooks: Configurable hooks triggered on content events.
- Event Emission: Emits events to the surrounding application when user actions occur.
- Extensibility Hooks: Custom scripts and hooks extending platform behavior.
- Hook Automation: Users configure hooks that respond to system events with persisted state.
- Hook List Loading: Loads and displays the hooks within the page setup.
- Hook System: Registering and executing custom hooks with persistent hook state.
- Hooks & Automation: Configure hooks and webhook state for automation with audit logging.
- Hooks & Webhooks: User-configured hooks that fire on events within the system.
- Hooks and Approvals: Configure hooks and approval rules governing content workflows.
- Hooks and Automation: User-defined hooks trigger scripts in response to events.
- Hooks and Custom Scripts: Configured hooks execute custom scripts in response to events with recorded state.
- Hooks and Integrations: Custom hooks for extending site functionality.
- Outgoing Webhooks: Configuring HTTP hooks that deliver page events with auth headers and content/metadata options.
- Webhook Delivery: Outbound webhook delivery with URL, signature checksum, and retry controls.
- Webhook Integration: Configure and trigger hooks that notify external systems of events.
- Webhook Integrations: Sites configure outgoing webhooks triggered by events.
- Webhook Management: Users configure hooks that fire on content events.
- Webhooks: Configure outgoing hooks that fire on content and system events.
API Tokens and OAuth Clients
Issuing, rotating, and revoking API keys, personal access tokens, and OAuth client flows.
- API Certificate Invalidation: Invalidate issued API certificates.
- API Key Management: Issuing, rotating, and revoking API keys for programmatic access.
- API Token Management: Lets users view and revoke API tokens for programmatic access.
- Access Key Creation: Allows a user to create a new access key with a name, expiration, and assigned groups through a form.
- Assistant Token Generation: An assistant-scoped token can be created to grant an assistant programmatic access.
- OAuth Authorization: Third-party applications obtain authorization via OAuth clients and codes.
- OAuth Authorization Code Flow: Issuance and redemption of OAuth authorization codes bound to a client, redirect URI, and user with expiration.
- OAuth Client Registration: Registration and configuration of OAuth clients with redirect URIs and scopes that other systems can authorize against.
- OAuth Client and Code Flow: Third-party applications integrate via OAuth clients, authorization codes, and API keys.
- Personal Access Token Issuance: Creation of personal access tokens tied to a user and client with scoped grants and expiration.
- Personal Access Token Management: Creation and tracking of user personal access tokens with names, scopes, expiry, and last-used timestamps for API authentication.
- Revoked Key Purge: Purge revoked API keys.
- Secret Management: Provides storage and access for sensitive credentials such as admin and user passwords.
- Session Secret Invalidation: Invalidate the session secret, forcing re-authentication.
- Token Grant Exchange: Exchange of OAuth codes and refresh tokens for access tokens via the token endpoint.
- Token Scope Authorization: Assignment of scopes to personal tokens to constrain the permissions granted to API clients.
- User Token Association: Linking personal tokens to their owning user account via foreign key, supporting per-user token listings.
Glossary and Terminology
Authoring glossary terms, relations, lookup, and automatic term linking in content.
- Automatic Term Linking: Users can configure case-sensitive automatic linking of glossary terms into content.
- Dictionary Management: Allows users to load, edit and persist dictionary mappings and overrides for terminology data.
- Dictionary Rebuild: Lets users rebuild dictionary data with loading state feedback.
- Glossary: Management of glossary terms and their relations.
- Glossary Links: Glossary terms in content are resolved and rendered as interactive links that open glossary cards.
- Glossary Management: Management of glossary terms and their relationships.
- Glossary Term Browsing: Users browse and view glossary terms grouped by category, with search/filtering and empty-state handling.
- Glossary Term Linking: Automatically turns matching glossary terms in text into linked references, matching terms in content and wrapping them with links.
- Glossary Term Management: Users author glossary terms and define relations between them within a site.
- Glossary Term Relations: Users can link glossary terms to related terms through association records.
- Glossary Term Tooltip: Displays a contextual card explaining a glossary term when the user hovers, focuses, or opens it, positioned relative to the term and dismissible after a delay.
- Glossary Terminology: Authors define glossary terms, aliases and relations that can be auto-linked within content.
- Glossary Viewing: Opens the glossary for users from the site header menu.
- Site-Scoped Glossary: Glossary terms are scoped to a site for multi-site organization.
- Term Creation and Editing: Users create, edit, and delete glossary terms through a form with definition and alias fields.
- Term Reference Management: Users attach and remove related-term references within a term, capped by a configured maximum.
- Term Reference Tracking: The system tracks where glossary terms are referenced so users can observe term usage.
Notifications and Watching
User notifications, watch subscriptions, preferences, and delivery channels.
- Discussion Subscriptions: Users follow specific comment threads and are notified of new replies.
- Notification Center: A user-facing panel that displays notifications grouped by category, allows opening and reloading, and supports loading more entries.
- Notification Delivery: Delivery of in-app and email notifications with user preferences.
- Notification Dismissal: Lets a user dismiss a queued notification or message from the interface.
- Notification Dispatch: Notifies external channels such as Bluesky, Discord, and Telegram about build/release events.
- Notification Preferences: Per-user opt-in settings controlling which notifications a user receives.
- Notifications: Delivery of user notifications for page, comment, and site events with per-user preferences.
- Page Viewing and Watching: Track pages watched by users and maintain a render queue for serving page content.
- Page Watching: Users can watch pages to receive notifications about changes.
- Page Watching & Notifications: Watch pages and receive notification events with user preferences.
- Page Watching and Notifications: Users watch pages and receive notification events, with per-user notification preferences.
- Read State Management: Capability to mark individual notifications or all notifications as read.
- User Notification: Deliver and schedule user-facing notifications, including dismissing them and grouping them by key.
- User Notifications: Delivering in-app and emailed notifications to users with per-user preferences.
- Welcome Email: Sends a welcome email when a new account is created.
Background Jobs and Scheduling
Scheduling, executing, locking, and tracking background jobs with history and retries.
- Background Job Execution: Scheduling, locking, and history tracking of background jobs.
- Background Job Scheduling: Scheduling, locking, and execution history for recurring background jobs.
- Background Jobs: Scheduled and queued background job execution with history and locking.
- Batch Record Processing: Processes records in batches for streaming or chunked workloads.
- Buffer File Maintenance: Enumeration and pruning of buffer files to manage on-disk buffer storage over time.
- Job Control Actions: User-triggered actions to run a job immediately, retry a failed job, or cancel a job.
- Job Scheduling Dashboard: Display of scheduled, upcoming, and historical jobs in tabular views with loading and total counts.
- Job Scheduling and Execution: Scheduling and execution of background jobs with retry and history tracking.
- Scheduled Background Jobs: Administrators schedule recurring and on-demand jobs with execution history and locking.
- Scheduled Job Execution: Background jobs run on schedules and record their execution history and locks.
- Scheduled Jobs: Scheduling, running, and observing background jobs with retries and history.
- Scheduled Jobs & Hooks: Administrators configure scheduled jobs and hooks, with job locking, scheduling, history and retry behaviour.
- Scheduled Jobs and Tasks: Execution and tracking of scheduled/cron jobs with retries, locks, and history.
- Scheduled and Background Jobs: Defining, scheduling and tracking background tasks including cron schedules, retries and execution history.
Content Import and Export
Importing and exporting content and data with sessions, mappings, and archives.
- Archive Import: Allows a user to pick a site archive and run an import job, with live progress reporting and completion state.
- Asset Export: Exporting stored assets, optionally in full and under a path prefix.
- Bulk Content Export: Exports all content entries as a single user-triggered operation.
- Content Import: Users import external content into the site via tracked import sessions.
- Data Export: Export all data from the application to a portable form for backup or transfer.
- Data Import: Import data into the application, optionally overwriting existing data.
- HedgeDoc Import: Import content into the wiki from a HedgeDoc source.
- Import & Export: Importing content with sessions and ID mapping, and exporting with metadata/content options.
- Import Mapping: Maps documented symbols to their import paths and prerequisites.
- Import Sessions: Import content with session state and ID mappings.
- Import and Export: Import and export content using sessions and id mapping.
- Page Import: Importing content from external sources with id mapping and session tracking.
- Site Import Execution: A user can start an import for a selected site with connection details and upload prefixes, observing progress and logs as it runs.
- Wiki.js Import: Import content into the wiki from an external Wiki.js instance.
Page History and Versioning
Revision history, version comparison, restore, and recycle bin.
- Diff Display: Show a side-by-side or inline diff editor comparing original and modified document content.
- Diff Editor Display: Renders a side-by-side diff view of original versus modified content in an editor widget.
- History Purge: Purge page revision history, optionally within configured timeframes.
- Page History: A page history view exposing past revisions of a page to the user.
- Page History & Versioning: Past revisions of pages are retained and can be reviewed or restored.
- Page History Viewing: Lets a user open and view the revision history of a page.
- Page History and Revisions: Track and browse the edit history of pages, including version metadata and author attribution.
- Page History and Versioning: Browsing prior page revisions and comparing changed fields between versions.
- Page Revision History: Tracking of page revisions and their authors over time.
- Page Version History: Past revisions of pages are recorded with authorship and site context for browsing and restore.
- Recycle Bin: View, restore, and manage deleted pages in a recycle bin view.
- Revision Authorship Summary: Displays human-readable author and date information for a revision.
- Revision Restore: Allows a user to restore a selected revision back into the editor content.
Rate Limiting and Access Control
Enforcing rate limits, ban windows, IP allow-lists, and security policies.
- API Rate Limiting: Enforce rate limits on API consumers.
- Access Control and Approvals: Users and groups are governed by groups, approval rules, and rate limits.
- Access Rate Limiting: Restricts repeated access attempts via a configurable ban window, max attempts, and enable/disable toggle.
- CORS Configuration: Allows configuring cross-origin resource sharing behavior through selectable CORS modes.
- IP Allow List Management: Allows management of the list of IP addresses permitted to access the service.
- Permission-Aware Actions: Exposes which actions a user may perform based on their permissions.
- Private Fetch Allow-List Control: Lets users configure an allow-list of entries that permits fetching otherwise-restricted private resources.
- Rate Limit Management: Exposes settings for enabling rate limiting, configuring its window and maximum, and viewing ban status.
- Rate Limiting: Enforcement of request rate limits for users and clients.
- Render Permission Checking: Evaluates and exposes the permissions a user holds for rendering a given resource.
- Route Access Check: Checks whether the current user is permitted to access a given route.
- Security Audit Scan: Runs a battery of system security checks (cloud-init, firewall, root access, users, tmp mounts, updates, logs) and reports pass, fail, or warn statuses per check.
- Security Header Enforcement: Applies browser security policies including CSP, HSTS, same-origin referrer policy, iframe blocking, and open-redirect protection.
Audit and Logging
Recording, viewing, filtering, and exporting an audit trail of system and user activity.
- Action History Viewing: Load and present a history of user actions for inspection.
- Action Tracking: Records user-defined actions with their trigger conditions, firing counts, and outcomes.
- Activity Log: Record and display run activity with size formatting, trimming, and an exportable log.
- Application Logging and TLS Trust: Users control application log level/format and TLS verification for outbound connections.
- Audit Log: The system records user actions in an audit log for review.
- Audit Log Viewing: Allows users to view the audit log section of the admin interface when visibility is enabled.
- Audit Logging: System actions are recorded with actor, action kind, and timestamp for later review.
- Audit Report Run: Produces a timestamped audit report capturing per-check statuses and results for a given run date.
- Event Log Viewing: Display and browse a styled, categorized log of entries with per-kind visual styling.
- Log Export: Export the current log entries to an external file for offline use.
- Log Filtering: Filter log entries by parameters and users, with clear/refresh controls to reset the view.
- Problem Logging: Problems discovered by the scan are recorded as log entries for the user to review.
What was analyzed
- JSON · 59 files · 365,298 lines
- Vuejs Component · 282 files · 77,353 lines
- TypeScript · 251 files · 74,889 lines
- JavaScript · 194 files · 26,323 lines
- Markdown · 43 files · 8,772 lines
- YAML · 90 files · 3,883 lines
- SCSS · 11 files · 3,397 lines
- SVG · 459 files · 1,799 lines
- SQL · 38 files · 1,057 lines
- Bourne Shell · 13 files · 936 lines
- CSS · 3 files · 626 lines
- Other (7 languages) · 9 files · 596 lines
Whole repository: 1,489 files. cloc 2.06 counts 564,929 lines of code in 1,452 of them (646,834 lines with comments and blanks).
Where this came from
Extracted by CoreStory V3 (build 4470 with two small engine fixes) using DeepSeek-V4.1-Flash from the public repository at commit ebeb84e on 2026-11-15. Capability descriptions are from the same run.
- Repository requarks/wiki
- Commit ebeb84e05cc985622aee795f91e3b3a984bc6fdc
- Line counts cloc 2.06
- Rule citations Each rule shown was checked: its quote was compared with the repository source at the cited lines at this commit.
Code excerpts are from the upstream repository and remain under its AGPL-3.0 license. CoreStory is not affiliated with or endorsed by the Wiki.js project.
Want this for your own codebase?
Talk to us about mapping the business rules in your repositories.