Skip to content
Back to skills

Proxy Recovery Harness

ASecurity

Run a bounded mechanism-faithful RAIL-KD proxy experiment with executable recovery and validation evidence.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspythonbash

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill proxy_recovery_harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Proxy Recovery Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Proxy Recovery Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-proxy-recovery-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-proxy-recovery-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: proxy_recovery_harness
description: Run a bounded mechanism-faithful RAIL-KD proxy experiment with executable recovery and validation evidence.
---

# Proxy Recovery Harness

Use this skill when full RAIL-KD GLUE transformer distillation is blocked but soft-mode recovery permits a reduced, mechanism-faithful experiment. It must call or import the generated mapping, representation-loss, and combined-objective skills rather than duplicating their contracts silently. Do not use this skill to claim full paper reproduction unless real model, data, and training evidence exists.

## Inputs

- Attempt directory containing `module_plan.json` and `environment/runtime_handoff.json`.
- Generated skills root containing `random_layer_mapping`, `rail_representation_loss`, and `combined_kd_objective`.
- Synthetic experiment configuration: teacher layers, student layers, tokens, dimensions, epochs, seed, learning rate, and RAIL variant.

## Outputs

- `recovery/recovery_result.json` with numeric `loss_reduction_fraction`.
- `recovery/logs/training_trace.json` with `params_before` and `params_after`.
- `recovery/logs/generated_skill_invocations.json` proving generated skill usage.
- `recovery/logs/generated_data_item.json` describing the synthetic hidden-state example.
- Mechanism checks for random mapping, coverage, pooling, normalization, objective composition, and optimizer update.

## Workflow

1. Read the module plan target and runtime handoff.
2. Record that full GLUE distillation is blocked unless the handoff proves otherwise.
3. Build deterministic synthetic teacher/student hidden states.
4. For each epoch, call the mapping skill, compute the RAIL representation loss, combine CE/KD/RAIL losses, and update trainable scalar student parameters.
5. Save a command-produced result with before/after metrics and source-boundary evidence.
6. Run the Distiller recovery experiment validator after the harness completes.

## Validation

Run a smoke experiment:

```bash
python scripts/run_proxy_recovery.py --attempt-dir /path/to/attempt --skills-root /path/to/generated/skills --epochs 6 --seed 11
python -m pytest tests
```

## Limitations

The default experiment is a declared reduced proxy. It validates the RAIL-KD mechanism but does not reproduce GLUE scores, large transformer optimization, or out-of-domain results.

Files in this skill

  • SKILL.md2.3 KB
  • scripts/run_proxy_recovery.py9.4 KB
  • tests/test_proxy_recovery.py1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.