Establish Forgejo branding and global agentic development defaults #94
Labels
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
This Forgejo instance is becoming the home workspace for human + agent development. The current setup still reads like a default Forgejo install in a few places, and agents perform better when the UI, repository defaults, and workflow rules are explicit and English-first.
Branding direction
Recommended positioning: this is not just a Git server, it is an agentic software workbench.
Candidate instance branding:
Pdurlej ForgeAgentic software workbenchAgentic Forge,Pdurlej Code,Iskra ForgeSuggested app.ini direction:
Optional image/logo prompt for later generation:
Language policy
claude,codex,glm,Iskra) to English UI.Runner policy
Current admin audit found two global
rs2000-dockerActions runners: one idle, one offline.An offline runner is a registered worker that Forgejo knows about, but that worker is not currently connected. It may be an old container/VM, a stopped service, or a duplicate registration. It can confuse CI debugging because jobs may appear to have capacity that is not really available.
Rules:
ubuntu-latest,ubuntu-22.04,docker.Repository defaults
Recommended defaults for new serious repositories:
mainEvery serious repo should include:
README.mdwith purpose and statusAGENTS.mdwith agent operating rulesReview bot direction
Short-term: do not invest in CodeRabbit for Forgejo directly unless we mirror selected repos to GitHub/GitLab. CodeRabbit does not appear to support Forgejo/Gitea as a first-class direct integration.
Better local direction:
Important: the cheap model should not replace tests or human/operator judgment. It is a low-cost early warning layer.
Acceptance criteria
Research update: Forgejo review bot + Ollama
Recommendation after docs research + Oracle GPT-5.5 Pro review: start with a hybrid v0, not a full custom bot and not PR-Agent/Qodo as the default path.
Decision
v0: Forgejo Actions + deterministic checks + one small Ollama-backed advisory PR comment.
<!-- forgejo-pr-sanity-review -->.v1: Pilot PR-Agent/Qodo Merge against Forgejo/Gitea after v0 works.
/describe,/review,/ask./improvecomments.v2: Risk-based escalation.
Why not full custom bot first
A custom webhook bot gives maximum control, but it creates maintenance surface too early: auth, webhook validation, retries, comment updates, queueing, config, observability, model failures. Forgejo Actions already gives us the boring reliable execution layer, so v0 should be a workflow + small script, not a bot platform.
Why not CodeRabbit direct
CodeRabbit docs list GitHub, GitLab, Azure DevOps, Bitbucket Cloud/Data Center as supported platforms. I do not see first-class Forgejo/Gitea support. It may still be useful for GitHub mirrors, but not as the native path for this Forgejo instance.
Ollama strategy
Use Ollama as a bounded sanity layer, not a security reviewer.
Start with:
Important: PR-Agent docs explicitly warn that local open-source models are often not production-grade for serious PR review, and Ollama context must be configured high enough for PR diffs. That means Ollama is good for cheap early warning, but not the final authority.
v0 acceptance criteria
not configured, not silent success.skip-ai-reviewlabel is present.Sources
v0 implementation plan: Forgejo PR sanity review with Ollama Cloud
Chosen default model:
qwen3-coder:480b-cloud.Why this model:
gpt-oss:120b-cloudfor PR review because this task is code-specific, not general reasoning.Fallback/cost-saver model for later:
qwen3-coder-next:cloud, especially if480b-cloudis too slow or burns too much quota.Architecture
Add a small Forgejo-native review layer, not a full bot platform yet.
Files:
.forgejo/workflows/pr-sanity.ymltools/pr-sanity/review-pr.mjstools/pr-sanity/forgejo-api.mjstools/pr-sanity/ollama-review.mjstools/pr-sanity/render-comment.mjsdocs/pr-review-bot.mdFlow:
opened,synchronize, andreopened.not configured, not as silent success.AGENTS.md, PR template, package metadataSecret handling
The provider key already lives in Infisical at:
/home-platform/providersproductionOLLAMA_CLOUD_API_KEYDo not duplicate the Ollama key into git.
Preferred runner setup:
INFISICAL_TOKEN.The script should read
OLLAMA_CLOUD_API_KEYand send it as:to:
Ollama call
Use native Ollama Cloud API, not local
localhost:11434for v0.Request shape:
Prompt rules:
No high-signal model findingwhen unsure;Guardrails
Skip model review when:
skip-ai-reviewlabel is present;Never use model output as a required merge gate in v0.
Comment format
Test plan
Local/unit:
Forgejo live smoke on
platformonly:skip-ai-review: model call is skipped.Rollout
platformonly.pyfallow,BMADX, or other repos.Follow-up decision gate
After v0 has real data, decide whether to pilot PR-Agent/Qodo Merge.
Adopt PR-Agent only if it is better than this v0 on: