Repository navigation
Fix competition closeout, capacity and Ops workflows; enforce acceptance gates - #4
Merged
Merged
Conversation
…loseout Add the pentest category, the backend/pentest domain store (goals, assets, findings, evidence, coverage, reports) and its Alembic migration, wired through the existing Member/AgentRuntime Harness with a goal-driven planning policy. Add the Pentest workspace and the exploration/asset coverage graphs. Move the fixed GZCTF and TSecBench workflows into backend/platform/<platform> and keep ops/presets as the compatible registration entry point. Finish multi-flag platform challenges: - a platform_flags project accepts every distinct flag of the challenge and only locks the final flag once the platform closes it; - a competition member no longer writes the goal edge before the platform verdict, so one accepted flag cannot finish the challenge early; - a competition member releases its ZeroMQ recon subscriber when its task ends, so a later cyclic GC cannot block the interpreter in zmq_ctx_term; - recon broadcasts addressed to a peer are ignored instead of crashing the receiving member. Extend the transport, platform-verdict and orchestration regressions, run the full suite, browser tests and the deterministic browser E2E, and record the verification in plan.md.
…test second seats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct competition verdicts previously marked challenges solved and queued writeups before local flag verification committed. Duplicate completion requests could also deadlock with background postprocess workers. Closeout now commits the verified flag, solved state and writeup together, retains failed closeouts for recovery, and locks projects before jobs. Claim/recovery skips projects held by concurrent completion.
Also binds each Ops session to one named workflow, supports visible Unicode/multiline answers, separates local/container capacity and hot limits, and hardens instance recovery and bounded writeup retries.
Adds isolated PostgreSQL tests, coverage floors/baseline, deterministic browser Compose E2E and a read-only live competition monitor. CI runs full Ruff and uploads test/coverage diagnostics.
Validation on 3b11f63: all three required checks passed in https://github.com/PureStream108/IPC_CTFAgent/actions/runs/38552346159. Hosted pytest: 775 passed, 2 optional Playwright skips; Agent/Competition line coverage 81.52%/82.73%, above preserved 81.33%/80.93% baselines. Native PostgreSQL isolation, full Ruff, migration checks, browser E2E, task-image/C5/browser policy and AI CPU smoke passed. Browser E2E verified score/writeup completion, released seats and zero collaboration backlog.
The repository rules require test, e2e and task-image. This draft awaits real 20-challenge acceptance; the monitoring environment currently has no confirmed workflow. The live run will only observe and record bugs/recovery, with no manual remediation.