ADR 0014: Planning-document visibility
Status
Section titled “Status”Accepted. 2026-11-25. Publication gate remains open; the repository stays private until it is met.
Context
Section titled “Context”ADR 0013 makes commitmentdesk/commitment-desk the public Apache 2.0 platform repository and
commitmentdesk/commitment-desk-cloud the private commercial code repository. The public repository
is private during development and will be published when Inbox is forkable, self-hostable, and
demonstrable (PLAN §13).
PLAN.md currently serves two audiences. It holds durable product and architecture direction that
contributors need, and it also carries commercial rationale, named prospects, and references to
private validation notes. Section 19 lists private files to keep out, but there is no general rule,
no durable private home, and no publication check. CONTRIBUTING, several ADRs, OpenSpec changes, and
package READMEs link to PLAN.md, so removing it wholesale would break contributor context.
Public disclosure is effectively irreversible. Published commits remain available through forks, caches, and archives; editing a file after publication does not remove it from history. Private business material also needs backup, access control, and a shared home rather than ad hoc local files.
Decision
Section titled “Decision”Adopt two visibility classes. Material is public only when it helps a contributor, self-hoster, or user of the Apache 2.0 core and contains no private business content. Everything else is private. This ADR does not change the open-core boundary or the public/private code split in ADR 0013; it classifies planning and business documents within that boundary.
Public repository content
Section titled “Public repository content”- Community and legal files:
README.md,CONTRIBUTING.md,CODE_OF_CONDUCT.md,SECURITY.md,TRADEMARKS.md,LICENSE,NOTICE, andCHANGELOG.md. - Architecture decisions:
docs/adr/, including the commercial-boundary ADRs 0012 and 0013. Those ADRs are intentionally public because they explain the open-core model. - Behavior contracts:
openspec/specs/and archived OpenSpec changes that describe public-core behavior. - A curated public plan:
PLAN.md, limited to product scope, domain model, API contract, milestones, technical defaults, testing, deployment, and contribution rules. - Documentation that applies to self-hosters:
docs/api/,docs/brand/,docs/security/,infra/*/README.md, and core migrations. - Code, tests, fixtures, and examples using synthetic data only.
Private business repository
Section titled “Private business repository”Create commitmentdesk/commitment-desk-business as a private, proprietary repository. It is the
durable home for:
- business plan, strategy, pricing, packaging, plans, and entitlement policy
- financial models, revenue, margins, fundraising, and legal or tax advice
- go-to-market plans, sales pipeline, prospect and customer identities, interview notes, validation research, contracts, and vendor terms
- hiring, compensation, internal goals, and operational planning
- customer-specific hosted operations, runbooks containing account identifiers, incident details, and security questionnaires containing customer information
- references to private cloud work that would disclose commercial terms
Do not put private business material in the public repository, even temporarily. Do not rely on
.gitignore, a private branch, or a later redaction as a substitute for keeping it out.
commitment-desk-cloud remains the home for hosted and commercial code and infrastructure. ADR 0013
defines that boundary. The cloud repository may reference the business repository, but business
material is not duplicated there. The business repository is not required to build, test, or
self-host the public core, and public CI must not depend on it.
Handling rules
Section titled “Handling rules”- Public documents must not name prospects or customers, quote private interviews, include real taxpayer or parcel data, or disclose pricing, margins, or contract terms. Use generalized language such as “early assessor interviews” and keep the details in the business repository.
- When a public document needs commercial context, state the user-facing outcome or the boundary, not the commercial rationale. ADR 0013 is the reference example.
- Private business material may link to public documents by URL or commit, but public documents must not link to private repositories that outside readers cannot open.
- Active OpenSpec changes that concern only the public core may be developed in the public
repository. Commercial or hosted-only changes start in
commitment-desk-cloudor the business repository and add a generic public extension point first when core behavior is required (ADR 0013). - Issues, pull requests, and CI logs in the public repository follow the same rules as committed documents.
PLAN.md
Section titled “PLAN.md”Keep PLAN.md public so existing contributor links remain valid, but curate it:
- Generalize named prospect references and customer-specific details. Keep the product lesson, not the identity.
- Replace references to private validation filenames, including the list in section 19, with a generic rule pointing private material to the business repository. The filenames themselves disclose prospect identities.
- Keep the technical plan, milestones, API contract, and defaults intact. Contributors should not need private business material to understand or build the core.
Publication gate
Section titled “Publication gate”The visibility change is a separate decision by Aaron. It must not happen until the documentation gate below and the product gate in PLAN §13 are both met.
- This ADR is accepted and
PLAN.mdis scrubbed under the rules above. - A history audit finds no private business content, credentials, real taxpayer data, or customer/prospect identities in commits, issues, pull requests, releases, or Actions logs. If it does, rewrite history or publish from a reviewed baseline before changing visibility.
- Secret scanning and dependency and license checks pass, and the Apache 2.0 and DCO posture is in place.
README.md,CONTRIBUTING.md,SECURITY.md, and the self-host documentation are sufficient for an outside contributor to build and run the project with synthetic data.- The business repository exists and holds the material removed from public documents, so nothing is lost.
- The product is forkable, self-hostable, and has a working demo, as required by PLAN §13.
History handling
Section titled “History handling”Keep the rewritten commit history and its initial prillcode-authored commits rather than replacing
the history with a fresh baseline. Remove private business content from PLAN.md across history with
a targeted rewrite. The rewrite preserves commit authors and messages but changes hashes.
Because GitHub retains a merged pull request’s original head and base refs by SHA, publish from a new repository with the same name and the rewritten history, and keep the old repository as a private archive. This removes the old pull request and retained objects from the public repository while preserving the development history. Do not link the archive from public documents.
Future commits use the project’s dev identity rather than a personal account.
Rejected alternatives
Section titled “Rejected alternatives”- Keep business strategy and customer detail in
PLAN.mdand rely on review: mixes audiences, invites accidental disclosure, and leaves the material in history. - Put private business material in the public repository on a private branch or in ignored files: branch access and accidental pushes are not a confidentiality boundary, and ignored files are not durable.
- Put business material in
commitment-desk-cloud: couples founder-only strategy to cloud code access and forces the cloud repository to exist before it is needed. - Publish everything, including pricing and prospects: harms the commercial position and exposes individuals without helping the open-source core.
- Keep the repository private indefinitely: blocks community and procurement benefits; defer only until the gate is met.
- Rely on post-publication redaction: forks, caches, and archives make it ineffective.
- Move
PLAN.mdentirely to the private repository: breaks contributor context and many existing links for little confidentiality benefit once the commercial details are removed. - Create a separate public community fork: version drift and duplicated security work (ADR 0013).
Consequences
Section titled “Consequences”- Create
commitmentdesk/commitment-desk-businesswith two-factor authentication, a second owner, and access limited to Aaron and named collaborators. - Copy or link the private validation, prospect, and business material currently held outside the public repository into the business repository before publishing. Do not delete the only copy.
- Scrub
PLAN.mdand any other public document that names prospects, quotes private interviews, or contains business-only rationale; replace section 19 with the generic rule. - Keep public ADRs and specs complete enough that contributors do not need private business material. If a public design depends on private context, add a public-neutral explanation rather than a private link.
- Keep commercial discussions out of public issues, pull requests, and logs.
- Audit git history and Actions logs before the visibility flip; rewrite history or publish from a reviewed baseline if needed, and record the decision.
- Review this ADR when a hosted or commercial feature changes what public contributors need to know, or when access needs require separating business material from cloud code.
Verification
Section titled “Verification”commitmentdesk/commitment-deskcontains no pricing, margin, pipeline, prospect identity, private interview quote, customer-specific runbook, or real taxpayer data.PLAN.mdalone is enough to understand scope, architecture, milestones, and contribution rules, and its existing links still resolve.commitmentdesk/commitment-desk-businessis private and contains the removed business and validation material with access limited to named collaborators.- A history and log audit completed before publication finds no private business content; any rewrite is documented.
- Public CI builds and tests without the business repository, its credentials, or private context.
- An outside contributor can clone the public repository, follow
README.mdandCONTRIBUTING.md, and run the app with synthetic data.