Support #3889
Updated by Joshua Zhao 6 days ago
h2. Problem
Repository workflow instructions were bundled with the unrelated passkey implementation in commit ca3eae83725020fda7b10113be2e5336282191a9 under #3887. Joshua requires independent change batches to have separate commits and corresponding verified Redmine issue IDs.
h2. Scope and acceptance
* Add repository-root AGENTS.md documenting the mandatory Refs #<issue-id>: <imperative summary> subject.
* Require each commit to contain one coherent change batch. Separate unrelated application behavior, repository workflow, and other independent work into separate commits with their corresponding issues.
* Keep directly related implementation, tests, and documentation together; do not group unrelated work simply because it was requested in the same conversation.
* Search authenticated Redmine and create a scoped issue when no matching issue exists, as already authorized.
* Document the trusted Redmine host, YM-Android7 project metadata, and existing Keychain credential location without exposing secrets.
* Verify staged file and diff scope against the selected issue before committing, and verify the resulting commit after creation.
* Preserve the rule requiring explicit approval before rewriting published history.
The independent passkey implementation, tests, and storage documentation remain covered by #3887. This issue owns only the repository workflow instructions.
Prepare a local two-commit replacement for the combined commit. The combined commit is already published, so updating published history requires approval after the replacement is ready for review.
h2. Prepared local replacement
* @086c1cf2b34bfc0de252197f93ca456c04cac9cd@: #3887, passkey implementation, tests, and related documentation only.
* @1757e035dd184cd6adc89dc88a463bb0138483ef@: #3889, AGENTS.md only.
Branch: @codex/split-passkey-workflow-3889@. Every file outside AGENTS.md matches the previously tested combined commit exactly. Both commits pass Git whitespace checks, and both worktrees are clean. Main and origin/main still point to @ca3eae83725020fda7b10113be2e5336282191a9@; replacing the published commit awaits approval.