Skip to content

fix: remove assets/gep/events.jsonl from forbidden_paths#149

Closed
toller892 wants to merge 1 commit intoEvoMap:mainfrom
toller892:fix/forbidden-paths-events-jsonl
Closed

fix: remove assets/gep/events.jsonl from forbidden_paths#149
toller892 wants to merge 1 commit intoEvoMap:mainfrom
toller892:fix/forbidden-paths-events-jsonl

Conversation

@toller892
Copy link
Contributor

Fixes #148

Problem

The gene_gep_innovate_from_opportunity Gene's forbidden_paths constraint includes assets/gep/events.jsonl, but the solidify process needs to write to this file to record EvolutionEvents. This creates a contradiction that causes solidify to fail with a forbidden_path touched violation.

Solution

Remove assets/gep/events.jsonl from the forbidden_paths list. The file is part of the GEP asset store and should not be forbidden. Critical paths like .git and node_modules remain protected.

Testing

  • Verified the change allows solidify to complete successfully
  • Confirmed other forbidden paths (.git, node_modules) are still protected
  • Tested with multiple evolution cycles on OpenClaw agent

Changes

  • assets/gep/genes.json: Removed assets/gep/events.jsonl from gene_gep_innovate_from_opportunity.constraints.forbidden_paths

@toller892 toller892 force-pushed the fix/forbidden-paths-events-jsonl branch from 69a542d to c88516a Compare February 28, 2026 03:22
The gene_gep_innovate_from_opportunity Gene's forbidden_paths constraint
includes assets/gep/events.jsonl, but the solidify process needs to write
to this file to record EvolutionEvents. This creates a contradiction that
causes solidify to fail with a forbidden_path violation.

This fix removes assets/gep/events.jsonl from the forbidden_paths list,
allowing solidify to complete successfully while still protecting critical
paths like .git and node_modules.

Also removes runtime-specific fields (asset_id, epigenetic_marks, schema_version)
that should be computed/managed at runtime rather than committed to the repository.
@toller892 toller892 force-pushed the fix/forbidden-paths-events-jsonl branch from c88516a to acaf524 Compare February 28, 2026 03:25
@autogame-17
Copy link
Collaborator

Hi @toller892, thank you for identifying this issue and submitting a fix!

We had independently resolved the same problem in our main codebase (commit 09da497) -- removing events.jsonl from forbidden_paths along with replacing node -e validation with a dedicated script for better security.

Your diagnosis was spot-on: the contradiction between forbidden_paths and solidify's need to write to events.jsonl was indeed causing failures. We've added you to the project's acknowledgments for independently catching this bug.

Closing this PR since the fix is already in place. It will be reflected in the next release. Thanks again for your contribution!

@autogame-17 autogame-17 closed this Mar 2, 2026
fmw666 pushed a commit that referenced this pull request Mar 2, 2026
Add LKCY33 (PR #21), hendrixAIDev (PR #68), toller892 (PR #149).
Update onthebigtree, voidborne-d, blackdogcat entries with full contributions.

Co-authored-by: LKCY33 <lkcY33@users.noreply.github.com>
Co-authored-by: Hendrix <hendrix.ai.dev@gmail.com>
Co-authored-by: toller892 <1094086026@qq.com>
Co-authored-by: Yewlne <dev@yewlne.com>
fmw666 pushed a commit that referenced this pull request Mar 11, 2026
Add LKCY33 (PR #21), hendrixAIDev (PR #68), toller892 (PR #149)
to acknowledgments. Update onthebigtree entry with PR #25/#26
contributions. Sync Chinese README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: gene_gep_innovate_from_opportunity forbidden_paths blocks solidify

2 participants