Geruyang/GAS-Agent-Skills / GAS-Agent-Skills/gas-decentralized-development
gas-decentralized-development
VerifiedUse when a user requests 分权模式, 分权开发模式技能, 工程开发中的三权分立, separation-of-powers development, or peer agents with separate rulemaking, execution, and adjudication responsibilities.
| File | Kind | Size |
|---|---|---|
| README.zh-CN.md | markdown | 7.9 KB |
| SKILL.md | skill md | 22.7 KB |
| agents/openai.yaml | config | 336 B |
| evals/runtime-scenarios.json | config | 4.9 KB |
| evals/scenarios.json | config | 25.9 KB |
| references/protocol.md | markdown | 35.0 KB |
| references/research-basis.md | markdown | 5.3 KB |
| references/runtime-evidence.md | markdown | 16.7 KB |
| scripts/gas_runtime.py | script | 22.9 KB |
| templates/dispute.example.json | config | 2.4 KB |
| templates/release.example.json | config | 1.6 KB |
| templates/review.example.json | config | 1.7 KB |
| templates/run.example.json | config | 6.3 KB |
| templates/runtime.example.json | config | 5.0 KB |
| templates/task.example.json | config | 6.4 KB |
templates/run.example.json
View on GitHub{
"schema_version": 2,
"example_only": true,
"run_id": "example-team-invitations",
"mode": "decentralized",
"project_root": null,
"goal": "为现有 SaaS 增加团队邀请功能;本文件仅演示契约结构,不授权修改实际项目。",
"approval": {
"approved": false,
"approver_identity": null,
"record": null
},
"contract_version": "draft-1",
"baseline_commit": null,
"runtime": {
"subagents_verified": false,
"isolated_workspaces_verified": false,
"permission_isolation_verified": false,
"atomic_claim_service_verified": false,
"budget_enforcement_verified": false,
"reviewer_identity": null,
"limitations": [
"运行器能力尚未探测;不能把此示例当作已建立的权限或审批。"
],
"three_distinct_identities_verified": false,
"planned_roster_identities_verified": false
},
"budget": {
"max_active_workers": 1,
"max_tool_calls_total": 80,
"reserved_tool_calls_for_review": 20,
"max_task_attempts": 2,
"max_review_rounds": 2,
"max_conflict_rounds": 2,
"max_tokens_total": null,
"max_cost": null,
"currency": null,
"max_elapsed_minutes": null,
"note": "仅为可调整的试运行建议;N=1 默认 max_active_workers=1、max_active_agents=3,实际按已确认 N 与 N+2 登记。全局总额包含完整 N+2 名治理子 agent、主会话通信与机械转接、规划、工具、测试与评审,评审预留不是额外额度。未测量的指标必须报告为未知。",
"max_active_agents": 3
},
"controls": {
"production_release_enabled": false,
"independent_review_required": true,
"require_exact_commit_checks": true,
"protected_paths": [
".github/workflows/**",
"infra/**",
"tests/acceptance/**",
".env*"
],
"blocked_actions": [
"权限或凭证升级",
"绕过受保护检查",
"未经批准的生产发布",
"未经批准的数据删除",
"放宽受保护验收标准"
],
"allowed_external_actions": [],
"enforcement_note": "Skill 是流程约定,不创建沙箱、受保护分支或权限隔离。必须由运行器或项目管理者配置真实限制。"
},
"dispatch": {
"method": "single-executor-self-claim",
"authority": "effective-versioned-contract",
"state_writer": "single-writer-tool",
"fallback": "waiting-for-team-no-main-session-execution",
"notes": "默认 N=1 保留 single-executor-self-claim;N>1 用 peer-executor-self-claim,协商具名任务、开发/测试路径与共享资源后尽可能并行全部就绪独立任务;共享冲突串行。公共记录通过真实原子服务或单写工具登记;工具单写不获得治理权。",
"parallel_method": "peer-executor-self-claim"
},
"state_location": ".gas/runs/example-team-invitations/",
"release_approval": null,
"governance": {
"model": "separation-of-powers",
"agent_count": 3,
"main_session_role": null,
"roles": {
"legislator": {
"display_name": "立规者",
"identity": null,
"epoch": null,
"available": false
},
"executor": {
"display_name": "执行者",
"identity": null,
"epoch": null,
"available": false
},
"arbiter": {
"display_name": "裁衡者",
"identity": null,
"epoch": null,
"available": false
}
},
"role_combination_allowed": false,
"majority_override_allowed": false,
"replacement_authority_record": null,
"note": "三类平级职能,默认 N=1、agent_count=3;实际 N 名具名执行者加立规者、裁衡者,共 N+2 个独立子 agent。主会话仅展示与宿主必要机械转接,不占席、不行使治理或实施权。roles.executor 为默认单执行者兼容记录,多执行者以 execution_team.executor_roster 和 role_hosting.roster 核对,不增加指挥/监督职能。"
},
"contract": {
"status": "DRAFT",
"authored_by_role": "legislator",
"authority_record": null,
"scope": [],
"interfaces": [],
"acceptance_criteria": [],
"executor_feasibility": "NOT_REVIEWED",
"arbiter_authority_check": "NOT_REVIEWED",
"blocking_dispute_ids": [],
"effective_record": null,
"intent_review": {
"verdict": "NOT_RUN",
"reviewer_role": "arbiter",
"reviewer_identity": null,
"reviewer_epoch": null,
"intent_version": null,
"contract_version": "draft-1",
"source_records": [],
"findings": [],
"record": null
},
"acceptance_items": [],
"feasibility_evidence_refs": [],
"intent_coverage_matrix": [],
"acceptance_note": "acceptance_criteria 保留原文;acceptance_items 逐项绑定意图、规则、方法、环境与证据要求。生效前补齐验收定义与 PLANNED 计划覆盖;OBSERVED 实测覆盖和最终候选在验收前据实填写,不要求生效前完成产品。示例不是已获准契约。",
"feasibility_trial_permission_ref": null,
"executor_feasibility_records": []
},
"human_intent": {
"version": null,
"source_records": [],
"goals": [],
"constraints": [],
"preferences": [],
"unconfirmed_interpretations": []
},
"runtime_evidence_ref": null,
"main_session": {
"purpose": "progress_display",
"identity": null,
"governance_role": null,
"counts_as_role": false,
"business_execution_allowed": false
},
"role_hosting": {
"all_roles_must_be_subagents": true,
"required_distinct_subagents_minimum": 3,
"required_roles": [
"legislator",
"executor",
"arbiter"
],
"roster": [],
"verified": false,
"note": "required_distinct_subagents_minimum=3 和 required_roles 是 N=1 最低默认配置;实际完整名单、确认及全员就绪须覆盖 execution_team.planned_distinct_subagents=N+2,不能用旧 three_distinct_identities_verified 代替完整名单核对。"
},
"execution_team": {
"executor_count": 1,
"count_source": "default",
"planned_distinct_subagents": 3,
"executor_roster": [],
"assignments": [],
"note": "默认示例未组建;实际按用户指定数量、真实身份、任务/路径/验证归属登记。计划人数=N+2,独立模块尽可能并行;具名执行者同时负责开发及该项测试/验证代码、实际验证和执行监控,协商共享资源,无平级指挥权。"
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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 available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |