docs-v2/.github
Jason Stirnaman b71694b1d1
Create and manage context, planning files for agents (#6809)
* chore(deps): update yarn dependencies

Run yarn to update lockfile with latest compatible versions.

* chore(ci): Install context harness management commands and workflow
- **.claude/commands/plan.md**: Creates and manages PLAN.md to guide agent work in the branch. Assumed to be a temporary file.
- **.claude/commands/finish.md**: Cleans up temporary planning file, generates a summary for a PR.
- **.github/workflows/cleanup-ephermal-docs.yml**: Safety net workflow to remove temporary files before the branch is merged into `master` (or `main`)

* Improve cleanup workflow resilience and fork compatibility (#6822)

* Initial plan

* fix(ci): improve cleanup workflow resilience and fork compatibility

- Switch from pull_request to pull_request_target for fork compatibility
- Use fetch-depth: 0 to get full history
- Add git pull --rebase before push to handle concurrent merges
- Soften startup hook reference to clarify it's configurable

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* fix(ci): add error handling and security documentation

- Add fallback to regular merge if rebase fails due to conflicts
- Document security considerations for pull_request_target usage
- Clarify why this workflow is safe for fork PRs

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* fix(ci): make merge strategy explicit in fallback

Use --no-rebase --no-edit flags to ensure merge doesn't prompt for editor

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* fix: preserve full plan details on PR instead of summary only

Update the /finish command and cleanup workflow to add complete PLAN.md
contents to the PR description or comments, rather than just a summary.

- /finish: reads full PLAN.md and appends it to PR description (in a
  collapsible details block) or posts as PR comment if description is long
- cleanup workflow: posts full plan contents as PR comment before removing
  ephemeral files, adds pull-requests:write permission for commenting

https://claude.ai/code/session_019Qfh7drSHEfryWP1DPCCiy

* fix: rename /plan to /task-plan to avoid shadowing built-in command

Claude Code has a built-in /plan command for entering plan mode.
Rename to /task-plan to avoid the conflict.

https://claude.ai/code/session_019Qfh7drSHEfryWP1DPCCiy

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-29 14:08:44 -05:00
..
ISSUE_TEMPLATE feat(ci): add doc review pipeline with auto-labeling and Copilot review (#6890) 2026-03-09 20:22:31 -05:00
actions/setup-docs-env chore(ci): Add config for new link validation tool (docs-tooling/link-checker) 2025-08-16 22:14:27 -05:00
agents chore: improve docs-cli with unified flag syntax and YAML config (#6778) 2026-02-04 16:44:35 -06:00
instructions feat(ci): add doc review pipeline with auto-labeling and Copilot review (#6890) 2026-03-09 20:22:31 -05:00
prompts Add URL aliases for Docker Hub links to influxdb3 serve documentation (#6895) 2026-03-26 16:10:40 -05:00
pull_request_template fix(v1): publish OSS v1.12.3, defer Enterprise v1.12.3 pending GA (#6945) 2026-03-14 15:12:40 -05:00
scripts feat(ci): add Vale style check workflow (#6816) 2026-03-27 21:05:14 -05:00
templates feat(ci): add doc review pipeline with auto-labeling and Copilot review (#6890) 2026-03-09 20:22:31 -05:00
workflows Create and manage context, planning files for agents (#6809) 2026-03-29 14:08:44 -05:00
CODEOWNERS feat(github): reduce CODEOWNERS noise, add suggested reviewers to PR template (#6797) 2026-02-09 13:24:31 -06:00
INSTRUCTIONS.md chore: improve docs-cli with unified flag syntax and YAML config (#6778) 2026-02-04 16:44:35 -06:00
ISSUE_TEMPLATE.md updated note in issue template 2019-10-07 12:59:09 -06:00
LABEL_GUIDE.md Add URL aliases for Docker Hub links to influxdb3 serve documentation (#6895) 2026-03-26 16:10:40 -05:00
PREVIEW_SETUP.md feat(ci): add PR preview system for GitHub Pages (#6636) 2025-12-18 13:44:14 -06:00
PULL_REQUEST_TEMPLATE.md Docs v2 jts fix spammy pr template (#6813) 2026-02-11 10:42:01 -06:00
SECURITY.md added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
copilot-instructions.md feat(ci): add doc review pipeline with auto-labeling and Copilot review (#6890) 2026-03-09 20:22:31 -05:00