Skip to content

MongLong0214/frontier-simplify / skills/frontier-simplify-review

frontier-simplify-review

Unverified

Review a change for concrete defects, check them with a refuter and a reproducer, then check repairs and their regressions against the preserved review. Use for substantial PR reviews or repeated review rounds. Stops automatic review after at most three attempts per PR and names the calling agent's next action; does not guarantee safe merge convergence.

scripts/lib/portability.py

View on GitHub
"""Consumer identities are host configuration, never skill content."""
import json
from pathlib import Path
import sys


def check(directory, config):
    """No configured consumer's identity may appear in the portable skill.

    There was a `"self"` exception here, for the repository the skill lives in: its name is the
    skill's own name, so registering it as a consumer would forbid the skill from mentioning
    itself. That registration is gone -- installing the consumer hook on this repository made
    every commit here a full run of the skill's own suite -- and the exception goes with it. An
    exception nobody uses is worse than none: the next reader takes it for a requirement.
    """
    consumers = json.loads(Path(config).read_text())['consumers']
    markers = set()
    for c in consumers:
        markers.add(str(c['repository']).lower())
        markers.add(Path(c['repository']).name.lower())
        markers.update(str(m).lower() for m in c.get('markers', []) if str(m))
    markers.discard('')
    for path in Path(directory).rglob('*'):
        # A .pyc embeds the absolute path it was compiled from, so a stale __pycache__ makes
        # this check fail on a build artifact that is git-ignored and never shipped.
        if '__pycache__' in path.parts:
            continue
        if path.is_file():
            content = path.read_bytes().lower()
            for marker in markers:
                if marker.encode() in content:
                    raise ValueError(f'GUARD FAIL [portability] {path.relative_to(directory)} contains a configured consumer identity')


if __name__ == '__main__':
    try:
        check(sys.argv[1], sys.argv[2])
    except (ValueError, OSError, KeyError) as e:
        sys.exit(str(e))
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall