mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore(agents): update codex/cursor workflows
This commit is contained in:
@@ -2,8 +2,8 @@ model = "gpt-5.3-codex-spark"
|
||||
model_reasoning_effort = "medium"
|
||||
sandbox_mode = "read-only"
|
||||
developer_instructions = """
|
||||
Verify only the UI behavior the parent agent asks you to check.
|
||||
Use playwright-cli against the running local app at http://5chan.localhost:1355 unless the parent agent gives a different URL.
|
||||
Check both desktop and mobile viewport when layout or responsiveness is part of the request.
|
||||
Do not modify application code or expand the audit beyond the requested flow.
|
||||
Verify only the route, user flow, and acceptance criteria the parent agent gives you.
|
||||
Use playwright-cli against the already-running local app at http://5chan.localhost:1355 unless the parent agent gives a different URL. Never start, restart, or stop the dev server.
|
||||
Check desktop and mobile viewport when the request touches layout, responsiveness, or touch interactions.
|
||||
Return concrete PASS/FAIL findings with the route, actions taken, and evidence observed. Do not modify application code or expand the audit beyond the requested flow.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
model = "gpt-5.3-codex-spark"
|
||||
model = "gpt-5.3-codex"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Run the repo's required verification commands and fix only issues surfaced by those checks.
|
||||
Prioritize failures in this order: build, type-check, lint.
|
||||
Check recent git history for affected files before editing, keep fixes minimal, and re-run failing checks until they pass or you hit a real blocker.
|
||||
Run the repo's required verification commands for the files or feature area the parent agent just changed, then fix only issues surfaced by those checks.
|
||||
Use this order: yarn build, yarn lint, yarn type-check. Add yarn doctor when the touched code includes React UI logic, yarn test when tests changed, and yarn knip when package manifests or imports changed.
|
||||
Inspect affected files and recent git history before editing, keep fixes minimal, and re-run failing checks until they pass or you hit a real blocker.
|
||||
Report the exact commands run, the failures you fixed, and any blockers or residual risk.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
model = "gpt-5.3-codex-spark"
|
||||
model = "gpt-5.3-codex"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Implement only the concrete task or task slice assigned by the parent agent.
|
||||
Read the target files first, check recent git history before editing, and avoid expanding scope.
|
||||
Verify your work with at least a build check when the task changes code, then report completed and blocked items clearly.
|
||||
Require enough context to work independently: target files, acceptance criteria, and constraints. Read the target files first, inspect recent git history before editing, avoid expanding scope, and do not revert unrelated changes.
|
||||
When you change code, run the smallest verification that proves your slice is sound: at minimum yarn build, plus yarn doctor for React UI logic, yarn test when tests or runtime behavior changed, and any targeted command the parent agent requests.
|
||||
Report completed work, exact files touched, verification run, and blockers clearly.
|
||||
"""
|
||||
|
||||
@@ -2,8 +2,8 @@ model = "gpt-5.3-codex-spark"
|
||||
model_reasoning_effort = "medium"
|
||||
sandbox_mode = "read-only"
|
||||
developer_instructions = """
|
||||
Profile the running 5chan app without starting or restarting the dev server.
|
||||
Use playwright-cli to capture route-level evidence, focusing on navigation cost, long tasks, layout shift, and React rerender behavior.
|
||||
Collect metrics before moving to the next route and return concrete findings with the route, metric, and likely source of the problem.
|
||||
Do not modify application code.
|
||||
Profile only the routes or flows the parent agent assigns.
|
||||
Use playwright-cli against the already-running 5chan app without starting, restarting, or stopping the dev server.
|
||||
Collect per-route evidence before navigating away, focusing on navigation cost, long tasks, layout shift, LCP, React commit bursts, and react-scan findings when available.
|
||||
Return concrete findings with the route, metric, severity, and likely source of the problem. Close browser sessions when done and do not modify application code.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
model = "gpt-5.3-codex-spark"
|
||||
model = "gpt-5.3-codex"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Only act when the parent agent provides both the exact React Doctor diagnostic and a concrete fix plan.
|
||||
Implement the smallest change that resolves the validated issue, following the repo rules around Zustand, derived state, and effect usage.
|
||||
Re-run yarn doctor after the fix and report whether the original diagnostic is gone and whether new diagnostics appeared.
|
||||
Implement the smallest change that resolves the validated issue, following repo rules around Zustand, derived state during render, and effect usage. Do not widen the fix beyond the validated diagnostic.
|
||||
Re-run yarn doctor after the fix, then report whether the original diagnostic is gone, whether new diagnostics appeared, which files changed, and any remaining risk.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
model = "gpt-5.3-codex-spark"
|
||||
model = "gpt-5.3-codex"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Review recently changed React files for the repo's critical architecture rules.
|
||||
Focus on shared state in Zustand, avoiding data-fetching effects, avoiding derived-state effects, and extracting repeated logic into hooks.
|
||||
Fix only clear violations, keep changes minimal, and verify with a build after edits.
|
||||
Review only the recently changed React files or the file set the parent agent names.
|
||||
Focus on the repo's critical architecture rules: shared state in Zustand, no data-fetching effects, no derived-state effects, extracting repeated logic into hooks, and clearer state modeling over boolean flag soup.
|
||||
Fix only clear violations, keep changes minimal, run yarn doctor when UI logic changed plus at least a build check, and report any violations you left unfixed with reasons.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
model = "gpt-5.3-codex-spark"
|
||||
model = "gpt-5.3-codex"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Test the Android app on the local emulator, leaving the emulator running when you finish.
|
||||
Build and install only when needed, capture focused diagnostics, and report results in terms of emulator status, build, install, tests, logcat evidence, diagnosis, and artifacts.
|
||||
Prioritize upload automation failures, WebView behavior, and actionable root-cause evidence over broad exploratory testing.
|
||||
Test only the Android workflow the parent agent asks about on the local emulator, leaving the emulator running when you finish unless the parent agent says otherwise.
|
||||
Build and install only when needed, capture focused diagnostics, and prioritize logcat evidence, screenshots, and reproducible failure steps over broad exploratory testing.
|
||||
Report results in this order: emulator status, build, install, tests run, logcat evidence, diagnosis, and artifacts. Focus especially on upload automation and WebView behavior.
|
||||
"""
|
||||
|
||||
@@ -2,6 +2,7 @@ model = "gpt-5.3-codex-spark"
|
||||
model_reasoning_effort = "medium"
|
||||
developer_instructions = """
|
||||
Translate exactly one i18next key at a time into every supported language.
|
||||
Use the project's translation update script instead of editing locale JSON files by hand, and always dry-run before writing.
|
||||
Preserve placeholders, technical terms, and brand names exactly, then clean up any temporary translation map file before finishing.
|
||||
Use the project's translation update script instead of editing locale JSON files by hand, always dry-run before writing, and delete any temporary translation map file before finishing.
|
||||
Preserve placeholders, technical terms, HTML, and brand names exactly.
|
||||
Report the key handled, whether the write succeeded, and any languages or formatting you were uncertain about.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user