Skip to content

Update AGENTS.md with additional guidelines#37018

Merged
lunny merged 14 commits into
go-gitea:mainfrom
silverwind:agents2
Mar 28, 2026
Merged

Update AGENTS.md with additional guidelines#37018
lunny merged 14 commits into
go-gitea:mainfrom
silverwind:agents2

Conversation

@silverwind
Copy link
Copy Markdown
Member

@silverwind silverwind commented Mar 28, 2026

Add and modify more instruction for common problems in this codebase and made the force-push instruction more strict. If people have more suggestions for instructions, please shoot now.

Add instructions to preserve existing code comments, keep diffs minimal,
and prefer non-null assertions in TypeScript.

Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 28, 2026
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 28, 2026
Comment thread AGENTS.md Outdated
silverwind and others added 2 commits March 28, 2026 09:01
Signed-off-by: silverwind <me@silverwind.io>
Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
Comment thread AGENTS.md Outdated
silverwind and others added 2 commits March 28, 2026 11:54
Signed-off-by: silverwind <me@silverwind.io>
Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
Comment thread AGENTS.md Outdated
Signed-off-by: silverwind <me@silverwind.io>
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 28, 2026
@bircni bircni self-requested a review March 28, 2026 16:00
@bircni
Copy link
Copy Markdown
Member

bircni commented Mar 28, 2026

@silverwind does this align for you with #37022 ?

@silverwind
Copy link
Copy Markdown
Member Author

silverwind commented Mar 28, 2026

They don't need to align, this one is for agents, the other for humans. The covered topic are completely different.

@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 28, 2026
@lunny lunny merged commit 84daa0b into go-gitea:main Mar 28, 2026
26 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Mar 28, 2026
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 28, 2026
@silverwind silverwind deleted the agents2 branch March 29, 2026 08:50
zjjhot added a commit to zjjhot/gitea that referenced this pull request Mar 30, 2026
* main: (35 commits)
  Correct swagger annotations for enums, status codes, and notification state (go-gitea#37030)
  Update Nix flake (go-gitea#37024)
  Bump go and python versions in nix flake (go-gitea#37031)
  Make task list checkboxes clickable in the preview tab (go-gitea#37010)
  Add support for in_progress event in workflow_run webhook (go-gitea#36979)
  Fix various problems (go-gitea#37029)
  Update AI Contribution Policy (go-gitea#37022)
  Migrate from webpack to vite (go-gitea#37002)
  Upgrade yaml (go-gitea#37015)
  Fix issue label deletion with Actions tokens (go-gitea#37013)
  Hide delete branch or tag buttons in mirror or archived repositories. (go-gitea#37006)
  Update AGENTS.md with additional guidelines (go-gitea#37018)
  Optimize 'refreshAccesses' to perform update without removing then adding (go-gitea#35702)
  Fix relative-time RangeError (go-gitea#37021)
  Restyle Workflow Graph (go-gitea#36912)
  Update message severity colors, fix navbar double border (go-gitea#37019)
  Clean up checkbox cursor styles (go-gitea#37016)
  add missing cron tasks to example ini (go-gitea#37012)
  Add e2e tests for server push events (go-gitea#36879)
  Update JS dependencies (go-gitea#37001)
  ...
silverwind added a commit to silverwind/gitea that referenced this pull request Mar 30, 2026
* origin/main: (69 commits)
  Correct swagger annotations for enums, status codes, and notification state (go-gitea#37030)
  Update Nix flake (go-gitea#37024)
  Bump go and python versions in nix flake (go-gitea#37031)
  Make task list checkboxes clickable in the preview tab (go-gitea#37010)
  Add support for in_progress event in workflow_run webhook (go-gitea#36979)
  Fix various problems (go-gitea#37029)
  Update AI Contribution Policy (go-gitea#37022)
  Migrate from webpack to vite (go-gitea#37002)
  Upgrade yaml (go-gitea#37015)
  Fix issue label deletion with Actions tokens (go-gitea#37013)
  Hide delete branch or tag buttons in mirror or archived repositories. (go-gitea#37006)
  Update AGENTS.md with additional guidelines (go-gitea#37018)
  Optimize 'refreshAccesses' to perform update without removing then adding (go-gitea#35702)
  Fix relative-time RangeError (go-gitea#37021)
  Restyle Workflow Graph (go-gitea#36912)
  Update message severity colors, fix navbar double border (go-gitea#37019)
  Clean up checkbox cursor styles (go-gitea#37016)
  add missing cron tasks to example ini (go-gitea#37012)
  Add e2e tests for server push events (go-gitea#36879)
  Update JS dependencies (go-gitea#37001)
  ...

# Conflicts:
#	package.json
#	pnpm-lock.yaml
#	tests/e2e/utils.ts
#	web_src/css/themes/theme-gitea-dark.css
#	web_src/css/themes/theme-gitea-light.css
#	web_src/js/bootstrap.ts
#	web_src/js/features/codeeditor.ts
#	web_src/js/modules/errors.test.ts
#	webpack.config.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants