Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ It is not the private implementation source tree.
## Repo Map

- `README.md` - public overview, install commands, and support entrypoints.
- `CHANGELOG.md` - public release notes synced from the private release process.
- `CHANGELOG.md` - published release history and public release highlights.
- `docs/public-repo-governance.md` - public repo intent, boundaries, and
pre-automation operating model.
- `docs/release-integration.md` - release and changelog integration notes.
- `plugins/` - Codex and Claude marketplace packaging notes.
- `skills/` - public TWG agent skills and shared `twg` wrapper.
- `plugins/` - links to marketplace installation instructions.
- `skills/` - fully materialized public TWG agent skill packages.
- `.github/ISSUE_TEMPLATE/` - public issue intake forms.
- `.github/pull_request_template.md` - public-safety checklist for changes.

Expand Down Expand Up @@ -52,7 +52,8 @@ public-safe artifacts:
- README/support/security/contributing docs when changed.
- `CHANGELOG.md` and GitHub Release notes.
- public release metadata and CDN links.
- Codex and Claude plugin metadata or release attachments.
- fully materialized public skills and examples for generally available commands.
- links to marketplace instructions in `atlassian-labs/twg-plugins`.
- issue templates or PR template changes.

Future automation and Pages migration require a separate approved design. Do not
Expand Down
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

Release notes are generated from the private TWG CLI release process and will be
synced here for public releases.
The [Teamwork Graph CLI changelog](https://developer.atlassian.com/cloud/twg-cli/changelog/)
contains the full public release history, including stable and public beta notes.

## 1.4.8 (public beta and stable)

This release adds artifact file uploads, diffs between Bitbucket refs, and
file-based inputs for several Jira, Bitbucket, and JSM commands. The
[full 1.4.8 entry](https://developer.atlassian.com/cloud/twg-cli/changelog/#1-4-8---2026-11-25)
includes fixes and migration details for Bitbucket commit creation.
112 changes: 46 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,95 +1,75 @@
# Teamwork Graph CLI

Teamwork Graph CLI (`twg`) is an agent-first command line interface for Atlassian
work context. It helps AI agents and developer tools discover, summarize, and act
across Jira, Confluence, Bitbucket, Atlas projects and goals, Jira Service
Management, Assets, people, teams, and the Atlassian Teamwork Graph.
Teamwork Graph CLI (`twg`) gives coding agents and terminal users access to
Atlassian work context across Jira, Confluence, Bitbucket, Jira Service
Management, Assets, Atlas projects and goals, people, teams, and the Atlassian
Teamwork Graph. This repository is the public home for CLI feedback, release
notes, and bundled public agent skills.

This repository is the public home for TWG CLI users, agent integrations,
release notes, and issue tracking. The private engineering source of truth
remains Atlassian's internal TWG CLI repository; this repo is a curated public
front door for release-ready artifacts and community feedback.
## Install and update

## Install
From a terminal on macOS or Linux:

```bash
bash <(curl -fsSL https://teamwork-graph.atlassian.com/cli/install)
twg login
twg setup
curl -fsSL --retry 2 https://teamwork-graph.atlassian.com/cli/install | bash
```

On Windows:
From Windows PowerShell:

```powershell
iwr https://teamwork-graph.atlassian.com/cli/install.ps1 -UseBasicParsing -OutFile install.ps1
.\install.ps1
twg login
twg setup
curl.exe -fsSL https://teamwork-graph.atlassian.com/cli/install.ps1 -o twg-install.ps1
powershell -ExecutionPolicy Bypass -File .\twg-install.ps1
```

## Use With Agents
The hosted scripts guide you through sign-in and agent skill setup. If you
installed a standalone package, run `twg setup` to configure it. Use
`twg doctor` to verify setup and `twg upgrade` to update.

TWG CLI is designed for agents first. After setup, ask your agent for outcomes
instead of memorizing command syntax:
See the [installation guide](https://developer.atlassian.com/cloud/twg-cli/getting-started/installation/)
for macOS packages, Windows MSI installers, and troubleshooting links.

- "Catch me up on this Jira issue."
- "Find pull requests waiting on me."
- "Summarize my team's work this week."
- "Draft a Confluence update from the current project state."
## Use with agents

The public agent surfaces for this repo are:
After setup, ask your coding agent to summarize open Jira work, pull requests
awaiting review, or Confluence pages related to a project.

- `docs/` - public repo governance and release-integration notes.
- `plugins/` - public marketplace packaging notes for Codex and Claude.
- `skills/` - public TWG agent skills for Codex-style skill installers.
- `AGENTS.md` and `llms.txt` - compact guidance for agents and LLM crawlers.
- GitHub Issues - public bug reports, docs gaps, command requests, and
skill/plugin requests.
The [public skills](skills/README.md) cover first-time setup, core CLI use, and
workflows across Jira, Confluence, search, engineering, and other products.
For marketplace installation instructions, see
[the TWG plugins repository](https://github.com/atlassian-labs/twg-plugins).
For help installing or refreshing skills through the CLI, see the
[agent skills guide](https://developer.atlassian.com/cloud/twg-cli/agents/skills/).

## Public Repo Scope
## Discover commands

This repo should contain only public-safe artifacts:
Use the CLI's help to check the syntax supported by your installed version:

- Install, setup, update, auth, troubleshooting, and recipe docs.
- Public command examples generated from the release build profile.
- Public skills and plugin packages for supported agent marketplaces.
- Changelog and human-readable release notes.
- GitHub Issues for public feedback and workflow requests.

It must not contain internal-only command docs, private Jira or Confluence URLs,
customer data, internal runbooks, private benchmark data, tokens, auth files, or
generated catalogs from internal build profiles.

## Release Channels

- Documentation mirror: `https://atlassian.github.io/twg-cli/`
- Stable installer: `https://teamwork-graph.atlassian.com/cli/install`
- Stable manifest: `https://teamwork-graph.atlassian.com/cli/manifest.json`
- Release notes: `https://teamwork-graph.atlassian.com/cli/CHANGELOG.md`
```bash
twg help describe "jira workitem get"
twg help describe "confluence content get"
```

The release process that updates this repo is described in
[`docs/release-integration.md`](docs/release-integration.md).
See the [stable command catalog](https://developer.atlassian.com/cloud/twg-cli/commands/commands-catalog/)
for the public command list.

## Agent Guidance
## Releases

Agents working in this repo should start with [`AGENTS.md`](AGENTS.md). LLM
crawlers and tools can use [`llms.txt`](llms.txt) for a compact repo map.
- [Changelog](CHANGELOG.md) for stable and public beta release notes.
- [Stable release manifest](https://teamwork-graph.atlassian.com/cli/manifest.json)
for release artifacts and checksums.
- [Release integration](docs/release-integration.md) for how this repository is updated.

## Community

Use GitHub Issues for bugs, docs gaps, command requests, and skill/plugin
requests.

Use Discussions only if they are enabled for this repo. Until then, open an
issue with the closest matching template.

Before filing anything, remove tokens, private URLs, customer data, internal
Jira/Confluence links, and proprietary content from logs or examples.
[Open a GitHub issue](https://github.com/atlassian/twg-cli/issues/new/choose)
for public bugs, docs gaps, or command, skill, and plugin requests. Remove
credentials, private links, and customer data from examples and logs.

For repo intent, public/private boundaries, and the pre-automation operating
model, see [`docs/public-repo-governance.md`](docs/public-repo-governance.md).
See [SUPPORT.md](SUPPORT.md), [SECURITY.md](SECURITY.md), and
[CONTRIBUTING.md](CONTRIBUTING.md) for support, vulnerability reporting, and
contributions. Agents working in this repo should start with
[AGENTS.md](AGENTS.md). [llms.txt](llms.txt) provides a compact index.

## License

This repository is licensed under the Apache License 2.0. See
[`LICENSE`](LICENSE).
This repository is licensed under the Apache License 2.0. See [LICENSE](LICENSE).
9 changes: 5 additions & 4 deletions docs/public-repo-governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ engineering decisions.
## Intent

- Help users install, update, and troubleshoot TWG CLI.
- Publish public-safe TWG CLI skills and plugin notes for agent hosts.
- Publish release-ready TWG CLI skills and link to plugin installation.
- Provide a public changelog and release communication surface.
- Accept public bugs, docs gaps, command requests, feature ideas, and skill or
plugin requests.
Expand All @@ -33,9 +33,10 @@ engineering decisions.
Allowed public content includes:

- Install, setup, update, authentication, troubleshooting, and recipe docs.
- Public command examples from the release build profile.
- Public TWG agent skills and supported plugin packaging notes.
- Public changelog and release summaries.
- Public command examples for generally available commands in the release build.
- Fully materialized public TWG agent skills available without gated access.
- Plugin installation links to the dedicated public plugin repository.
- Public changelog and release summaries, including labeled public beta notes.
- GitHub issue templates, PR template, support policy, security policy, and
contribution guidance.
- Public CDN links, public installer links, and public release metadata.
Expand Down
153 changes: 40 additions & 113 deletions docs/release-integration.md
Original file line number Diff line number Diff line change
@@ -1,115 +1,42 @@
# Release Integration

This repo is updated through reviewed public changes that originate from the TWG
CLI release process. Bitbucket remains the source of truth for implementation,
release scripts, tests, and internal builds. GitHub is the public engagement and
distribution surface.

Automation is not approved by this document. Any automated sync from the private
repo needs a separate decision record, leak-check design, permission review, and
implementation PR.

## Private Release Boundary

The private release process is responsible for versioning, building, signing,
validating, and publishing TWG CLI artifacts. This public repo should only show
release-ready information that is safe for users:

- public install and update instructions
- public changelog and GitHub Release notes
- public CDN, manifest, and checksum links
- public skills and plugin package notes
- public issue and support links

## GitHub Pages Mirror

GitHub Pages for TWG CLI docs is published from this repo:

- Pages URL: `https://atlassian.github.io/twg-cli/`
- Source repo: `atlassian/twg-cli`
- Source branch: `gh-pages`

The private `twg-cli` publishing flow should keep the GitHub Pages publish
target pointed at `atlassian/twg-cli`, use a dedicated `GITHUB_PAGES_TOKEN`, and
avoid token-bearing remote URLs. That token needs **Contents: read and write**
and **Pages: read-only** on `atlassian/twg-cli`.

## Manual Public Repo Update Checklist

Until automation is approved, public repo updates should be made through reviewed
PRs. For each release or docs update:

- Update only public-safe docs, skills, plugin notes, changelog, issue
templates, or release metadata.
- Confirm every copied path is allowlisted.
- Review the diff for private links, customer data, internal command docs,
private build output, local paths, and credentials.
- Keep GitHub Release content human-readable and adoption-focused.
- Do not add scripts, scheduled jobs, publish credentials, or private-system
access as part of a manual update.

## Release Flow

1. Prepare and validate the release in the private source-of-truth workflow.
2. Prepare public changelog text and GitHub Release notes from release-ready
information only.
3. Prepare a reviewed public PR with docs, skills, plugins, changelog, and
release metadata for the candidate version.
4. Validate the public installer, manifest, checksums, and plugin package
references.
5. Promote the public release through the approved private release workflow.
6. Merge the GitHub public repo PR and create/update the GitHub Release for the
same version.

## Non-Release Docs Updates

DAC documentation changes should also be reflected in GitHub, even when no
binary release is cut. In that case:

- Export only docs, issue templates, and public metadata.
- Do not create a GitHub Release.
- Do not move installer, manifest, plugin, or stable release pointers.

## Leak Checks

Manual review and any future approved automation should block GitHub changes if
they find:

- Tokens, API keys, cookies, `.env` files, auth stores, or session logs.
- Internal Bitbucket, Jira, Confluence, private infrastructure, or pipeline URLs
not explicitly approved for public docs.
- Internal build-profile command catalogs.
- Internal-only commands, dev-only commands, or private graph/debug surfaces.
- Customer data, private cloud IDs, ARIs, or site-specific examples.
- Private benchmark/eval artifacts.
- Generated files that reference local developer paths.

Authentication for any future GitHub sync must avoid putting tokens in clone
URLs, process arguments, logs, or stored remotes.

## Future Public Repo Sync Design

A later design may introduce an export, leak-check, and GitHub update workflow,
but that workflow is intentionally not part of this repo today. Before
implementation, the design must define:

- allowlisted source paths
- public/private denylist and review ownership
- release and non-release sync behavior
- GitHub permissions and token handling
- failure and rollback behavior
- evidence required before public publishing

## GitHub Release Content

Each public GitHub Release should be generated from the release changelog but
rewritten for adoption:

- What changed.
- Why users or agents should care.
- Install/update command.
- Candidate validation status.
- Checksums and manifest links.
- Plugin package links for Codex and Claude.
- Known issues or migration notes.
- Links to docs and the relevant public issue tracker entry when applicable.
This repository is updated through reviewed public pull requests. The
[published changelog](https://developer.atlassian.com/cloud/twg-cli/changelog/)
covers stable and public beta releases. The
[stable release manifest](https://teamwork-graph.atlassian.com/cli/manifest.json)
lists published CLI artifacts and checksums.

The [GitHub Pages documentation mirror](https://atlassian.github.io/twg-cli/)
is published from the `gh-pages` branch. Plugin packages, versions, and
marketplace installation instructions are maintained in
[atlassian-labs/twg-plugins](https://github.com/atlassian-labs/twg-plugins).

## Prepare a public refresh

1. Identify the generally available CLI release for the refresh. Verify the
public artifact and checksum. Use release-profile outputs from that version.
2. For command examples, verify the commands against the released CLI's help
and confirm general availability in public documentation. Link to the
[stable command catalog](https://developer.atlassian.com/cloud/twg-cli/commands/commands-catalog/)
for the full list.
3. Stage fully materialized public skills in a temporary directory. Use the
release profile's bundle policy and static-export filter for workflow skills.
Verify the offline essentials with an isolated local install from the
verified CLI with no saved profiles. Include publicly released packages
available without feature flags, experiments, or restricted grants, along
with their references, assets, and license notices. Omit local installation
metadata and cached state.
4. Compare the staged packages with `skills/`. List the included packages in
`skills/README.md` and record the version used to materialize them. Review
removed or renamed paths so existing references can be updated.
5. Link to the published changelog and label public beta summaries. Keep
beta-only commands and skills out of the stable examples and skill export.
6. Run leak checks and verify links, required community files, referenced skill
files, and licenses. Submit the diff for public review.

## Leak checks

Review the staged changes for credentials, private URLs and identifiers,
customer data, local machine paths, unpublished commands, unresolved templates,
and internal build outputs. Run the repository's public validation workflow.
Keep automated sync and publishing subject to a separate approved design.
Loading
Loading