Add the TestProtonDriveFake init.d script, which builds and starts protonfake on port 28642 and passes on the session it prints, and a test_all entry for it, so fs/operations, fs/sync, vfs and cmd/bisync run against the fake server. Five tests that need a second Fs of the same account to see what the first wrote are ignored, as each Fs caches separately, and cmd/gitannex is skipped as for every init.d remote; both are in docs/TODO.md. Add a Gitea Actions workflow that builds, vets, lints, race-tests, fuzzes and vulnerability-checks the backend, and re-verify the agent permission table on the host toolchain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
1.1 KiB
JSON
21 lines
1.1 KiB
JSON
{
|
|
"tools": {
|
|
"allowed": [
|
|
"run_shell_command(git status)", "run_shell_command(git diff)", "run_shell_command(git log)",
|
|
"run_shell_command(git show)", "run_shell_command(git branch --list)",
|
|
"run_shell_command(git add)", "run_shell_command(git commit)",
|
|
"run_shell_command(go mod download)", "run_shell_command(go build)",
|
|
"run_shell_command(go test)", "run_shell_command(go vet)", "run_shell_command(gofmt -l)",
|
|
"run_shell_command(golangci-lint run)"
|
|
],
|
|
"exclude": [
|
|
"run_shell_command(git push --force)", "run_shell_command(git push -f)",
|
|
"run_shell_command(git push --force-with-lease)", "run_shell_command(git reset --hard)",
|
|
"run_shell_command(git clean)", "run_shell_command(git add -f)", "run_shell_command(git add --force)",
|
|
"run_shell_command(git commit --no-verify)", "run_shell_command(git commit -n)",
|
|
"run_shell_command(rm -r)", "run_shell_command(rm -R)", "run_shell_command(rm -rf)",
|
|
"run_shell_command(rm -fr)", "run_shell_command(rm -Rf)", "run_shell_command(sudo)"
|
|
]
|
|
}
|
|
}
|