Skip to content

CRITICAL: Fix task permission inheritance - child config should override parent #187

@randomm

Description

@randomm

Problem

Current implementation makes subagents inherit parent permissions, but they should use their OWN config.

Current Behavior (WRONG)

  • PM spawns Developer → Developer inherits PM's permissions
  • Developer can spawn ops/explore (bypassing quality gates)

Required Behavior

  • Each agent uses its OWN permission.task config
  • Parent permissions don't affect child's delegation rights
  • Developer can only spawn adversarial-developer (per its own config)

Implementation Notes

  • Update .fork-features/manifest.json permission-bubbling feature
  • Change from inheritance model to authoritative config model
  • Each agent's permission.task config is authoritative for its delegation

Acceptance Criteria

  • Subagent's permission.task from JSON config is evaluated when THAT subagent tries to spawn another subagent
  • Parent's task permissions do not affect child's delegation rights
  • Each agent can only spawn agents explicitly allowed in its OWN config
  • Deny rules in child config are enforced even if parent has broader permissions
  • .fork-features/manifest.json updated with implementation details

Priority: HIGH - Blocking quality gate enforcement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions