Repository navigation
Closed
Labels
documentationImprovements or additions to documentation
Description
Overview
The publication workflow (PRs #69, #70) is fully functional but not documented for users.
Context
Sprint review completed: .context/sprint_review_publication_workflow.md
What works:
- ✅
nemar dataset publish request/status/resendcommands - ✅
nemar admin publish list/approve/denycommands - ✅ 5-step orchestrator (CI check → public repo → tag protect → DOI → S3 lock)
- ✅ Email notifications to admins and users
- ✅ 18 passing tests
What's missing:
- ❌ No mention in README.md
- ❌ No docs/guides/publishing.md
- ❌ Not documented in docs/commands/dataset.md or admin.md
Tasks
1. Update README.md
- Add
dataset publishcommands to Dataset Management section - Add
admin publishcommands to Admin Commands section - Add publication workflow to architecture diagrams (optional)
2. Create docs/guides/publishing.md
- User perspective: How to request publication
- Admin perspective: Approval process and orchestrator steps
- Troubleshooting: Failed steps,
--resumeflag - Email notification examples
3. Update docs/commands/dataset.md
- Add "Publication Workflow" section
- Document
publish request/status/resendsubcommands - Include examples
4. Update docs/commands/admin.md
- Add "Publication Management" section
- Document
publish list/approve/denycommands - Explain orchestrator steps (CI check, repo public, tag protect, DOI, S3 lock)
- Document
--resumeflag usage
Example User Flow (for docs)
# 1. User requests publication (dataset stays private)
nemar dataset publish request nm000104
# ✅ Admins receive email notification
# 2. Check status
nemar dataset publish status nm000104
# Shows: "requested", waiting for admin
# 3. Admin approves (runs orchestrator)
nemar admin publish approve nm000104
# Orchestrator runs 5 steps automatically
# 4. User receives email with DOI
# Dataset is now public with permanent DOIAcceptance Criteria
- README.md mentions publication workflow commands
- docs/guides/publishing.md exists with user and admin guides
- docs/commands/dataset.md documents publish subcommands
- docs/commands/admin.md documents publish subcommands
- Orchestrator steps are clearly explained
Priority
Documentation needed before next npm release
References
- Sprint review:
.context/sprint_review_publication_workflow.md - PR Add publication workflow (request/approve pipeline) #70: Publication workflow implementation
- Tests:
test/publish-workflow.test.ts(18 passing)
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
Add publication workflow documentation
Document publication workflow (#78)
neuromechanist commentedon Jan 27, 2026
Complete in #78