add issue-create interactive support through -i and --interactive
validate the configured Tea login through the target-host current-user endpoint before mutation
route stale Tea user failures to the existing host-scoped Gitea API fallback for issues and PRs
add shell regression coverage and deployment verification evidence
Verification
shell wrapper regression harnesses passed, including stale Tea GetUserByName fallback simulation
deployed framework re-seeded; interactive issue create verification #704 opened and was closed
pnpm typecheck, lint, and format:check passed
pnpm test ran 995 passing tests but one unrelated gateway integration suite requires PostgreSQL at localhost:5433, which was unavailable locally; CI supplies that service
## Summary
- add issue-create interactive support through -i and --interactive
- validate the configured Tea login through the target-host current-user endpoint before mutation
- route stale Tea user failures to the existing host-scoped Gitea API fallback for issues and PRs
- add shell regression coverage and deployment verification evidence
## Verification
- shell wrapper regression harnesses passed, including stale Tea GetUserByName fallback simulation
- deployed framework re-seeded; interactive issue create verification #704 opened and was closed
- pnpm typecheck, lint, and format:check passed
- pnpm test ran 995 passing tests but one unrelated gateway integration suite requires PostgreSQL at localhost:5433, which was unavailable locally; CI supplies that service
Fixes #703
VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head d1b43f8fb4
Reviewed PR #705 against main at exact head d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8.
Evidence:
Exact head verified: PR ref and branch fix/703-wrapper-interactive-auth both resolve to d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8.
Scope verified: 7 files, +198/-0; changes are limited to the Git wrapper auth/interactive path plus shell regression harnesses and scratchpad evidence. git diff --check clean.
issue-create.sh now supports -i / --interactive, prompts only for missing fields, and preserves explicit CLI values as precedence.
Gitea mutation wrappers now validate the current Tea credential through tea api --login <login> /user before using Tea mutation commands; stale authenticated-user failures route to the existing host-scoped Gitea API fallback for both issue and PR creation.
Fallback path remains host-scoped via remote-host/token resolution and does not print token values. No --no-verify or direct-main/deploy behavior introduced.
Regression coverage verified locally on exact head:
CI verified: Woodpecker PR pipeline #1674 is terminal success on commit d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8; install, sanitization, typecheck, lint, format, and test steps are success. Push pipeline #1673 is also success on the same commit. CI logs show typecheck 41 successful, 41 total, 0 cached; lint 23 successful, 23 total, 0 cached; tests 41 successful, 41 total after DB migration.
No merge performed by reviewer.
VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8
Reviewed PR #705 against `main` at exact head `d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8`.
Evidence:
- Exact head verified: PR ref and branch `fix/703-wrapper-interactive-auth` both resolve to `d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8`.
- Scope verified: 7 files, `+198/-0`; changes are limited to the Git wrapper auth/interactive path plus shell regression harnesses and scratchpad evidence. `git diff --check` clean.
- `issue-create.sh` now supports `-i` / `--interactive`, prompts only for missing fields, and preserves explicit CLI values as precedence.
- Gitea mutation wrappers now validate the current Tea credential through `tea api --login <login> /user` before using Tea mutation commands; stale authenticated-user failures route to the existing host-scoped Gitea API fallback for both issue and PR creation.
- Fallback path remains host-scoped via remote-host/token resolution and does not print token values. No `--no-verify` or direct-main/deploy behavior introduced.
- Regression coverage verified locally on exact head:
- `bash -n packages/mosaic/framework/tools/git/*.sh`
- `packages/mosaic/framework/tools/git/test-issue-create-interactive-auth.sh`
- `packages/mosaic/framework/tools/git/test-issue-create-body-safety.sh`
- `packages/mosaic/framework/tools/git/test-gitea-login-resolution.sh`
- `packages/mosaic/framework/tools/git/test-pr-metadata-gitea.sh`
- `packages/mosaic/framework/tools/git/test-pr-merge-gitea-empty-uid.sh`
- `bash packages/mosaic/framework/tools/git/test-lane-brief-pr-linkage.sh`
- CI verified: Woodpecker PR pipeline #1674 is terminal `success` on commit `d1b43f8fb49073c997d449bdac9b4e6d6bf91aa8`; install, sanitization, typecheck, lint, format, and test steps are success. Push pipeline #1673 is also `success` on the same commit. CI logs show typecheck `41 successful, 41 total`, `0 cached`; lint `23 successful, 23 total`, `0 cached`; tests `41 successful, 41 total` after DB migration.
No merge performed by reviewer.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Verification
Fixes #703
VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head
d1b43f8fb4Reviewed PR #705 against
mainat exact headd1b43f8fb49073c997d449bdac9b4e6d6bf91aa8.Evidence:
fix/703-wrapper-interactive-authboth resolve tod1b43f8fb49073c997d449bdac9b4e6d6bf91aa8.+198/-0; changes are limited to the Git wrapper auth/interactive path plus shell regression harnesses and scratchpad evidence.git diff --checkclean.issue-create.shnow supports-i/--interactive, prompts only for missing fields, and preserves explicit CLI values as precedence.tea api --login <login> /userbefore using Tea mutation commands; stale authenticated-user failures route to the existing host-scoped Gitea API fallback for both issue and PR creation.--no-verifyor direct-main/deploy behavior introduced.bash -n packages/mosaic/framework/tools/git/*.shpackages/mosaic/framework/tools/git/test-issue-create-interactive-auth.shpackages/mosaic/framework/tools/git/test-issue-create-body-safety.shpackages/mosaic/framework/tools/git/test-gitea-login-resolution.shpackages/mosaic/framework/tools/git/test-pr-metadata-gitea.shpackages/mosaic/framework/tools/git/test-pr-merge-gitea-empty-uid.shbash packages/mosaic/framework/tools/git/test-lane-brief-pr-linkage.shsuccesson commitd1b43f8fb49073c997d449bdac9b4e6d6bf91aa8; install, sanitization, typecheck, lint, format, and test steps are success. Push pipeline #1673 is alsosuccesson the same commit. CI logs show typecheck41 successful, 41 total,0 cached; lint23 successful, 23 total,0 cached; tests41 successful, 41 totalafter DB migration.No merge performed by reviewer.