agentleFS
vasceannievasceannie/slopgate/.agents/skills/gitnexus-area-engine/SKILL.md

gitnexus-area-engine

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Engine area of slopgate. 334 symbols across 53 files.

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start here when exploring this area:

    line 33
  2. Distinctive:

    Read key files listed above for implementation details

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Engine

334 symbols | 53 files | Cohesion: 70%

When to Use

  • Working with code in tests/
  • Understanding how assert_bash_negative_case, assert_write_negative_case, test_pi_replace_json_string_edits_block_type_suppression work
  • Modifying engine-related functionality

Key Files

FileSymbols
tests/engine/test_07_type_script_rules_to_baseline_warnings.pytest_linter_shell_edit_denied, test_baseline_cat_no_warn, test_baseline_path_warns, test_baseline_shell_edit_warns, test_config_002_write_denied (+25)
tests/engine/support.py_is_not_denied, assert_bash_negative_case, assert_write_negative_case, _set_skip_paths, enable_failing_post_edit_quality_command (+11)
tests/engine/test_09_find_mutations_not_safe_read_to_remind_pytest_multiprocessing.pytest_find_mutation_on_hook_path_blocked, test_plain_pytest_gets_reminder, test_pytest_with_n_auto_no_reminder, test_pytest_with_n_equals_no_reminder, test_pytest_with_n_number_no_reminder (+9)
tests/engine/test_06_lang_graph_to_py_quality_009.pytest_py_log_001, test_py_quality_009, test_py_type_002, test_docstring_comment_allowed, test_single_comment_allowed (+8)
tests/engine/test_08_py_quality_010_to_sed_not_safe_read.pytest_py_quality_010, test_py_quality_011, test_sed_i_blocked_on_protected_path, test_sed_redirect_blocked_on_protected_path, test_sed_without_redirect_blocked_on_protected_path (+8)
tests/test_flat_file_sibling_packages.py_bash_package_move_command, _patch_payload, _posttool_write, _write_completed_package_move, bash_payload (+8)
tests/engine/test_10_sensitive_data_safe_suffixes_to_sensitive_data_safe_suffix_edge_cases.pytest_docker_files_not_blocked, test_dotenv_package_not_blocked, test_env_in_unrelated_path_not_blocked, test_key_example_allowed, test_npmrc_example_allowed (+8)
src/slopgate/engine/_fingerprints.py_cached_file_digest, _existing_files, _file_digest, _file_stat_key, guidance_fingerprint (+8)
tests/engine/test_12_enforcement_modes.pytest_enrolled_repo_subdirectory_stays_repo_strict, test_enrolled_repo_with_noqualitygate_is_relaxed, test_outside_repo_runs_safety_only, test_skip_paths_suppresses_strict_not_safety, test_worktree_auto_enrolls_from_repo_marker (+7)
tests/engine/test_14_result_trace_provenance.py_load_runtime_config, test_guidance_change_leaves_policy_fingerprint_stable, test_policy_fingerprint_tracks_rule_enablement, test_regex_rule_message_changes_guidance_fingerprint, test_rule_source_change_alters_policy_fingerprint_without_version_bump (+6)

Entry Points

Start here when exploring this area:

  • assert_bash_negative_case (Function) — tests/engine/support.py:269
  • assert_write_negative_case (Function) — tests/engine/support.py:252
  • test_pi_replace_json_string_edits_block_type_suppression (Function) — tests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py:108
  • test_pi_replace_lines_payload_blocks_type_suppression (Function) — tests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py:13
  • test_pi_transcript_style_replace_arguments_blocks_type_suppression (Function) — tests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py:46

Key Symbols

SymbolTypeFileLine
assert_bash_negative_caseFunctiontests/engine/support.py269
assert_write_negative_caseFunctiontests/engine/support.py252
test_pi_replace_json_string_edits_block_type_suppressionFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py108
test_pi_replace_lines_payload_blocks_type_suppressionFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py13
test_pi_transcript_style_replace_arguments_blocks_type_suppressionFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_pi_replace_payloads.py46
test_absolute_find_executable_after_shell_separator_is_not_system_path_targetFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py150
test_absolute_search_executable_path_is_not_system_path_targetFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py141
test_posttool_bash_reason_paths_do_not_trigger_ast_read_errorsFunctiontests/engine/test_03_posttool_bash_reason_paths_do_not_trigger_ast_read_errors_to_edge_cases.py58
test_two_asserts_below_thresholdFunctiontests/engine/test_03_posttool_bash_reason_paths_do_not_trigger_ast_read_errors_to_edge_cases.py193
test_small_file_no_warnFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py189
test_python_ast_parse_failure_skips_virtualenv_pathsFunctiontests/engine/test_05_build_rules_survives_python_ast_import_error_to_output_json_serialisable_by_fixture.py112
test_py_log_001Functiontests/engine/test_06_lang_graph_to_py_quality_009.py188
test_py_quality_009Functiontests/engine/test_06_lang_graph_to_py_quality_009.py247
test_py_type_002Functiontests/engine/test_06_lang_graph_to_py_quality_009.py212
test_linter_shell_edit_deniedFunctiontests/engine/test_07_type_script_rules_to_baseline_warnings.py220
test_py_quality_010Functiontests/engine/test_08_py_quality_010_to_sed_not_safe_read.py36
test_py_quality_011Functiontests/engine/test_08_py_quality_010_to_sed_not_safe_read.py151
test_post_edit_lint_rule_skips_virtualenv_lib_inspectionFunctiontests/engine/test_virtualenv_path_exclusions.py17
test_python_ast_parse_failure_skips_dot_venvs_pathsFunctiontests/engine/test_virtualenv_path_exclusions.py47
write_slopgateFunctiontests/engine/test_virtualenv_path_exclusions.py9

Execution Flows

FlowTypeSteps
Cmd_replay → _locked_filecross_community9
Cmd_replay → _path_lock_forcross_community9
Evaluate_hook_request → _locked_filecross_community9
Evaluate_hook_request → _path_lock_forcross_community9
Run_rules → _locked_filecross_community9
Run_rules → _path_lock_forcross_community9
Cmd_replay → Is_windowscross_community8
Evaluate_hook_request → Is_windowscross_community8
Cmd_daemon → Reset_request_analysis_cachecross_community7
Enrich_findings → _locked_filecross_community7

How to Explore

  1. context({name: "assert_bash_negative_case"}) — see callers and callees
  2. query({search_query: "engine"}) — find related execution flows
  3. Read key files listed above for implementation details
  4. explain({target: "<file or symbol>"}) — persisted taint findings (source→sink data flows), when indexed with --pdg

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.