[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M778AFH4XTXERK8T9NJ8YP85":3,"skill-same:01M778AFH4XTXERK8T9NJ8YP85":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M778AFH4XTXERK8T9NJ8YP85","constraint-engine",null,"Learn from consequences, not instructions — generate and enforce constraints from experience","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fconstraint-engine\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: constraint-engine\nversion: 1.3.0\ndescription: Learn from consequences, not instructions — generate and enforce constraints from experience\nauthor: Live Neon \u003Chello@liveneon.ai>\nhomepage: https:\u002F\u002Fgithub.com\u002Flive-neon\u002Fskills\u002Ftree\u002Fmain\u002Fagentic\u002Fconstraint-engine\nrepository: leegitw\u002Fconstraint-engine\nlicense: MIT\ntags: [agentic, guardrails, enforcement, rules, circuit-breaker, self-improving, prevention, validation]\nlayer: core\nstatus: active\nalias: ce\nmetadata:\n  openclaw:\n    requires:\n      config:\n        - .openclaw\u002Fconstraint-engine.yaml\n        - .claude\u002Fconstraint-engine.yaml\n      workspace:\n        - output\u002Fconstraints\u002F\n        - output\u002Fhooks\u002F\n---\n\n# constraint-engine (制約)\n\nUnified skill for constraint generation, pre-action checking, circuit breaker management,\nand constraint lifecycle. Consolidates 7 granular skills into a single enforcement system.\n\n**Trigger**: 行動前∨閾値到達 (pre-action or threshold reached)\n\n**Source skills**: constraint-generator, circuit-breaker, emergency-override, constraint-lifecycle, constraint-versioning, positive-framer (partial), contextual-injection (partial)\n\n## Installation\n\n```bash\nopenclaw install leegitw\u002Fconstraint-engine\n```\n\n**Dependencies**: `leegitw\u002Ffailure-memory` (for eligibility data)\n\n```bash\n# Install with dependencies\nopenclaw install leegitw\u002Fcontext-verifier\nopenclaw install leegitw\u002Ffailure-memory\nopenclaw install leegitw\u002Fconstraint-engine\n```\n\n**Standalone usage**: Requires failure-memory for constraint generation from observations.\nFor full lifecycle management, install the complete suite (see [Neon Agentic Suite](..\u002FREADME.md)).\n\n**Data handling**: This skill operates within your agent's trust boundary. When triggered,\nit uses your agent's configured model for constraint checking and generation. No external APIs\nor third-party services are called. Results are written to `output\u002Fconstraints\u002F` in your workspace.\n\n## What This Solves\n\nInstructions get ignored. Rules get forgotten. Documentation goes unread. This skill takes a different approach — constraints generated from actual failures:\n\n1. **Generate constraints** from observations that meet the eligibility threshold (`R≥3 ∧ C≥2`)\n2. **Enforce constraints** at runtime with a circuit breaker (CLOSED → OPEN → HALF-OPEN)\n3. **Manage lifecycle** from proposal through adoption to retirement\n\n**The insight**: A constraint born from \"this actually broke\" carries more weight than \"this might break.\" Consequences teach better than instructions.\n\n## Usage\n\n```\n\u002Fce \u003Csub-command> [arguments]\n```\n\n## Sub-Commands\n\n| Command | CJK | Logic | Trigger |\n|---------|-----|-------|---------|\n| `\u002Fce check` | 検査 | action→constraints[]→pass∨block | Next Steps (auto) |\n| `\u002Fce generate` | 生成 | eligible(obs)→constraint | Next Steps (auto) |\n| `\u002Fce status` | 状態 | active[], circuit∈{CLOSED,OPEN,HALF} | Explicit |\n| `\u002Fce override` | 上書 | constraint→bypass(temp), audit.log++ | Explicit |\n| `\u002Fce lifecycle` | 周期 | state∈{draft→active→retiring→retired} | Explicit |\n| `\u002Fce version` | 版本 | constraint→v++, history.preserve | Explicit |\n| `\u002Fce threshold` | 閾値 | user∨context→custom_threshold | Explicit |\n\n## Arguments\n\n### \u002Fce check\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| action | Yes | Action to check against constraints |\n| --severity | No | Minimum severity to check: `critical`, `important`, `minor` (default: all) |\n\n### \u002Fce generate\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| observation | Yes | Observation ID or pattern to generate constraint from |\n| --force | No | Generate even if eligibility criteria not met |\n\n### \u002Fce status\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| --circuit | No | Show circuit breaker status only |\n| --active | No | Show active constraints only |\n\n### \u002Fce override\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID to override |\n| reason | Yes | Reason for override (logged for audit) |\n| --duration | No | Override duration (default: \"session\") |\n\n### \u002Fce lifecycle\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID |\n| state | Yes | Target state: `draft`, `active`, `retiring`, `retired` |\n\n### \u002Fce version\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID |\n| --bump | No | Version bump type: `major`, `minor`, `patch` (default: minor) |\n\n### \u002Fce threshold\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| --R | No | Custom recurrence threshold (default: 3) |\n| --C | No | Custom confirmation threshold (default: 2) |\n| --reset | No | Reset to default thresholds |\n\n## Configuration\n\nConfiguration is loaded from (in order of precedence):\n1. `.openclaw\u002Fconstraint-engine.yaml` (OpenClaw standard)\n2. `.claude\u002Fconstraint-engine.yaml` (Claude Code compatibility)\n3. Defaults (built-in)\n\n```yaml\n# .openclaw\u002Fconstraint-engine.yaml\nthresholds:\n  R: 3                       # Recurrence threshold (default: 3)\n  C: 2                       # Confirmation threshold (default: 2)\n  false_positive_max: 0.2    # Max D\u002F(C+D) ratio (default: 0.2)\ncircuit_breaker:\n  critical_threshold: 3      # Violations to trip for CRITICAL\n  important_threshold: 5     # Violations to trip for IMPORTANT\n  minor_threshold: 10        # Violations to trip for MINOR\n  window_days: 30            # Violation window (default: 30 days)\nlifecycle:\n  review_reminder_days: 80   # Days before 90-day review to remind\n```\n\n## Core Logic\n\n### Eligibility Criteria\n\nObservation becomes eligible for constraint when:\n\n```\nR≥3 ∧ C≥2 ∧ D\u002F(C+D)\u003C0.2 ∧ sources≥2\n```\n\n| Criterion | Meaning |\n|-----------|---------|\n| R≥3 | At least 3 recurrences |\n| C≥2 | At least 2 human confirmations |\n| D\u002F(C+D)\u003C0.2 | False positive rate under 20% |\n| sources≥2 | Observed by at least 2 different sources |\n\n### Positive Reframing\n\nConstraints are automatically reframed positively:\n\n| Negative | Positive |\n|----------|----------|\n| \"Don't commit without tests\" | \"Always run tests before commit\" |\n| \"Don't push to main directly\" | \"Always create PR for main changes\" |\n| \"Don't deploy without review\" | \"Always get code review before deployment\" |\n| \"Don't skip migrations\" | \"Always run database migrations before release\" |\n\n### Example: Code Review Constraint\n\n```\n[CHECK BLOCKED] deploy production\nConstraint violated: CON-20260212-005\n  \"Always get code review approval before production deployment\"\n  Severity: CRITICAL\n\nAction: Request review via \u002Fro twin, then retry deployment.\n```\n\n### Example: Deployment Gate Constraint\n\n```\n[CHECK PASSED] deploy staging\nActive constraints checked: 3\n  ✓ CON-20260210-001: Tests pass\n  ✓ CON-20260211-002: Staging smoke test\n  ✓ CON-20260212-003: Database migration verified\nAll constraints satisfied. Proceeding to staging.\n```\n\n### Circuit Breaker States\n\n| State | Meaning | Behavior |\n|-------|---------|----------|\n| CLOSED | Normal operation | Constraints enforced |\n| OPEN | Circuit tripped | Block all related actions |\n| HALF-OPEN | Testing recovery | Allow limited actions |\n\n### Circuit Breaker Thresholds\n\n| Severity | Threshold | Window |\n|----------|-----------|--------|\n| CRITICAL | 3 violations | 30 days |\n| IMPORTANT | 5 violations | 30 days |\n| MINOR | 10 violations | 30 days |\n\n### Constraint Lifecycle\n\n```\ndraft → active → retiring → retired\n  │        │         │\n  └────────┴─────────┴── 90-day review gates\n```\n\n## Output\n\n### \u002Fce check output (pass)\n\n```\n[CHECK PASSED] git commit -m \"feature\"\nActive constraints checked: 5\nAll constraints satisfied.\n```\n\n### \u002Fce check output (block)\n\n```\n[CHECK BLOCKED] git commit -m \"feature\"\n\nConstraint violated: CON-20260210-001\n  \"Always run tests before commit\"\n  Severity: CRITICAL\n\nAction: Run tests first, then retry commit.\nOverride: \u002Fce override CON-20260210-001 \"emergency hotfix\"\n```\n\n### \u002Fce status output\n\n```\n=== Constraint Engine Status ===\n\nCircuit Breaker: CLOSED (healthy)\n\nActive Constraints (5):\n- CON-20260210-001: Always run tests before commit [CRITICAL]\n- CON-20260212-003: Always lint before commit [IMPORTANT]\n- ...\n\nDraft Constraints (2):\n- CON-20260215-001: Pending approval\n\nViolations (30d): 2\n```\n\n### \u002Fce generate output\n\n```\n[CONSTRAINT GENERATED]\n\nFrom: OBS-20260210-003 (lint-before-commit)\nID: CON-20260215-001\nText: \"Always run lint before commit\"\nSeverity: IMPORTANT\nStatus: draft\n\nNext: Review and approve with \u002Fce lifecycle CON-20260215-001 active\n```\n\n## Integration\n\n- **Layer**: Core\n- **Depends on**: failure-memory (for eligibility data)\n- **Used by**: governance (for constraint reviews), safety-checks (for enforcement)\n\n## Failure Modes\n\n| Condition | Behavior |\n|-----------|----------|\n| Invalid sub-command | List available sub-commands |\n| Constraint not found | Error with suggestion to search |\n| Ineligible observation | Show missing criteria, suggest \u002Ffm status |\n| Circuit OPEN | Block action, show recovery guidance |\n| Override without reason | Require reason for audit trail |\n\n## Next Steps\n\nAfter invoking this skill:\n\n| Condition | Action |\n|-----------|--------|\n| Constraint generated | Add to `output\u002Fconstraints\u002Fdraft\u002F`, notify user |\n| Constraint activated | Move to `output\u002Fconstraints\u002Factive\u002F` |\n| Action blocked | Log to `output\u002Fhooks\u002Fblocked.log`, explain why |\n| Circuit OPEN | Surface to user with recovery guidance |\n| Override used | Audit log entry, temporary bypass only |\n\n## Workspace Files\n\nThis skill reads\u002Fwrites:\n\n```\noutput\u002F\n├── constraints\u002F\n│   ├── draft\u002F           # Pending constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   ├── active\u002F          # Enforced constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   ├── retired\u002F         # Historical constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   └── metadata.json    # VFM scoring data\n└── hooks\u002F\n    └── blocked.log      # Actions blocked by constraints\n```\n\n## Security Considerations\n\n**What this skill accesses:**\n- Configuration files in `.openclaw\u002Fconstraint-engine.yaml` and `.claude\u002Fconstraint-engine.yaml`\n- Observation data from failure-memory (via `.learnings\u002F` directory)\n- Its own output directories `output\u002Fconstraints\u002F` and `output\u002Fhooks\u002F`\n\n**What this skill does NOT access:**\n- Files outside declared workspace paths\n- System environment variables\n- Network resources or external APIs\n\n**What this skill does NOT do:**\n- Send data to external services\n- Execute arbitrary code\n- Modify files outside its workspace\n\n**Dependency note:**\nThis skill reads observation data from `failure-memory` skill's workspace (`.learnings\u002F`).\nInstall `leegitw\u002Ffailure-memory` for full constraint generation functionality.\nWithout failure-memory, constraint generation will have no observation data to process.\n\n**Audit logging:**\nOverride actions are logged to `output\u002Fhooks\u002Fblocked.log` for audit purposes.\nLogs are stored locally in the workspace only.\n\n## Acceptance Criteria\n\n- [ ] `\u002Fce check` validates action against active constraints\n- [ ] `\u002Fce check` blocks when constraint violated, shows reason\n- [ ] `\u002Fce generate` creates constraint from eligible observation\n- [ ] `\u002Fce generate` applies positive reframing\n- [ ] `\u002Fce status` shows circuit breaker state and active constraints\n- [ ] `\u002Fce override` creates temporary bypass with audit log\n- [ ] `\u002Fce lifecycle` transitions constraint through states\n- [ ] `\u002Fce version` increments constraint version preserving history\n- [ ] Circuit breaker trips at severity-appropriate thresholds\n- [ ] Workspace files follow documented structure\n\n---\n\n*Consolidated from 7 skills as part of agentic skills consolidation (2026-02-15).*\n","# constraint-engine (制約)\n\nUnified skill for constraint generation, pre-action checking, circuit breaker management,\nand constraint lifecycle. Consolidates 7 granular skills into a single enforcement system.\n\n**Trigger**: 行動前∨閾値到達 (pre-action or threshold reached)\n\n**Source skills**: constraint-generator, circuit-breaker, emergency-override, constraint-lifecycle, constraint-versioning, positive-framer (partial), contextual-injection (partial)\n\n## Installation\n\n```bash\nopenclaw install leegitw\u002Fconstraint-engine\n```\n\n**Dependencies**: `leegitw\u002Ffailure-memory` (for eligibility data)\n\n```bash\n# Install with dependencies\nopenclaw install leegitw\u002Fcontext-verifier\nopenclaw install leegitw\u002Ffailure-memory\nopenclaw install leegitw\u002Fconstraint-engine\n```\n\n**Standalone usage**: Requires failure-memory for constraint generation from observations.\nFor full lifecycle management, install the complete suite (see [Neon Agentic Suite](..\u002FREADME.md)).\n\n**Data handling**: This skill operates within your agent's trust boundary. When triggered,\nit uses your agent's configured model for constraint checking and generation. No external APIs\nor third-party services are called. Results are written to `output\u002Fconstraints\u002F` in your workspace.\n\n## What This Solves\n\nInstructions get ignored. Rules get forgotten. Documentation goes unread. This skill takes a different approach — constraints generated from actual failures:\n\n1. **Generate constraints** from observations that meet the eligibility threshold (`R≥3 ∧ C≥2`)\n2. **Enforce constraints** at runtime with a circuit breaker (CLOSED → OPEN → HALF-OPEN)\n3. **Manage lifecycle** from proposal through adoption to retirement\n\n**The insight**: A constraint born from \"this actually broke\" carries more weight than \"this might break.\" Consequences teach better than instructions.\n\n## Usage\n\n```\n\u002Fce \u003Csub-command> [arguments]\n```\n\n## Sub-Commands\n\n| Command | CJK | Logic | Trigger |\n|---------|-----|-------|---------|\n| `\u002Fce check` | 検査 | action→constraints[]→pass∨block | Next Steps (auto) |\n| `\u002Fce generate` | 生成 | eligible(obs)→constraint | Next Steps (auto) |\n| `\u002Fce status` | 状態 | active[], circuit∈{CLOSED,OPEN,HALF} | Explicit |\n| `\u002Fce override` | 上書 | constraint→bypass(temp), audit.log++ | Explicit |\n| `\u002Fce lifecycle` | 周期 | state∈{draft→active→retiring→retired} | Explicit |\n| `\u002Fce version` | 版本 | constraint→v++, history.preserve | Explicit |\n| `\u002Fce threshold` | 閾値 | user∨context→custom_threshold | Explicit |\n\n## Arguments\n\n### \u002Fce check\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| action | Yes | Action to check against constraints |\n| --severity | No | Minimum severity to check: `critical`, `important`, `minor` (default: all) |\n\n### \u002Fce generate\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| observation | Yes | Observation ID or pattern to generate constraint from |\n| --force | No | Generate even if eligibility criteria not met |\n\n### \u002Fce status\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| --circuit | No | Show circuit breaker status only |\n| --active | No | Show active constraints only |\n\n### \u002Fce override\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID to override |\n| reason | Yes | Reason for override (logged for audit) |\n| --duration | No | Override duration (default: \"session\") |\n\n### \u002Fce lifecycle\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID |\n| state | Yes | Target state: `draft`, `active`, `retiring`, `retired` |\n\n### \u002Fce version\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| constraint | Yes | Constraint ID |\n| --bump | No | Version bump type: `major`, `minor`, `patch` (default: minor) |\n\n### \u002Fce threshold\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| --R | No | Custom recurrence threshold (default: 3) |\n| --C | No | Custom confirmation threshold (default: 2) |\n| --reset | No | Reset to default thresholds |\n\n## Configuration\n\nConfiguration is loaded from (in order of precedence):\n1. `.openclaw\u002Fconstraint-engine.yaml` (OpenClaw standard)\n2. `.claude\u002Fconstraint-engine.yaml` (Claude Code compatibility)\n3. Defaults (built-in)\n\n```yaml\n# .openclaw\u002Fconstraint-engine.yaml\nthresholds:\n  R: 3                       # Recurrence threshold (default: 3)\n  C: 2                       # Confirmation threshold (default: 2)\n  false_positive_max: 0.2    # Max D\u002F(C+D) ratio (default: 0.2)\ncircuit_breaker:\n  critical_threshold: 3      # Violations to trip for CRITICAL\n  important_threshold: 5     # Violations to trip for IMPORTANT\n  minor_threshold: 10        # Violations to trip for MINOR\n  window_days: 30            # Violation window (default: 30 days)\nlifecycle:\n  review_reminder_days: 80   # Days before 90-day review to remind\n```\n\n## Core Logic\n\n### Eligibility Criteria\n\nObservation becomes eligible for constraint when:\n\n```\nR≥3 ∧ C≥2 ∧ D\u002F(C+D)\u003C0.2 ∧ sources≥2\n```\n\n| Criterion | Meaning |\n|-----------|---------|\n| R≥3 | At least 3 recurrences |\n| C≥2 | At least 2 human confirmations |\n| D\u002F(C+D)\u003C0.2 | False positive rate under 20% |\n| sources≥2 | Observed by at least 2 different sources |\n\n### Positive Reframing\n\nConstraints are automatically reframed positively:\n\n| Negative | Positive |\n|----------|----------|\n| \"Don't commit without tests\" | \"Always run tests before commit\" |\n| \"Don't push to main directly\" | \"Always create PR for main changes\" |\n| \"Don't deploy without review\" | \"Always get code review before deployment\" |\n| \"Don't skip migrations\" | \"Always run database migrations before release\" |\n\n### Example: Code Review Constraint\n\n```\n[CHECK BLOCKED] deploy production\nConstraint violated: CON-20260212-005\n  \"Always get code review approval before production deployment\"\n  Severity: CRITICAL\n\nAction: Request review via \u002Fro twin, then retry deployment.\n```\n\n### Example: Deployment Gate Constraint\n\n```\n[CHECK PASSED] deploy staging\nActive constraints checked: 3\n  ✓ CON-20260210-001: Tests pass\n  ✓ CON-20260211-002: Staging smoke test\n  ✓ CON-20260212-003: Database migration verified\nAll constraints satisfied. Proceeding to staging.\n```\n\n### Circuit Breaker States\n\n| State | Meaning | Behavior |\n|-------|---------|----------|\n| CLOSED | Normal operation | Constraints enforced |\n| OPEN | Circuit tripped | Block all related actions |\n| HALF-OPEN | Testing recovery | Allow limited actions |\n\n### Circuit Breaker Thresholds\n\n| Severity | Threshold | Window |\n|----------|-----------|--------|\n| CRITICAL | 3 violations | 30 days |\n| IMPORTANT | 5 violations | 30 days |\n| MINOR | 10 violations | 30 days |\n\n### Constraint Lifecycle\n\n```\ndraft → active → retiring → retired\n  │        │         │\n  └────────┴─────────┴── 90-day review gates\n```\n\n## Output\n\n### \u002Fce check output (pass)\n\n```\n[CHECK PASSED] git commit -m \"feature\"\nActive constraints checked: 5\nAll constraints satisfied.\n```\n\n### \u002Fce check output (block)\n\n```\n[CHECK BLOCKED] git commit -m \"feature\"\n\nConstraint violated: CON-20260210-001\n  \"Always run tests before commit\"\n  Severity: CRITICAL\n\nAction: Run tests first, then retry commit.\nOverride: \u002Fce override CON-20260210-001 \"emergency hotfix\"\n```\n\n### \u002Fce status output\n\n```\n=== Constraint Engine Status ===\n\nCircuit Breaker: CLOSED (healthy)\n\nActive Constraints (5):\n- CON-20260210-001: Always run tests before commit [CRITICAL]\n- CON-20260212-003: Always lint before commit [IMPORTANT]\n- ...\n\nDraft Constraints (2):\n- CON-20260215-001: Pending approval\n\nViolations (30d): 2\n```\n\n### \u002Fce generate output\n\n```\n[CONSTRAINT GENERATED]\n\nFrom: OBS-20260210-003 (lint-before-commit)\nID: CON-20260215-001\nText: \"Always run lint before commit\"\nSeverity: IMPORTANT\nStatus: draft\n\nNext: Review and approve with \u002Fce lifecycle CON-20260215-001 active\n```\n\n## Integration\n\n- **Layer**: Core\n- **Depends on**: failure-memory (for eligibility data)\n- **Used by**: governance (for constraint reviews), safety-checks (for enforcement)\n\n## Failure Modes\n\n| Condition | Behavior |\n|-----------|----------|\n| Invalid sub-command | List available sub-commands |\n| Constraint not found | Error with suggestion to search |\n| Ineligible observation | Show missing criteria, suggest \u002Ffm status |\n| Circuit OPEN | Block action, show recovery guidance |\n| Override without reason | Require reason for audit trail |\n\n## Next Steps\n\nAfter invoking this skill:\n\n| Condition | Action |\n|-----------|--------|\n| Constraint generated | Add to `output\u002Fconstraints\u002Fdraft\u002F`, notify user |\n| Constraint activated | Move to `output\u002Fconstraints\u002Factive\u002F` |\n| Action blocked | Log to `output\u002Fhooks\u002Fblocked.log`, explain why |\n| Circuit OPEN | Surface to user with recovery guidance |\n| Override used | Audit log entry, temporary bypass only |\n\n## Workspace Files\n\nThis skill reads\u002Fwrites:\n\n```\noutput\u002F\n├── constraints\u002F\n│   ├── draft\u002F           # Pending constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   ├── active\u002F          # Enforced constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   ├── retired\u002F         # Historical constraints\n│   │   └── CON-YYYYMMDD-XXX.md\n│   └── metadata.json    # VFM scoring data\n└── hooks\u002F\n    └── blocked.log      # Actions blocked by constraints\n```\n\n## Security Considerations\n\n**What this skill accesses:**\n- Configuration files in `.openclaw\u002Fconstraint-engine.yaml` and `.claude\u002Fconstraint-engine.yaml`\n- Observation data from failure-memory (via `.learnings\u002F` directory)\n- Its own output directories `output\u002Fconstraints\u002F` and `output\u002Fhooks\u002F`\n\n**What this skill does NOT access:**\n- Files outside declared workspace paths\n- System environment variables\n- Network resources or external APIs\n\n**What this skill does NOT do:**\n- Send data to external services\n- Execute arbitrary code\n- Modify files outside its workspace\n\n**Dependency note:**\nThis skill reads observation data from `failure-memory` skill's workspace (`.learnings\u002F`).\nInstall `leegitw\u002Ffailure-memory` for full constraint generation functionality.\nWithout failure-memory, constraint generation will have no observation data to process.\n\n**Audit logging:**\nOverride actions are logged to `output\u002Fhooks\u002Fblocked.log` for audit purposes.\nLogs are stored locally in the workspace only.\n\n## Acceptance Criteria\n\n- [ ] `\u002Fce check` validates action against active constraints\n- [ ] `\u002Fce check` blocks when constraint violated, shows reason\n- [ ] `\u002Fce generate` creates constraint from eligible observation\n- [ ] `\u002Fce generate` applies positive reframing\n- [ ] `\u002Fce status` shows circuit breaker state and active constraints\n- [ ] `\u002Fce override` creates temporary bypass with audit log\n- [ ] `\u002Fce lifecycle` transitions constraint through states\n- [ ] `\u002Fce version` increments constraint version preserving history\n- [ ] Circuit breaker trips at severity-appropriate thresholds\n- [ ] Workspace files follow documented structure\n\n---\n\n*Consolidated from 7 skills as part of agentic skills consolidation (2026-02-15).*\n",{"name":5,"tags":24,"alias":33,"layer":34,"author":35,"status":36,"license":15,"version":37,"homepage":38,"metadata":39,"repository":48,"description":7},[25,26,27,28,29,30,31,32],"agentic","guardrails","enforcement","rules","circuit-breaker","self-improving","prevention","validation","ce","core","Live Neon \u003Chello@liveneon.ai>","active","1.3.0","https:\u002F\u002Fgithub.com\u002Flive-neon\u002Fskills\u002Ftree\u002Fmain\u002Fagentic\u002Fconstraint-engine",{"openclaw":40},{"requires":41},{"config":42,"workspace":45},[43,44],".openclaw\u002Fconstraint-engine.yaml",".claude\u002Fconstraint-engine.yaml",[46,47],"output\u002Fconstraints\u002F","output\u002Fhooks\u002F","leegitw\u002Fconstraint-engine","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fconstraint-engine",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill constraint-engine",{"tool":64,"command":65},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill constraint-engine",{"tool":67,"command":68},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill constraint-engine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fconstraint-engine\u002FSKILL.md",true,[],[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]