Integrate themed login/signup, EN/RU localization, shared dummy providers, verification recovery screens and named URL routes. Store frontend guidelines, workflow skills, validation and delivery documentation. Related to #2, #3, #5 and #6.
3.5 KiB
name, description
| name | description |
|---|---|
| manage-gitea-task | Create, update, or prepare Sendico Gitea tasks and implementation branches with the required body, metadata, branch naming, issue association, and verification. Use when Codex creates a Gitea issue or task, corrects its labels, assignee, or project, or begins code work that requires a task branch. |
Manage Gitea Task
Establish scope
- Read the repository root
AGENTS.md. - Resolve the target owner and repository from authoritative repository context. Do not infer ambiguous values.
- Determine whether the request only manages a task or also starts code work.
- Before any tracker mutation, resolve the required existing labels, assignee, and project. Ask the user for any value that authoritative data cannot establish.
Create or update the task
-
Use a concise, outcome-oriented title.
-
Write a self-contained body with these exact sections:
### Goal: state the concrete outcome, why it is needed, and its value.### Approach: describe the intended direction, likely components, known constraints, and boundaries without inventing decisions.### Acceptance criteria: provide a checklist of observable, testable completion outcomes, including relevant edge cases and validation.### Notes: record contracts, compatibility, migrations, dependencies, rollout, configuration, security, observability, risks, open questions, exclusions, and authoritative links when relevant. WriteNone identifiedwhen no significant notes apply.
-
Prefer the configured Gitea connector for issue operations. If it cannot assign a project or attach a branch, use the authenticated Gitea REST API.
-
Resolve the project ID from authoritative Gitea data. If no project-list endpoint is available, inspect the
projectsfields on existing issues in the required project. Never infer an ID from its name. -
When creating an issue through
POST /api/v1/repos/<owner>/<repo>/issues, includelabels,assignees, andprojects: [<project-id>]in the request. -
When correcting project assignment through
PATCH /api/v1/repos/<owner>/<repo>/issues/<number>, send the complete intendedprojectslist because it replaces the existing assignment. -
Verify the response contains the intended project, labels, assignee, title, and body before proceeding.
Never print, log, store in repository files, or expose API tokens or Git credentials.
Prepare a code-change branch
Skip this section when the task does not require repository changes.
- Resolve the numeric task number and the specific primary module before changing code.
- Form the short branch name as
<module>-<task-number>with a lowercase kebab-case module. Do not usecodex/,#, task text, or an avoidably generic module name. - Create or select the branch only after the task exists.
- Push the branch to the Gitea repository before changing repository files.
- Attach the branch by setting the issue
refto the exact short name. Prefer the connector; otherwise send{"ref": "<module>-<task-number>"}through the issue PATCH endpoint. - Verify the response contains the exact short
refand the required project, labels, and assignee. Stop before code changes if any value is empty or mismatched.
Report the result
Report the task number and URL, resolved metadata, and attached branch when applicable. Identify any unresolved metadata or external blocker precisely; do not claim the task is ready when verification did not succeed.