Documentation Maintenance Guidelines
Overviewβ
This document defines when and how developers and product should update documentation in @attunelogic-docs, with a focus on Feature Status docs under docs/developer/features/.
The goal is to keep docs aligned with what is actually implemented today across:
@attunelogic-api@attunelogic-service@attunelogic-mobile
When to Update Docsβ
You must update docs in these situations:
- New feature or module
- Add a new Feature Status doc under
docs/developer/features/following:features/feature-status-template.md.
- Link it in:
- Developer sidebar (e.g., under βπ Trucking Featuresβ or an equivalent category).
- Add a new Feature Status doc under
- Meaningful behavior change
- When a featureβs behavior changes in a way users will notice (API contract, UX, roles, config), update:
- The relevant Feature Status doc.
- Any affected API or development docs (e.g.,
api/core-features,development/job-management).
- When a featureβs behavior changes in a way users will notice (API contract, UX, roles, config), update:
- Roadmap status changes
- When a planned item moves from β Not Started β π§ In Progress β β
Completed in any
MASTER_ROADMAP.md:- Ensure the matching Feature Status doc reflects the new current state.
- When a planned item moves from β Not Started β π§ In Progress β β
Completed in any
- Deprecation or removal
- When removing or deprecating a feature:
- Mark it as deprecated in the Feature Status doc and relevant API docs.
- Note any replacement workflows or migration steps.
- When removing or deprecating a feature:
Feature Status Docs β Expectationsβ
Feature Status docs are current-state, implementation-focused docs:
- Should answer βwhat do we actually have in production today?β, per feature.
- Should not be speculative design documents.
- Should link to:
- Roadmap items (for future work).
- API/development docs (for detailed contracts/examples).
When editing a feature or creating a new one, ensure the corresponding Feature Status doc:
- Lists key models/controllers/routes (API).
- Lists key pages/components/hooks (Service & Mobile).
- Summarizes:
- Implemented behavior.
- Partial implementations.
- Missing/not implemented items.
PR Checklist (for Developers)β
For any PR that adds or significantly changes a feature, confirm:
- Docs updated?
- Relevant Feature Status doc updated or created.
- Any affected API/development docs updated (if routes/contracts changed).
- Links & sidebars?
- New docs added to the appropriate sidebar category.
- Roadmap alignment?
- If a roadmap item is now completed or meaningfully advanced, update the relevant
MASTER_ROADMAP.md.
- If a roadmap item is now completed or meaningfully advanced, update the relevant
You can add a short section to PR descriptions:
Docs:
- Updated: docs/developer/features/<feature>.md
- Updated: docs/developer/api/<api-page>.md (if applicable)
Ownership & Reviewβ
- Engineering:
- Responsible for keeping technical sections accurate (models, controllers, routes, flows).
- Product / Domain Owners:
- Responsible for validating business descriptions, βwhat this feature solvesβ, and roadmap links.
- Docs / Platform (if applicable):
- Responsible for structure, clarity, and consistency across docs.
For major features, involve both engineering and product in the review of Feature Status docs.
Where to Add New Feature Docsβ
- Developer-facing Feature Status docs:
docs/developer/features/<feature-name>.md
- Customer-facing overviews (optional, higher-level language):
docs/customer/industry-guides/<industry>-<feature>.md
Use features/feature-status-template.md as the starting point for developer-facing docs.
Examplesβ
Current trucking-focused Feature Status docs:
features/trucking-loads-and-legs.mdfeatures/trucking-dispatch-scheduler.mdfeatures/trucking-quotes-and-proposals.mdfeatures/mobile-trucking-driver-experience.md
These serve as examples for future feature docs in other domains (service/repair, notifications, equipment, etc.).