Repository navigation
Document publication workflow - #78
Merged
Merged
Conversation
- Update scripts/generate-docs.ts to include publish subcommands - Regenerate command docs from CLI help (single source of truth) - Add comprehensive publishing workflow guide (docs/guides/publishing.md) - Update README with publish commands - Add sprint review document Documentation now follows proper pattern: - Command syntax: defined in CLI help text - Command reference: auto-generated via scripts/generate-docs.ts - Workflow guides: hand-written in docs/guides/ Closes #77
- dataset publish request: description, status flow, examples - dataset publish status: possible statuses, orchestrator steps, examples - dataset publish resend: when to use, what it does, examples - admin publish list: filter options, examples - admin publish approve: 5-step orchestrator explained, resume capability, permanence warning - admin publish deny: requirements, reason handling, examples Total: 258 lines of help text added Regenerated docs automatically via scripts/generate-docs.ts CLI help is now comprehensive enough to be single source of truth
CRITICAL FIXES:
1. Add missing tag_protect step to status display array (src/commands/dataset.ts:1440)
2. Update all "5-step" references to "6-step" (orchestrator has 6 steps, not 5)
3. Document step 6 (notify_user) in all help texts and guide
4. Remove false branch protection claims (orchestrator does NOT apply branch protection)
5. Fix interactive confirmation to show all 6 steps correctly (src/commands/admin.ts)
IMPORTANT FIXES:
6. Add comprehensive step 6 documentation in publishing guide
7. Fix resume example wording for clarity ("retries step 3, then continues with 4-6")
MINOR FIXES:
8. Remove --json example from status help (option doesn't exist)
ALL ISSUES from PR review addressed:
- Status command now displays all 6 steps including tag_protect
- Help text accurately reflects 6-step orchestrator
- Branch protection claims removed (replaced with tag protection)
- Step 6 (notify_user) fully documented
- Interactive confirmation shows correct steps
- Resume example is clear about behavior
- FAQ updated to remove incorrect PR requirement claim
Regenerated docs via scripts/generate-docs.ts
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR78Version: 🤖 Updated on each push. |
Contributor
Author
PR Review Fixes Applied ✅All issues identified in the comprehensive PR review have been addressed: Critical Issues Fixed (Must Fix)
Important Issues Fixed
Minor Issues Fixed
Changes SummaryVerificationAll help text now accurately reflects the 6-step orchestrator:
# Verify fixes
bun run src/index.ts dataset publish status --help # Shows all 6 steps
bun run src/index.ts admin publish approve --help # Shows 6-step orchestratorReady to merge! 🎉 |
5 of 19 tasks
9 tasks done
neuromechanist
added a commit
that referenced
this pull request
Nov 24, 2026
* Move nemar-floor and nemar-ica to 1.0.0-b2 Registry versions, regenerated progress vectors (NEMAR_WRITE_PROGRESS_VECTORS=1) and the tests that assert the current version. Targeted tests, typecheck and lint pass. * Accept plugin steps in CHECKPOINTS pre-PLUGINS nemar-process #78 lists quality/nemar-quality in nemar-ica's CHECKPOINTS before declaring PLUGINS. The drift test now accepts all or none of the plugin steps until PLUGINS is declared. Passes against nemar-process acf2690. * Changelog: recipes at 1.0.0-b2 * Keep the b1 changelog entry whole * Choose drift CHECKPOINTS by plugin mention expectedCheckpoints picks the whole map once PLUGINS is declared or CHECKPOINTS name any plugin step, else the map without them; fixed-text cases for none, whole, partial, wrong checkpoint and PLUGINS without the step. Drift test passes against nemar-process acf2690.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds comprehensive documentation for the publication workflow (user requests → admin approval → automated orchestration).
Closes #77
What Changed
1. Enhanced CLI Help Text (258 lines)
Added rich help text to all 6 publish commands following the existing pattern from
dataset uploadanddataset validate:User commands:
dataset publish request- Description, status flow, what happens after approval, examplesdataset publish status- All possible statuses, 5-step orchestrator breakdown, examplesdataset publish resend- When to use, what it does, examplesAdmin commands:
admin publish list- Filter options explained, examplesadmin publish approve- 5-step orchestrator fully explained, resume capability, permanence warning, examplesadmin publish deny- Reason requirements, email notification flow, examples2. Auto-Generated Command Reference
scripts/generate-docs.tsto include publish subcommandsdocs/commands/*.mdfrom CLI help (single source of truth)3. Hand-Written Workflow Guide
docs/guides/publishing.md(367 lines)4. Updated README
5. Sprint Review Document
.context/sprint_review_publication_workflow.md- Complete assessment of publication infrastructureDocumentation Pattern
✅ Single Source of Truth Achieved:
src/commands/*.ts)scripts/generate-docs.tsdocs/guides/)Testing
All help text includes:
Files Changed
Total: 1,045 insertions (documentation only, no code changes)
Examples
Before (too minimal)
After (comprehensive)