Repository navigation
docs(aidlc): replan the units for a system that is not in operation yet - #80
Merged
Merged
Conversation
The units were split on the premise that production was running (the 2026-07-28 reverse engineering). The requester confirmed on 2026-11-01 that the prototype Workers are stopped and the production data is disposable developer and test accounts. - unit-of-work.md: record the revised premise; the bar for a unit is now "develop works when it lands", not "ships to production on its own". Merge U-4 into U-3, since the old/new role coexistence only existed to avoid breaking a live system, and point U-2.5's cross-check at member_roles from the start instead of a column about to be dropped. Add launch conditions (U-2.5, U-6, U-7, audit, a fresh production DB, C-1 from then on) and leave the timing of U-10/U-11 as an open decision. Mark U-9 and U-1 done and U-2 as awaiting merge. - requirements.md C-1: apply from launch; prototype data may be discarded. - components.md 6: migration steps follow the merged units. - README.md: status and a note on why the premise changed. The revision is marked as awaiting approval, per the AI-DLC approval gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vm1iXpgdwQfcWuyNzX9KF7
The requester decided on 2026-11-01: with no launch deadline, separate the schemas and move session checks across the boundary before any real data exists, so neither needs a data-preserving migration or a maintenance window. - Record the decision and make U-10/U-11 a launch condition. - Note that U-2 made community's auth middleware read member_roles and role_permissions, which member owns; U-10 has to replace that crossing too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vm1iXpgdwQfcWuyNzX9KF7
Decided with the requester on 2026-11-01: check per API by permission, never by role name; name permissions <data>.<action>; handle differences in the record itself (owner, state) with a condition in the handler instead of a new permission; split a permission only when a real need appears, granting the new one to its current holders first so no one's access changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vm1iXpgdwQfcWuyNzX9KF7
…comments - unit-of-work.md: the 2026-11-01 revision is approved by the requester; U-2 is done now that #76 is merged. - README.md: status follows. - intent.md 6.3: the code is a teaching material for people a little way into TypeScript who want to step up by reading a real service (revised from "not beginners, successors who can already do some"). Code comments are written in Japanese. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vm1iXpgdwQfcWuyNzX9KF7
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.
作業単位(
unit-of-work.md)の改訂案です。AI-DLC の承認ゲートに従い、「承認待ち」として出しています。 承認するには、unit-of-work.md末尾のチェック項目を埋めてください。背景
前版の作業単位は「本番が稼働中」という前提で分けていました(2026-07-28 のリバースエンジニアリングによる)。2026-11-01 に依頼者に確認したところ、実際は次のとおりでした。
前版の分け方には「稼働中の本番を壊さない」ための慎重さが含まれていました。その一部は、もう必要ありません。
変更
unit-of-work.mdmember_rolesに:前版では、いったんapp_accountsと突き合わせ、U-4 の後でmember_rolesに替える予定でした。すぐ消える列に向けた突き合わせを書く必要はなくなります。U-1 で管理者全員にadminロール(role.manageを含む)を付けているので、この時点でも管理者は書き込めますmember_roles・role_permissions)を直接読むようになりました。これも U-10 で置き換える越境に含めます関連ドキュメント
requirements.mdC-1:「運用開始後の本番データを失わない。運用開始前のデータは破棄してよい」に改めましたcomponents.md6章:移行の手順を、統合後の単位と決定に合わせましたREADME.md:進み具合と、前提を改訂した理由を追記しましたintent.mdとreverse-engineering.mdは、2026-07-28 時点の記録なので変えていません。承認してほしいこと
unit-of-work.md末尾のチェック項目のうち、残りの 3 つです。U-10・U-11 の時期は決定済みなので、チェックを入れてあります。
備考
#76 も
components.mdを変更していますが、変更箇所が違う(3.2・3.5 と 6章)ので、競合はしない見込みです。🤖 Generated with Claude Code
https://claude.ai/code/session_01Vm1iXpgdwQfcWuyNzX9KF7