Skip to content

Persist artifact language for OpenFlow init#15

Open
lininn wants to merge 5 commits into
mainfrom
release/0.4.4-close-alias-guard
Open

Persist artifact language for OpenFlow init#15
lininn wants to merge 5 commits into
mainfrom
release/0.4.4-close-alias-guard

Conversation

@lininn

@lininn lininn commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add language.artifacts scaffold to openspec/config.yaml during OpenFlow init.
  • Teach init/spec/amend templates to keep human-facing artifacts in the configured project language while preserving parser-required markers.
  • Bump package version to the published beta 0.4.5-beta.0.

Beta Publish

  • Published @lininn/openflow@0.4.5-beta.0 with npm dist-tag beta.
  • Verified latest remains 0.4.4 and beta points to 0.4.5-beta.0.

Test Plan

  • npm run check
  • openspec validate add-openflow-init-phase --strict
  • npm publish --tag beta --dry-run

lininn and others added 5 commits June 25, 2026 11:28
OpenFlow init now records a project-level artifact language preference in openspec/config.yaml so generated proposals, plans, workflow status, and user-facing summaries can follow the project's documentation language without re-detecting it in each phase.

The spec and amend handoff templates propagate that preference into plan-ready generation while keeping OpenSpec schema markers, CLI commands, code identifiers, and protocol keywords in their required original form. This also bumps the package to the published beta version.

Constraint: User requested a beta release and PR from the current release branch.

Rejected: Store language preference in a separate runtime state file | openspec/config.yaml is already the project-level context source consumed by later phases.

Confidence: high

Scope-risk: narrow

Directive: Do not translate parser-required OpenSpec headings when language.artifacts is non-English.

Tested: npm run check

Tested: openspec validate add-openflow-init-phase --strict

Tested: npm publish --tag beta published @lininn/openflow@0.4.5-beta.0

Co-authored-by: OmX <omx@oh-my-codex.dev>
- Add Grill decision gate: capture phase is blocked until user decides
- Change nextCommand from /openflow spec to /openflow grill when proposal exists
- Add project init guard to brainstorming template (matching proposal)
- Tighten init skip: require explicit user intent, not passive silence
- Rename '项目初始化守卫' to 'OpenSpec 初始化入口门禁'
- Restrict init guard to proposal/brainstorming entry phases only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant