featureparity 0.0.31 → 0.0.33

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.
@@ -57,13 +57,13 @@ owner — or a key minted by one — may delete; a member's key gets 403.
57
57
  List, view, create, edit and delete a project's surfaces.
58
58
 
59
59
  ```bash
60
- fp surfaces --project stowzilla
61
- fp surfaces --project stowzilla --json
62
- fp surfaces show <key> --project stowzilla
63
- fp surfaces add <key> --project stowzilla [--name "..."] [--kind api|web|android|ios|other] [--audience ...] [--repo org/repo] [--default-branch main]
64
- fp surfaces edit <key> --project stowzilla [--name "..."] [--kind ...] [--audience ...] [--repo ...] [--default-branch ...] [--key new_key]
65
- fp surfaces edit <key> --project stowzilla [--showroom-url URL] [--showroom-label "..."] [--showroom-instructions "..." | --showroom-instructions-file PATH] [--showroom-position N]
66
- fp surfaces delete <key> --project stowzilla [--yes]
60
+ fp surfaces --project acme
61
+ fp surfaces --project acme --json
62
+ fp surfaces show <key> --project acme
63
+ fp surfaces add <key> --project acme [--name "..."] [--kind api|web|android|ios|other] [--audience ...] [--repo org/repo] [--default-branch main]
64
+ fp surfaces edit <key> --project acme [--name "..."] [--kind ...] [--audience ...] [--repo ...] [--default-branch ...] [--key new_key]
65
+ fp surfaces edit <key> --project acme [--showroom-url URL] [--showroom-label "..."] [--showroom-instructions "..." | --showroom-instructions-file PATH] [--showroom-position N]
66
+ fp surfaces delete <key> --project acme [--yes]
67
67
  ```
68
68
 
69
69
  A key is unique within a project. `add` on a key that already exists fails and points
@@ -84,36 +84,36 @@ media. The team's agents keep that content; this command
84
84
  shows the result.
85
85
 
86
86
  ```bash
87
- fp showroom --project stowzilla # what a client sees, plus which surfaces are hidden and why
88
- fp showroom --project stowzilla --json # { showroom, hidden, share_link }; showroom.gallery and each surface's media
87
+ fp showroom --project acme # what a client sees, plus which surfaces are hidden and why
88
+ fp showroom --project acme --json # { showroom, hidden, share_link }; showroom.gallery and each surface's media
89
89
  ```
90
90
 
91
91
  Writing the content:
92
92
 
93
93
  ```bash
94
- fp projects edit stowzilla --showroom-welcome "Hi Sam, here's what we built."
95
- fp projects edit stowzilla --showroom-welcome-file docs/showroom/welcome.txt
96
- fp surfaces edit web --project stowzilla \
94
+ fp projects edit acme --showroom-welcome "Hi Sam, here's what we built."
95
+ fp projects edit acme --showroom-welcome-file docs/showroom/welcome.txt
96
+ fp surfaces edit web --project acme \
97
97
  --showroom-url https://dev.example.com \
98
98
  --showroom-label "Open the web app" \
99
99
  --showroom-instructions-file docs/showroom/web.txt
100
- fp surfaces edit ios --project stowzilla --showroom-url "" --showroom-instructions "" # take the card down
101
- fp surfaces edit web --project stowzilla --showroom-position 1 # clients see web first
102
- fp surfaces edit web --project stowzilla --showroom-position "" # back to alphabetical
100
+ fp surfaces edit ios --project acme --showroom-url "" --showroom-instructions "" # take the card down
101
+ fp surfaces edit web --project acme --showroom-position 1 # clients see web first
102
+ fp surfaces edit web --project acme --showroom-position "" # back to alphabetical
103
103
  ```
104
104
 
105
105
  Media — screenshots and videos on a surface's card, or in the project gallery under the
106
106
  welcome note when `--surface` is omitted:
107
107
 
108
108
  ```bash
109
- fp showroom media --project stowzilla # gallery, then each surface in showroom order: id, kind, file, caption, position
110
- fp showroom media --project stowzilla --json # { media: [...each with surface_key (null = gallery)], project }
111
- fp showroom media add e2e/results/checkout.webm --project stowzilla --surface web \
109
+ fp showroom media --project acme # gallery, then each surface in showroom order: id, kind, file, caption, position
110
+ fp showroom media --project acme --json # { media: [...each with surface_key (null = gallery)], project }
111
+ fp showroom media add e2e/results/checkout.webm --project acme --surface web \
112
112
  --caption "Checking out with a saved card" --position 1
113
- fp showroom media add docs/showroom/overview.png --project stowzilla # the gallery
114
- fp showroom media edit <id> --project stowzilla --caption "New words" --position 2
115
- fp showroom media edit <id> --project stowzilla --caption "" --position "" # clear the caption, move it last
116
- fp showroom media remove <id> --project stowzilla --yes
113
+ fp showroom media add docs/showroom/overview.png --project acme # the gallery
114
+ fp showroom media edit <id> --project acme --caption "New words" --position 2
115
+ fp showroom media edit <id> --project acme --caption "" --position "" # clear the caption, move it last
116
+ fp showroom media remove <id> --project acme --yes
117
117
  ```
118
118
 
119
119
  Accepted: png, jpg/jpeg, gif, webp, mp4, webm, mov, up to 100 MB. Anything else — SVG
@@ -142,10 +142,10 @@ that reason; a human checks it under Project Settings → Showroom in the web ap
142
142
  List requirements.
143
143
 
144
144
  ```bash
145
- fp list --project stowzilla # All active requirements
146
- fp list --project stowzilla --gaps # Requirements with a required surface lacking evidence
147
- fp list --project stowzilla --status draft
148
- fp list --project stowzilla --json
145
+ fp list --project acme # All active requirements
146
+ fp list --project acme --gaps # Requirements with a required surface lacking evidence
147
+ fp list --project acme --status draft
148
+ fp list --project acme --json
149
149
  ```
150
150
 
151
151
  | Flag | Description |
@@ -165,8 +165,8 @@ state.
165
165
  Show requirement details.
166
166
 
167
167
  ```bash
168
- fp show print_container_qr --project stowzilla
169
- fp show print_container_qr --project stowzilla --json
168
+ fp show print_container_qr --project acme
169
+ fp show print_container_qr --project acme --json
170
170
  ```
171
171
 
172
172
  ### fp report
@@ -177,10 +177,10 @@ Report evidence linking a test to a requirement.
177
177
 
178
178
  ```bash
179
179
  fp report <slug> \
180
- --project stowzilla \
180
+ --project acme \
181
181
  --surface api \
182
182
  --file spec/qr_spec.rb \
183
- --repo stowzilla/marketplace \
183
+ --repo acme/marketplace \
184
184
  [--pr URL] [--sha COMMIT] [--work-item URL] [--ci-url URL] [--title "..."] [--state present|stub]
185
185
  ```
186
186
 
@@ -202,9 +202,9 @@ fp report <slug> \
202
202
 
203
203
  ```bash
204
204
  fp report --junit junit.xml \
205
- --project stowzilla \
205
+ --project acme \
206
206
  --surface api \
207
- --repo stowzilla/marketplace \
207
+ --repo acme/marketplace \
208
208
  [--base-dir DIR] [--pr URL] [--sha COMMIT] [--work-item URL] [--ci-url URL]
209
209
  ```
210
210
 
@@ -232,10 +232,10 @@ Run a test command with a report formatter fp adds itself, then report the resul
232
232
  as `fp report --junit` would. Nothing is added to the project under test.
233
233
 
234
234
  ```bash
235
- fp run --surface api --repo stowzilla/marketplace -- bundle exec rspec
236
- fp run --surface api --repo stowzilla/marketplace -- pytest tests/
237
- (cd frontend && fp run --surface web --repo stowzilla/marketplace -- npx vitest run)
238
- fp run --surface web --repo stowzilla/marketplace -- npx playwright test
235
+ fp run --surface api --repo acme/marketplace -- bundle exec rspec
236
+ fp run --surface api --repo acme/marketplace -- pytest tests/
237
+ (cd frontend && fp run --surface web --repo acme/marketplace -- npx vitest run)
238
+ fp run --surface web --repo acme/marketplace -- npx playwright test
239
239
  ```
240
240
 
241
241
  | Runner | What fp adds |
@@ -260,11 +260,11 @@ client showroom. This is optional and stores the file in FeatureParity, so an ag
260
260
  only with permission from the person it works for, and never captures someone's own screen.
261
261
 
262
262
  ```bash
263
- fp attach checkout_flow e2e/results/checkout.webm --project stowzilla --surface web \
263
+ fp attach checkout_flow e2e/results/checkout.webm --project acme --surface web \
264
264
  --example-title "pays by card" --sha $(git rev-parse HEAD)
265
- fp attachments checkout_flow --project stowzilla # list
266
- fp attachments checkout_flow <id> --project stowzilla # download URL
267
- fp attach rm checkout_flow <id> --project stowzilla # delete
265
+ fp attachments checkout_flow --project acme # list
266
+ fp attachments checkout_flow <id> --project acme # download URL
267
+ fp attach rm checkout_flow <id> --project acme # delete
268
268
  ```
269
269
 
270
270
  | Flag | Required | Description |
@@ -304,7 +304,7 @@ failing test merely because the requirement was drafted or activated. Surface th
304
304
  do not change or adopt the old test as proof without explicit human approval.
305
305
 
306
306
  ```bash
307
- fp propose --project stowzilla \
307
+ fp propose --project acme \
308
308
  --slug current_shipment_status \
309
309
  --name "Dispatchers see current shipment status" \
310
310
  --why "Dispatchers need to spot delayed shipments before they miss a delivery window" \
@@ -408,16 +408,36 @@ one table. Run with `--dry-run` first to hand a human the batch for review.
408
408
 
409
409
  ```bash
410
410
  fp mark academic_experience_required_fields spec/models/academic_experience_spec.rb:52
411
+ fp mark locker_rejects_oversize tests/test_parcel_locker.py::test_rejects_oversize_parcel
412
+ fp mark required_fields 'spec/models/user_spec.rb::requires an email' spec/models/user_spec.rb:40
411
413
  fp mark checkout_flow e2e/checkout.spec.ts:10 --surface web --type e2e
412
414
  ```
413
415
 
414
- Inserts `fp:<slug>` (with `@surfaces` and `:type` when given) directly above the test on that
415
- line, using the file's own comment syntax (`#`, `//` or `--`) and indentation, then names the
416
+ Inserts `fp:<slug>` (with `@surfaces` and `:type` when given) directly above each test you
417
+ point at, using the file's own comment syntax (`#`, `//` or `--`) and indentation, then names the
416
418
  test it binds to. Running it again on the same marker changes nothing. `--comment` sets the
417
419
  prefix for an extension fp doesn't know, and `--dry-run` shows the line without writing it.
418
420
  This is purely local and needs no API key. Never mark a failing test to make a requirement
419
421
  look covered.
420
422
 
423
+ A target is `<file>:<line>` (the test's own line) or `<file>::<test name>`, the name as the
424
+ file declares it (`test_rejects_oversize_parcel`, `requires an email`). A pytest id copied from
425
+ the runner's output (`file.py::TestClass::test_x[case]`) works too. A name that isn't in the
426
+ file, or that two tests share, is refused with the file's test names, and nothing is written.
427
+
428
+ **Marking several tests in one file? Name them.** Each insert shifts every line below it down
429
+ by one, so a line number read before an earlier `fp mark` goes stale; a name doesn't. You can
430
+ also give several targets in one call (`fp mark <slug> f.py:8 f.py:18 f.py:25`): every line
431
+ number in a call means the file as it was before that call, and every target is checked before
432
+ anything is written. Across separate calls fp allows for the markers it added itself: while
433
+ nothing else has edited the file, a line number that no longer points at a test is read as it
434
+ was numbered before those markers went in, and fp says when it moved one. If a number could
435
+ then mean two tests, fp names both and writes nothing. `--json` answers one target with the usual object and several with
436
+ `{ "marks": [...] }`, each `line` being where the marker now sits. The `It binds to:` line is
437
+ the check: if it names a different test than you meant, or fp warns that no test declaration was
438
+ recognised, the marker landed on the wrong line (it is still written, and the exit code is 0,
439
+ so fix it by hand).
440
+
421
441
  ### fp propose-change
422
442
 
423
443
  Propose a change to a requirement that already exists — or propose deleting it.
@@ -425,7 +445,7 @@ Recorded with what the requirement *was*, a field-by-field diff, and what prompt
425
445
  change. The requirement drops back to **draft** until a human approves or rejects.
426
446
 
427
447
  ```bash
428
- fp propose-change print_container_qr --project stowzilla \
448
+ fp propose-change print_container_qr --project acme \
429
449
  --why "Labels must survive a freezer" \
430
450
  --acceptance "QR scans after 24h at -20C" \
431
451
  --reason "Cold-chain rollout" \
@@ -433,7 +453,7 @@ fp propose-change print_container_qr --project stowzilla \
433
453
  --source-url https://app.fizzy.do/6098707/cards/1377
434
454
 
435
455
  # Propose deletion instead
436
- fp propose-change print_container_qr --project stowzilla \
456
+ fp propose-change print_container_qr --project acme \
437
457
  --removal --reason "Superseded by print_container_label"
438
458
  ```
439
459
 
@@ -477,10 +497,10 @@ Show a requirement's change history: what changed, who changed it, what prompted
477
497
  how the test evidence moved.
478
498
 
479
499
  ```bash
480
- fp history print_container_qr --project stowzilla
481
- fp history print_container_qr --project stowzilla --pending # only what awaits review
482
- fp history print_container_qr --project stowzilla --limit 5 # most recent 5 entries
483
- fp history print_container_qr --project stowzilla --json
500
+ fp history print_container_qr --project acme
501
+ fp history print_container_qr --project acme --pending # only what awaits review
502
+ fp history print_container_qr --project acme --limit 5 # most recent 5 entries
503
+ fp history print_container_qr --project acme --json
484
504
  ```
485
505
 
486
506
  Entries are printed oldest first. Each shows the event (created, edited, approved,
@@ -497,7 +517,7 @@ Use it for the decisions a draft can't settle by itself, instead of leaving them
497
517
 
498
518
  ```bash
499
519
  fp question upload_limits "Is the 5 MB cap per file or per upload?"
500
- fp question upload_limits --body "Does the cap apply to admins?" --project stowzilla
520
+ fp question upload_limits --body "Does the cap apply to admins?" --project acme
501
521
  fp questions upload_limits # every question, open and resolved, with answers
502
522
  fp questions upload_limits --open --json # only the open ones
503
523
  ```
@@ -522,7 +542,7 @@ proposed change. Refusals, printed verbatim:
522
542
  Read or join the team's conversation on a requirement, and tag people or agents in it.
523
543
 
524
544
  ```bash
525
- fp comments print_container_qr --project stowzilla # comments + who can be tagged
545
+ fp comments print_container_qr --project acme # comments + who can be tagged
526
546
  fp comments print_container_qr --body "The label redesign dropped this — retire it?" \
527
547
  --tag andy@example.com
528
548
  fp comments print_container_qr --body "Can you re-check this against the new label?" --tag claude
@@ -545,13 +565,13 @@ possible conflicts. **Read-only — it never files a proposal.** Report first; a
545
565
  picks which proposals to file (each moves its requirement to draft).
546
566
 
547
567
  ```bash
548
- fp analyze --project stowzilla # active + draft requirements
549
- fp analyze print_container_qr --project stowzilla # one requirement, with suggestions
550
- fp analyze --project stowzilla --status active # narrow the sweep
551
- fp analyze --project stowzilla --conflicts # also check contradictions (slower)
552
- fp analyze --project stowzilla --force # re-run even if the result is current
553
- fp analyze --project stowzilla --cached # saved results only, no model calls
554
- fp analyze --project stowzilla --json
568
+ fp analyze --project acme # active + draft requirements
569
+ fp analyze print_container_qr --project acme # one requirement, with suggestions
570
+ fp analyze --project acme --status active # narrow the sweep
571
+ fp analyze --project acme --conflicts # also check contradictions (slower)
572
+ fp analyze --project acme --force # re-run even if the result is current
573
+ fp analyze --project acme --cached # saved results only, no model calls
574
+ fp analyze --project acme --json
555
575
  ```
556
576
 
557
577
  Analysis costs one model call per requirement, so the sweep runs one request at a time
@@ -576,7 +596,7 @@ history separately.
576
596
 
577
597
  ```bash
578
598
  fp changes --source-url https://app.fizzy.do/6098707/cards/1434
579
- fp changes --project stowzilla --source-url https://github.com/acme/app/issues/42
599
+ fp changes --project acme --source-url https://github.com/acme/app/issues/42
580
600
  fp changes --github-pr --github-summary
581
601
  ```
582
602
 
@@ -602,7 +622,7 @@ and from `suspect` evidence caused by changed requirement wording.
602
622
 
603
623
  ```bash
604
624
  fp changed-tests # project from .featureparity.yml
605
- fp changed-tests --project stowzilla --surface api
625
+ fp changed-tests --project acme --surface api
606
626
  fp changed-tests --json # complete machine-readable queue
607
627
  ```
608
628
 
@@ -700,10 +720,10 @@ Display the parity matrix. Cells show the state of the evidence filed for each
700
720
  (requirement, surface) pair.
701
721
 
702
722
  ```bash
703
- fp matrix --project stowzilla # ASCII table
704
- fp matrix --project stowzilla --csv # CSV export (state names, not glyphs)
705
- fp matrix --project stowzilla --json # JSON
706
- fp matrix --project stowzilla --surface api
723
+ fp matrix --project acme # ASCII table
724
+ fp matrix --project acme --csv # CSV export (state names, not glyphs)
725
+ fp matrix --project acme --json # JSON
726
+ fp matrix --project acme --surface api
707
727
  ```
708
728
 
709
729
  | Glyph | State | Meaning |
@@ -766,7 +786,7 @@ can be a required status check on a pull request.
766
786
 
767
787
  ```bash
768
788
  fp check # project from .featureparity.yml
769
- fp check --project stowzilla --surface api
789
+ fp check --project acme --surface api
770
790
  fp check --level covered # override the project's level for this run
771
791
  fp check --warn-only # print violations, still exit 0
772
792
  fp check --json
@@ -872,11 +892,11 @@ before a key is configured).
872
892
  ```bash
873
893
  fp init --detect # suggest slug, surfaces, test commands; writes nothing
874
894
  fp init --detect --json
875
- fp init --project stowzilla --surface api
876
- fp init --project stowzilla --no-workflow # skip the CI workflow
877
- fp init --project stowzilla --no-agents # skip the AGENTS.md section
878
- fp init --project stowzilla --force # refresh files written previously
879
- fp init --project stowzilla --dir path/to/repo
895
+ fp init --project acme --surface api
896
+ fp init --project acme --no-workflow # skip the CI workflow
897
+ fp init --project acme --no-agents # skip the AGENTS.md section
898
+ fp init --project acme --force # refresh files written previously
899
+ fp init --project acme --dir path/to/repo
880
900
  ```
881
901
 
882
902
  | File | Purpose |
@@ -987,15 +1007,30 @@ fp --profile staging whoami # inspect a specific profile
987
1007
  fp --api-url http://localhost:9292 whoami
988
1008
  ```
989
1009
 
1010
+ ### fp skill
1011
+
1012
+ Install the agent skill bundled with the gem. Copies it into `.claude/skills/fp`
1013
+ (Claude Code) and `.agents/skills/fp` (Codex, Cursor, Gemini CLI and others) in the
1014
+ working directory. Makes no API calls. Re-run after upgrading the gem to refresh it;
1015
+ a directory named `fp` that isn't the fp skill is only replaced with `--force`.
1016
+
1017
+ ```bash
1018
+ fp skill install # both directories, this repo
1019
+ fp skill install --agent claude # just .claude/skills
1020
+ fp skill install --global # ~/.claude/skills and ~/.agents/skills
1021
+ fp skill install --path ~/my-agent/skills # any skills directory (writes <path>/fp)
1022
+ fp skill path # where the bundled skill lives
1023
+ ```
1024
+
990
1025
  ### fp repos
991
1026
 
992
1027
  Map surfaces to local repo paths (stored locally, not in the web app).
993
1028
 
994
1029
  ```bash
995
- fp repos list --project stowzilla
996
- fp repos set customer_android ~/code/customer-android --project stowzilla --repo org/repo
997
- fp repos get customer_android --project stowzilla
998
- fp repos unset customer_android --project stowzilla
1030
+ fp repos list --project acme
1031
+ fp repos set customer_android ~/code/customer-android --project acme --repo org/repo
1032
+ fp repos get customer_android --project acme
1033
+ fp repos unset customer_android --project acme
999
1034
  ```
1000
1035
 
1001
1036
  ## Exit codes
@@ -1025,7 +1060,7 @@ request failure (`ok: false`).
1025
1060
  ### .featureparity.yml
1026
1061
 
1027
1062
  ```yaml
1028
- project: stowzilla # required — the project slug
1063
+ project: acme # required — the project slug
1029
1064
  enforcement: regression # optional — usually omit; the level lives on the project
1030
1065
  surface: api # optional — default surface for a single-surface repo
1031
1066
  ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: featureparity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stowzilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-11 00:00:00.000000000 Z
11
+ date: 2026-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -127,6 +127,7 @@ files:
127
127
  - lib/fp/commands/show.rb
128
128
  - lib/fp/commands/showroom.rb
129
129
  - lib/fp/commands/showroom_media.rb
130
+ - lib/fp/commands/skill.rb
130
131
  - lib/fp/commands/spot_check.rb
131
132
  - lib/fp/commands/surfaces.rb
132
133
  - lib/fp/commands/tutorial.rb
@@ -157,8 +158,7 @@ licenses:
157
158
  metadata:
158
159
  rubygems_mfa_required: 'true'
159
160
  homepage_uri: https://featureparity.dev
160
- source_code_uri: https://github.com/stowzilla/feature_parity
161
- changelog_uri: https://github.com/stowzilla/feature_parity/blob/master/cli/CHANGELOG.md
161
+ documentation_uri: https://featureparity.dev/docs
162
162
  post_install_message:
163
163
  rdoc_options: []
164
164
  require_paths: