oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

Verdict: NOT READY. Reviewed 5885855 against origin/main...HEAD. Read-only; no tests, providers, database queries or writes.

Round-1 findings:

  1. RESOLVED — mutation authority. Creation deploys only the runner-written placeholder. Renew, ship and promote each have their own instance authorization immediately before invocation (preview.go:474, 505, 517).
  1. RESOLVED — redirect exposure. Repository content never enters bundled deploy/watch. The credential-free marker probe refuses redirects, bounds reads, requires HTTP 200 and compares exact task/candidate/step/attempt/digest (preview.go:548).
  1. RESOLVED — start/digest authorization. Current attempt, assignment and withdrawal are checked; preview authorization additionally verifies owner, approval, newest candidate and persisted digest. Config is reread (runners.go:584, preview.go:84).
  1. RESOLVED — export. No repository code executes in the preview path. Export reads regular git blobs, rejects unsafe paths, enforces limits, creates private files and excludes the marker from the digest (preview.go:197).
  1. PARTLY — uncertain outcomes. Ordinary restart reconciliation sends no mutations. However, withdrawn reports discard their outcome and invoke replacement, permitting another attempt after possible publication (tasks.go:976, runners.go:81). Cancelled restart recovery also skips reconciliation (step.go:387). Preserve unconfirmed outcomes and prohibit replacement.
  1. RESOLVED — lifecycle safeguards. Fixed task app; kept/Trash refuse before mutation; renewal precedes upload; cap refusal stops creation (preview.go:463).
  1. RESOLVED — uniqueness/ancillary behavior. Full step-plus-attempt versions, candidate deduplication and progress exclusion (preview.go:508, chat/preview.go:43, review.go:50).
  1. RESOLVED — old protocols. Dispatch encoding refuses previews below 8; reconnect fences queued/running previews; publish checks cannot downgrade (runners.go:414, preview.go:184, link.go:247).
  1. RESOLVED — budget wording. Platform code confirms 50 attempts per principal; explicitly named creation has no retry loop (authcli.go:124, temporary.go:153).

NEW Important:

  • Credential protections are incomplete. The loader follows symlinks and accepts permissions other than exactly 0600; decoder errors are logged verbatim, potentially exposing secret-bearing unknown keys (preview.go:56). PreviewCredentialPath is absent from protected paths (connections.go:30); placing it beneath a mounted directory can expose it inside the sandbox. Enforce private-file validation, redact errors and protect its canonical path.
  • Empty preview accounts cannot publish. Carlos prints “no apps in this account” without a header (temporary.go:320); the parser requires a header and returns preview_state (preview.go:355). Recognize the successful empty-list response explicitly.