packet-tracer-skill 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/CITATION.cff +15 -0
- package/CODE_OF_CONDUCT.md +26 -0
- package/CONTRIBUTING.md +120 -0
- package/README.md +164 -543
- package/SECURITY.md +36 -0
- package/SKILL.md +46 -5
- package/bin/packet-tracer-skill.js +503 -7
- package/docs/curated-donor-registry.md +51 -0
- package/docs/discovery-keywords.md +55 -0
- package/docs/github-discussions-setup.md +34 -0
- package/docs/github-metadata.md +33 -0
- package/docs/hero-demo-plan.md +50 -0
- package/docs/launch-announcement-0.2.1.md +15 -0
- package/docs/publish-preview-roadmap.md +31 -0
- package/docs/release-checklist.md +60 -0
- package/docs/release-notes-0.2.1.md +25 -0
- package/docs/runtime-truth.md +49 -0
- package/examples/README.md +72 -0
- package/examples/complex_campus_master_edit_v4.inventory.json +94 -0
- package/examples/gallery.md +39 -0
- package/examples/home_iot_cli_edit_v1.inventory.json +58 -0
- package/examples/index.json +127 -0
- package/examples/screenshots/complex_campus_master_edit_v4.png +0 -0
- package/examples/screenshots/home_iot_cli_edit_v1.png +0 -0
- package/examples/screenshots/service_heavy_cli_edit_v1.png +0 -0
- package/examples/screenshots/service_heavy_cli_edit_v1_dhcp.png +0 -0
- package/examples/screenshots/service_heavy_cli_edit_v1_dns.png +0 -0
- package/examples/screenshots/service_heavy_cli_edit_v1_ftp.png +0 -0
- package/examples/service_heavy_cli_edit_v1.inventory.json +51 -0
- package/package.json +71 -16
- package/references/curated-donor-registry.json +71 -0
- package/references/scenario-fixture-corpus.json +53 -0
- package/scripts/build_examples_index.py +314 -0
- package/scripts/coverage_matrix.py +783 -0
- package/scripts/donor_diagnostics.py +6 -3
- package/scripts/generate_pkt.py +2605 -98
- package/scripts/intent_parser.py +173 -18
- package/scripts/packet_tracer_env.py +127 -14
- package/scripts/pkt_editor.py +312 -12
- package/scripts/pkt_transformer.py +195 -9
- package/scripts/remote_search.py +169 -0
- package/scripts/runtime_doctor.py +286 -0
- package/scripts/sample_catalog.py +643 -38
- package/scripts/sample_selector.py +251 -5
- package/scripts/setup.ps1 +2 -1
- package/scripts/twofish_diagnostics.py +20 -23
- package/scripts/twofish_runtime.py +101 -0
- package/scripts/vendor/README.md +13 -1
- package/scripts/vendor/twofish.py +11 -9
- package/scripts/workspace_repair.py +69 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project should be recorded in this file.
|
|
4
|
+
|
|
5
|
+
The format is intentionally simple and release-oriented.
|
|
6
|
+
|
|
7
|
+
## [0.2.1]
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- npm tarball hardening for the public package surface
|
|
12
|
+
- launch announcement draft aligned with the current public release wording
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- package version advanced to `0.2.1` because `0.2.0` is already published on npm
|
|
17
|
+
- npm package contents now exclude caches, generated previews, and non-essential screenshot payloads
|
|
18
|
+
- public release references now consistently point to the `0.2.1` patch release artifacts
|
|
19
|
+
|
|
20
|
+
### Notes
|
|
21
|
+
|
|
22
|
+
- `0.2.1` is the publishable patch release for the conservative public preview surface
|
|
23
|
+
- runtime messaging remains Windows-first and explicit about the external bridge-assisted validation path
|
|
24
|
+
|
|
25
|
+
## [0.2.0]
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- release engineering surface for CI, contributing, issue templates, citation metadata, and release checklist
|
|
30
|
+
- keyword/discovery-oriented README rewrite aligned with current CLI and decision contracts
|
|
31
|
+
- known working scenario set positioning for public examples
|
|
32
|
+
- runtime truth, discovery keyword, GitHub metadata, publish-preview roadmap, and curated donor registry docs
|
|
33
|
+
- seeded curated donor registry entries derived from known working public example artifacts
|
|
34
|
+
- checked-in Packet Tracer template fallback assets for hermetic builder coverage
|
|
35
|
+
- hero demo plan and `0.2.0` release notes draft artifacts for conservative launch prep
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- package metadata expanded for publish-readiness and host/discovery coverage
|
|
40
|
+
- examples gallery language aligned with the scenario fixture corpus and acceptance excerpts
|
|
41
|
+
- CI now includes parity-report and runtime doctor smoke steps
|
|
42
|
+
- selected donor summaries now distinguish registry-backed versus inferred evidence
|
|
43
|
+
- CI now cancels superseded in-progress runs on the same ref
|
|
44
|
+
- placeholder-backed template devices are synthesized into Packet Tracer-native fallback nodes
|
|
45
|
+
- README, GitHub metadata, release checklist, and roadmap now align around the `0.2.0` public preview message
|
|
46
|
+
|
|
47
|
+
### Notes
|
|
48
|
+
|
|
49
|
+
- runtime doctor and scenario decision surfaces remain Windows-first for real `.pkt` runtime
|
|
50
|
+
- repo-local bridge is still intentionally not bundled by default
|
|
51
|
+
- `0.2.0` is a conservative launch-prep release surface; npm publish and GitHub release remain a short follow-up batch
|
package/CITATION.cff
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: packet-tracer-skill
|
|
3
|
+
message: "If you use this project in research, coursework, or tooling references, please cite it."
|
|
4
|
+
type: software
|
|
5
|
+
authors:
|
|
6
|
+
- family-names: Hajiyev
|
|
7
|
+
given-names: Sanan
|
|
8
|
+
repository-code: "https://github.com/20hajiyev/packet-tracer-skill"
|
|
9
|
+
url: "https://github.com/20hajiyev/packet-tracer-skill"
|
|
10
|
+
license: MIT
|
|
11
|
+
version: 0.1.0
|
|
12
|
+
abstract: >-
|
|
13
|
+
Donor-backed Cisco Packet Tracer 9.x skill for natural-language planning,
|
|
14
|
+
scenario comparison, safe-open generation, editing, parity reporting, and
|
|
15
|
+
runtime diagnostics across skill-based coding hosts.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Standard
|
|
4
|
+
|
|
5
|
+
Use direct, respectful, technical communication.
|
|
6
|
+
|
|
7
|
+
Expected behavior:
|
|
8
|
+
|
|
9
|
+
- discuss facts and tradeoffs clearly
|
|
10
|
+
- challenge assumptions without dismissiveness
|
|
11
|
+
- prefer reproducible evidence over vague claims
|
|
12
|
+
- keep contributions aligned with the repo's explicit safety and compatibility rules
|
|
13
|
+
|
|
14
|
+
Unacceptable behavior:
|
|
15
|
+
|
|
16
|
+
- harassment or personal attacks
|
|
17
|
+
- intentionally misleading technical claims
|
|
18
|
+
- repeated attempts to bypass donor/runtime safety rules in tracked docs or code
|
|
19
|
+
|
|
20
|
+
## Scope
|
|
21
|
+
|
|
22
|
+
This applies to issues, discussions, pull requests, and other project spaces.
|
|
23
|
+
|
|
24
|
+
## Enforcement
|
|
25
|
+
|
|
26
|
+
Maintainers may remove or close content that breaks this standard.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## What This Repo Optimizes For
|
|
4
|
+
|
|
5
|
+
This project is not a generic Packet Tracer exporter. It is a strict, donor-backed, open-first workflow for Cisco Packet Tracer 9.0.0.0810.
|
|
6
|
+
|
|
7
|
+
When contributing, preserve these rules:
|
|
8
|
+
|
|
9
|
+
- final `.pkt` apply stays `single-donor`
|
|
10
|
+
- unsupported and acceptance-gated mutate must refuse cleanly
|
|
11
|
+
- `reference_only` donors must not become final donors
|
|
12
|
+
- release/readme/docs claims must match actual runtime and acceptance state
|
|
13
|
+
|
|
14
|
+
## Recommended Contribution Order
|
|
15
|
+
|
|
16
|
+
Contributions are preferred in this order:
|
|
17
|
+
|
|
18
|
+
1. contract consistency
|
|
19
|
+
2. tests and regression coverage
|
|
20
|
+
3. donor evidence and fixture corpus quality
|
|
21
|
+
4. docs and release surface
|
|
22
|
+
5. new capability expansion
|
|
23
|
+
|
|
24
|
+
Do not lead with new mutation behavior if parity, donor evidence, or acceptance truth is still unclear.
|
|
25
|
+
|
|
26
|
+
## Local Setup
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
powershell -ExecutionPolicy Bypass -File .\scripts\setup.ps1 -Dev
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Recommended validation:
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
python .\scripts\build_examples_index.py
|
|
36
|
+
python -m pytest tests -q
|
|
37
|
+
node --check .\bin\packet-tracer-skill.js
|
|
38
|
+
python .\scripts\generate_pkt.py --parity-report "campus with VLAN DHCP ACL"
|
|
39
|
+
python .\scripts\runtime_doctor.py
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Change Types
|
|
43
|
+
|
|
44
|
+
### Product Contract Changes
|
|
45
|
+
|
|
46
|
+
If you change:
|
|
47
|
+
|
|
48
|
+
- `scenario_generate_decision`
|
|
49
|
+
- `scenario_acceptance_summary`
|
|
50
|
+
- `scenario_matrix_row`
|
|
51
|
+
- `capability_parity`
|
|
52
|
+
- runtime doctor payload
|
|
53
|
+
|
|
54
|
+
then update:
|
|
55
|
+
|
|
56
|
+
- tests
|
|
57
|
+
- README
|
|
58
|
+
- example/gallery derivation if affected
|
|
59
|
+
|
|
60
|
+
### Curated Donor Changes
|
|
61
|
+
|
|
62
|
+
If you add or promote a curated donor:
|
|
63
|
+
|
|
64
|
+
- update `references/curated-donor-registry.json`
|
|
65
|
+
- keep provenance explicit
|
|
66
|
+
- include promotion status and evidence
|
|
67
|
+
- do not mark a donor as acceptance-verified without explicit fixture evidence
|
|
68
|
+
|
|
69
|
+
### Scenario Fixture Changes
|
|
70
|
+
|
|
71
|
+
If you add or modify a scenario fixture:
|
|
72
|
+
|
|
73
|
+
- update `references/scenario-fixture-corpus.json`
|
|
74
|
+
- keep canonical prompt text and expectations aligned
|
|
75
|
+
- update docs/examples language if the fixture is public-facing
|
|
76
|
+
|
|
77
|
+
### Example Artifact Changes
|
|
78
|
+
|
|
79
|
+
Public examples are text-first:
|
|
80
|
+
|
|
81
|
+
- commit inventory JSON
|
|
82
|
+
- commit screenshots if intended for public docs
|
|
83
|
+
- do not commit raw `.pkt` binaries
|
|
84
|
+
- rebuild `examples/index.json` and `examples/gallery.md`
|
|
85
|
+
|
|
86
|
+
## Pull Request Expectations
|
|
87
|
+
|
|
88
|
+
A good change should answer:
|
|
89
|
+
|
|
90
|
+
- what contract changed
|
|
91
|
+
- why it changed
|
|
92
|
+
- what tests prove it
|
|
93
|
+
- what docs or examples were updated
|
|
94
|
+
|
|
95
|
+
If the change affects runtime behavior, explicitly say whether it changes:
|
|
96
|
+
|
|
97
|
+
- repo-local readiness
|
|
98
|
+
- external bridge fallback
|
|
99
|
+
- donor eligibility
|
|
100
|
+
- acceptance gating
|
|
101
|
+
|
|
102
|
+
## Release Surface Rules
|
|
103
|
+
|
|
104
|
+
Do not make public README or npm claims that exceed actual tested behavior.
|
|
105
|
+
|
|
106
|
+
Current high-sensitivity claims:
|
|
107
|
+
|
|
108
|
+
- Windows-first runtime
|
|
109
|
+
- Packet Tracer `9.0.0.0810`
|
|
110
|
+
- donor-backed safe-open generate behavior
|
|
111
|
+
- curated donor and fixture corpus semantics
|
|
112
|
+
|
|
113
|
+
## Security and Privacy
|
|
114
|
+
|
|
115
|
+
Never commit:
|
|
116
|
+
|
|
117
|
+
- personal donor paths
|
|
118
|
+
- generated labs unless intentionally public
|
|
119
|
+
- private or unsigned bridge binaries
|
|
120
|
+
- local Packet Tracer install paths baked into tracked files
|