BeMart

フロータグ移行計画(Flow Tag Migration Plan)

フロータグ移行計画(Flow Tag Migration Plan)

Last updated: 2026-06-04

この計画は、現行 flow-* タグを破壊せずに、Feature matrix 用の機能領域タグと、自然言語で定義された本来の flow タグを分離するための移行方針である。

Current ALPS status:


問題(Problem)

移行前の旧 flow-* は、ほぼ Feature matrix 用の機能領域として使われていた。

例:

これはカバー率を把握するには有効だが、ハイパーメディアとして意味ある業務導線を表すには粗い。自然言語シナリオからテスト可能な長いリンクを導出するには、旧 flow-* を feature-* として退避し、新しい flow-* を「業務導線」として定義する必要がある。


目標語彙(Target Vocabulary)

Prefix Role Example
no prefix Domain / business vocabulary catalog, cart, checkout, order, account
feature-* Feature area / coverage bucket feature-admin-catalog, feature-purchase
flow-* Semantic business journey flow-admin-product-publish, flow-customer-purchase
actor-* Actor actor-admin, actor-customer
page-* Browser-visible page role page-admin, page-edit, page-complete

正準の業務領域は既存の domain tag と actor-* で表す。feature-* は Feature matrix や coverage report が明示的な coverage bucket を必要とする場合の補助軸である。

feature-* は今の flow-* の置き換え先である。flow-* は docs/flow-ontology.md で自然言語定義された業務導線にだけ使う。


監査結果(Audit Findings)

移行前の旧 flow-* は 142 descriptor に 143 回付与されていた。大半は transition descriptor で、状態をまたいだ業務導線ではなく、操作索引や Feature matrix の分類として使われていた。

注意すべき混同:


現行タグからの対応表(Mapping From Current Tags)

Current tag Target feature tag
flow-browse feature-browse
flow-purchase feature-purchase
flow-register feature-register
flow-account feature-account
flow-favorite feature-favorite
flow-inquiry feature-inquiry
flow-admin-auth feature-admin-auth
flow-manage-product feature-admin-catalog
flow-manage-order feature-admin-order
flow-manage-customer feature-admin-customer
flow-manage-shop feature-admin-shop
flow-manage-content feature-admin-content
flow-manage-cms feature-admin-cms
flow-manage-system feature-admin-system
flow-manage-mail feature-admin-mail
flow-manage-plugin feature-admin-plugin

移行フェーズ(Migration Phases)

Phase 1 — ドキュメントのみ(Documentation only)

Status: complete.

Phase 2 — 機能タグ導入(Feature tag introduction)

Status: complete for legacy flow-* descriptors.

Phase 3 — 真のフロータグ付け(True flow tagging)

Status: initial ALPS tagging complete. Executable flow fixtures and tests are still future work.

Phase 4 — マトリクスとテスト(Matrix and tests)

Phase 5 — 非推奨整理(Deprecation cleanup)


真のフロータグ適用ルール(Rules For Applying True Flow Tags)


最初の移行候補(First Migration Candidate)

Start with flow-admin-product-publish.

Reason:

Expected feature span:

Expected verification: