Skip to content

Sync Atlassian APIs and strengthen CLI end-to-end validation - #102

Merged
aurokin merged 11 commits into
mainfrom
fix/api-sync
Sep 19, 2026
Merged

aurokin merged 11 commits into
mainfrom
fix/api-sync

Conversation

@aurokin

@aurokin aurokin commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

This synchronizes Jira, Confluence and Bitbucket command behavior with their API contracts and expands verification across real CLI processes and live owned-resource workflows. It fixes Confluence ancestor traversal, Windows extension resolution, transport/timeouts, precise attachment decoding, repository resolution, and command validation/response handling.

The suite requires process or live evidence for all 152 runnable commands. Coverage includes auth/targeting, aliases/extensions, native completion and credential persistence, raw API/output/download failures, owned CRUD with independent readback and cleanup, pagination, OAuth refresh, scope denial, independent-user PR approval, and bounded Bitbucket pipelines/deployments.

Validation on committed revision 916bd52 (September 19):

  • Complete 12-cell live matrix: 81/81 selected executions passed, with no failures, skips, missing tests or excluded capabilities. All 64 recorded resources were deleted and verified.
  • Jira and Confluence classic/scoped/OAuth workflows, two forced-refresh cells, three read-only-token cells, and Bitbucket projects/pipelines/deployments passed.
  • The independent reviewer authenticated as a distinct identity, received concealed 404/exit 6 before access was granted to an owned private repository, then approved and unapproved the owner's PR with exact identity/state readback. The targeted pilot also passed and its additional repository was deleted and verified.
  • All six CI jobs passed, including Linux/macOS/Windows process contracts, native credential persistence and shell completion, formatting/build/vet/tests, lint and race/coverage. Local make check and make lint passed again.
  • The previously clean full branch review still covers the unchanged Go source and unchanged main comparison. The evidence follow-up changes documentation only.

All six CI jobs also passed on the documentation follow-up 9b95be3: latest CI.

The former second-account blocker is resolved. Confidence is high for the documented merge gate. Mixed non-page Confluence children retain process-only evidence; the command inventory does not imply every flag or permission permutation has live coverage.

September 19 validation · CI for the live-tested revision · Run instructions

Nothing has been merged; auto-merge is disabled. The PR is left as a draft for the owner's final merge decision. No subscriptions, credit cards, paid build capacity or unrelated repositories were changed.

aurokin and others added 11 commits September 12, 2026 21:01
API drift:
- Retire the Bitbucket issue-tracker surface (atl-bb issue *, search
  issues, the bitbucket_issue resolve kind, and the feature_disabled error
  category). Atlassian removed the tracker and its endpoints on 2026-08-20;
  they now answer 410. Recorded in ADR 0008.
- Switch atl-conf page children to GET /pages/{id}/direct-children, the
  replacement for the deprecated /children endpoint, and show the new
  child type column.
- Page pull-request listings at 50 under --all; the endpoint rejects a
  larger pagelen.

Bugs:
- Require --yes on branch delete, tag delete, Jira comment delete, and
  Confluence comment delete, via a shared cli.AddYesFlag/RequireYes.
- Keep human text off stdout under --json/--jq for issue link, page label
  remove, and page comment delete.
- Fix git remote inference for trailing slashes, altssh.bitbucket.org,
  mixed-case hosts, and a local-branch upstream.
- Add --timeout with an ATL_TIMEOUT fallback; bound the OAuth refresh
  independently so a live refresh never looks like a stale lock; make the
  refresh lock best-effort and non-spinning.
- Project --json=field over arrays of objects; report unselectable
  responses as invalid_input.
- Discover Windows extensions by PATHEXT with exec.LookPath precedence;
  follow symlinks on POSIX.

Docs, skill references, and the command contract updated to match, and
stale known-limitation entries corrected.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>
@aurokin
aurokin marked this pull request as ready for review September 19, 2026 16:48
@aurokin
aurokin merged commit 424d2e1 into main Sep 19, 2026
6 checks passed
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