smrt
Open the smrt source on GitHub Switch to dark color scheme
← All packages
Business & operations v0.62.10

@happyvertical/smrt-projects

Provider-neutral projects, repositories, issues, pull requests, and the time workflows re-exported from smrt-timesheets.

Source ↗

What it gives you

Provider-neutral projects, repositories, issues, pull requests, and the time workflows re-exported from smrt-timesheets.

This package is one focused part of the smrt stack. Its decorated models participate in the same manifest, tenancy, persistence, and generated-interface conventions as the rest of the framework.

Managed delivery uses durable handoffs

ProjectIntegration holds credential grants for ManagedProjectClient. DevelopmentRequest and WorkLink carry requested work; ProjectDeliveryEvent replays idempotently; PreviewApproval records the approval boundary; AssistanceRequest and AssistanceEvent retain escalation evidence.

Service billing and repository sync retain correction paths

ServiceTimeEntry, ServiceChargeSnapshot, and ServiceCompensationSnapshot are owned by smrt-timesheets and re-exported here unchanged, on the same tables. SubscriptionServiceCommercialResolver prices client work through smrt-subscriptions; provider compensation is a separate resolver and snapshot. The time-entry Svelte components are re-exported from smrt-timesheets too. GitHub is the primary sync provider. The GitLab, Bitbucket, and Azure provider types are declared, but the package marks them as planned. incorporateFeedback can preview or roll back Living Spec changes, while Project.analyzeHealth evaluates the synchronized project.

Issues do not need a repository

Issue and Label carry an optional repositoryId and an optional projectId, so an issue can belong to a project alone. hasRepository gates every provider call: sync is a no-op, state changes stay local, and getRepository throws. The schema change adds the project columns and relaxes repository_id to nullable; db:migrate generates it.