Skip to content

Project ACP status carries RedSkills context for host sidebars #3971

Closed

Description

@filipeforattini

What to build

Extend the public Project-scoped ACP status outcome with the compact RedSkills context a development host needs for a project sidebar: drain intent, queue posture, trustworthy Worker summaries, adapter health, and explicit stale/unknown markers. The daemon remains the sole authority; clients receive a typed projection and never inspect sockets, local state files, GitHub, or operational MCP.

Human decisions

  • Redcode may show richer RedSkills context, but it remains a stateless ACP client.
  • Project status may expose Project-safe context; host-global authority and controls remain out of scope.
  • Unknown values must remain unknown rather than being projected as zero.

Acceptance criteria

  • ACP contract tests prove a Project session receives drain, queue, Worker, and freshness context with explicit unknown semantics.
  • Adapter parity tests prove generic ACP and typed Project status preserve equivalent outcomes.
  • Ownership guards reject private socket, state-file, GitHub, and operational MCP reads from adapters.
  • Redskilled and dev typechecks plus focused ACP tests pass.

Current blocker

status: blocked
kind: validation
summary: Validation command pnpm typecheck failed with exitCode 2: @reddb-io/dev:typecheck: $ tsc -p tsconfig.json --noEmit @reddb-io/dev:typecheck: src/project-acp-adapter.ts(21,90): error TS2769: No overload matches this call. @reddb-io/dev:typecheck: Overload 1 of 2, '(operation: "status"): Promise', gave the following error. @reddb-io/dev:typecheck: Argument of type '"status" | "drain" | "stop"' is not assignable to parameter of type '"status"'. @reddb-io/dev:typecheck: Type '"drain"' is not assignable to type '"status"'. @reddb-io/dev:typecheck: Overload 2 of 2, '(operation: "drain" | "stop"): Promise', gave the following error. @reddb-io/dev:typecheck: Argument of type '"status" | "drain" | "stop"' is not assignable to parameter of type '"drain" | "stop"'. @reddb-io/dev:typecheck: Type '"status"' is not assignable to type '"drain" | "stop"'. @reddb-io/dev:typecheck: [ELIFECYCLE] Command failed with exit code 2. Tasks: 15 successful, 16 total Cached:
next: Decide whether to fix forward, change scope, or adjust the acceptance criteria.
parked_at: 1786981667

Activity

  1. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK claim by worker 7e60bc642fef:hYKO3 (runner codex).

  2. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK worker 7e60bc642fef:hYKO3 conceded this issue (released the claim it held).

  3. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK claim by worker 7e60bc642fef:hW499 (runner codex).

  4. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK worker 7e60bc642fef:hW499 conceded this issue (released the claim it held).

  5. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK claim by worker 7e60bc642fef:hUCPB (runner codex).

  6. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK worker 7e60bc642fef:hUCPB conceded this issue (released the claim it held).

  7. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK claim by worker 7e60bc642fef:hKGMJ (runner codex).

  8. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK worker 7e60bc642fef:hKGMJ conceded this issue (released the claim it held).

  9. added
    origin:externalAuthor lacks repository write access — held for maintainer /approve-external
    on Aug 17, 2026
  10. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    /approve-external

  11. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK claim by worker 7e60bc642fef:hUYYK (runner codex).

  12. 12 remaining items

  13. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 Re-seed trail — #3971 on afk/3971-project-acp-status-carries-redskills-con, lane /afk.

    Rounds spent: 4/4. A Re-seed re-instructs the implementer in place —
    same Worker, same Worktree, same branch — after a gate stage blocked the work.

    round trigger what it was asked to fix
    1/4 gate-stage (gate) 🤖 /afk: feedback machine gate failed after DONE; correction retry 1/3.
    2/4 tier-escalation (tier) 🤖 /afk: complex-tier feedback failed for #3971; re-seeding on the think tier before terminal validation routing.
    3/4 gate-stage (gate) 🤖 /afk: feedback machine gate failed after DONE; correction retry 2/3.
    4/4 gate-stage (gate) 🤖 /afk: feedback machine gate failed after DONE; correction retry 3/3.

    The Worker's branch and iteration log are the source of truth; this is a derived projection.

    🛑 Parked — blocked:validation. The Re-seed budget is exhausted with work still
    outstanding, so a human owns it from here. This pull request stays OPEN: a validation park is
    precisely the moment the diff must be readable.

    Evidence at park time

    scope: cone [`apps/dev`, `apps/redskilled`]
    {"schema":"red.afk.validation.v1","name":"feedback:pnpm typecheck","status":"failed","command":"pnpm typecheck","exitCode":2,"durationMs":27,"summary":"@reddb-io/dev:typecheck: $ tsc -p tsconfig.json --noEmit @reddb-io/dev:typecheck: src/project-acp-adapter.ts(21,90): error TS2769: No overload matches this call. @reddb-io/dev:typecheck:   Overload 1 of 2, '(operation: \"status\"): Promise<RedskillsProjectStatusSnapshot>', gave the following error. @reddb-io/dev:typecheck:     Argument of type '\"status\" | \"drain\" | \"stop\"' is not assignable to parameter of type '\"status\"'. @reddb-io/dev:typecheck:       Type '\"drain\"' is not assignable to type '\"status\"'. @reddb-io/dev:typecheck:   Overload 2 of 2, '(operation: \"drain\" | \"stop\"): Promise<RedskillsProjectControlSnapshot>', gave the following error. @reddb-io/dev:typecheck:     Argument of type '\"status\" | \"drain\" | \"stop\"' is not assignable to parameter of type '\"drain\" | \"stop\"'. @reddb-io/dev:typecheck:       Type '\"status\"' is not assignable to type '\"drain\" | \"stop\"'. @reddb-io/dev:typecheck: [ELIFECYCLE] Command failed with exit code 2.   Tasks:    15 successful, 16 total Cached:    ","resources":{"source":"cgroup-v2","sampled_before":"2026-08-17T15:47:08.920Z","sampled_after":"2026-08-17T15:47:35.143Z","memory_current_before_bytes":543326208,"memory_current_after_bytes":558297088,"memory_peak_bytes":2736197632,"memory_max_bytes":2736193536,"cpu_usage_delta_usec":48006100,"cpu_throttled_delta_usec":0,"pids_peak":308,"memory_events_delta":{},"pids_events_delta":{}}}
    
  14. added
    blocked:validationAFK terminal-failure reason (observability)
    and removed
    running/afk claimed; inner agent executing
    on Aug 17, 2026
  15. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor
    worker `hIT2P` · status: blocked · duration: 26m14s · diff: feedback · attempt: 5
    notes

    Feedback validation failed after the inner agent emitted DONE. The worker branch was not merged. the checks failed on a healthy environment and the branch repair budget is exhausted. Post-DONE branch repair budget exhausted (3/3). 0/2 environment rounds consumed.

    validation

    scope: cone [apps/dev, apps/redskilled]
    {"schema":"red.afk.validation.v1","name":"feedback:pnpm typecheck","status":"failed","command":"pnpm typecheck","exitCode":2,"durationMs":27,"summary":"@reddb-io/dev:typecheck: $ tsc -p tsconfig.json --noEmit @reddb-io/dev:typecheck: src/project-acp-adapter.ts(21,90): error TS2769: No overload matches this call. @reddb-io/dev:typecheck: Overload 1 of 2, '(operation: "status"): Promise', gave the following error. @reddb-io/dev:typecheck: Argument of type '"status" | "drain" | "stop"' is not assignable to parameter of type '"status"'. @reddb-io/dev:typecheck: Type '"drain"' is not assignable to type '"status"'. @reddb-io/dev:typecheck: Overload 2 of 2, '(operation: "drain" | "stop"): Promise', gave the following error. @reddb-io/dev:typecheck: Argument of type '"status" | "drain" | "stop"' is not assignable to parameter of type '"drain" | "stop"'. @reddb-io/dev:typecheck: Type '"status"' is not assignable to type '"drain" | "stop"'. @reddb-io/dev:typecheck: [ELIFECYCLE] Command failed with exit code 2. Tasks: 15 successful, 16 total Cached: ","resources":{"source":"cgroup-v2","sampled_before":"2026-08-17T15:47:08.920Z","sampled_after":"2026-08-17T15:47:35.143Z","memory_current_before_bytes":543326208,"memory_current_after_bytes":558297088,"memory_peak_bytes":2736197632,"memory_max_bytes":2736193536,"cpu_usage_delta_usec":48006100,"cpu_throttled_delta_usec":0,"pids_peak":308,"memory_events_delta":{},"pids_events_delta":{}}}

    diff

    live branch: afk/3971-project-acp-status-carries-redskills-con
    local worktree: [REDACTED_HOME]/workspace/red-skills/.red/tmp/workers/hIT2P/3971

  16. filipeforattini commented on Aug 17, 2026

    @filipeforattini
    ContributorAuthor

    🤖 AFK worker 7e60bc642fef:hIT2P conceded this issue (released the claim it held).

  17. added a commit that references this issue on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    origin:externalAuthor lacks repository write access — held for maintainer /approve-externalpriority:highUrgent / high-impacttype:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions