Skip to content

Document publication workflow in README and docs/ #77

Closed

Description

@neuromechanist

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/resend commands
  • ✅ nemar admin publish list/approve/deny commands
  • ✅ 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 publish commands to Dataset Management section
  • Add admin publish commands 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, --resume flag
  • Email notification examples

3. Update docs/commands/dataset.md

  • Add "Publication Workflow" section
  • Document publish request/status/resend subcommands
  • Include examples

4. Update docs/commands/admin.md

  • Add "Publication Management" section
  • Document publish list/approve/deny commands
  • Explain orchestrator steps (CI check, repo public, tag protect, DOI, S3 lock)
  • Document --resume flag 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 DOI

Acceptance 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

Activity

  1. added
    documentation
    on Jan 27, 2026
  2. added 2 commits that reference this issue on Jan 27, 2026
    caafe05
    fa31423
  3. neuromechanist commented on Jan 27, 2026

    @neuromechanist
    ContributorAuthor

    Complete in #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions