scopecairn 0.14.1 → 0.15.0
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/dist/cli.js +15 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6390,6 +6390,11 @@ Patuhi prinsip ini di setiap baris kode secara otomatis tanpa perlu diminta user
|
|
|
6390
6390
|
2. Pertanyaan berupa diskusi konseptual, code review, arsitektur, atau sekadar tanya jawab.
|
|
6391
6391
|
3. Melanjutkan percakapan dalam sesi yang sama di mana scope file sudah diketahui.
|
|
6392
6392
|
- **Ekstraksi Query**: Jika prompt user panjang atau berupa spesifikasi kompleks, jangan masukkan seluruh paragraf ke terminal. Ambil 2\u20134 kata kunci teknis utama (nama modul, entitas, aksi) sebagai argumen context untuk mencari file jangkar (anchor), sementara detail spesifikasi lengkap tetap diikuti langsung dari prompt user.
|
|
6393
|
+
- **Transparansi Status (Status Cue 1-Baris)**: Awali baris pertama setiap respon task coding dengan penanda ringkas status ScopeCairn agar user mengetahui status scope secara transparan:
|
|
6394
|
+
- Jika context dipanggil: \`> \u{1F9ED} [ScopeCairn: context "<query>" \u2192 N files in scope]\`
|
|
6395
|
+
- Jika context dilewati: \`> \u{1F9ED} [ScopeCairn: scope known (<alasan singkat, misal: target file sudah spesifik>), context skipped]\`
|
|
6396
|
+
- Jika impact dijalankan: \`> \u{1F9ED} [ScopeCairn: impact <path> checked]\`
|
|
6397
|
+
- Jika verify dijalankan: \`> \u{1F9ED} [ScopeCairn: verify passed within scope]\`
|
|
6393
6398
|
|
|
6394
6399
|
Gunakan hasilnya sebagai titik awal. Jangan menjelajah repository dari nol.
|
|
6395
6400
|
|
|
@@ -6464,6 +6469,7 @@ Prinsip Otomatis:
|
|
|
6464
6469
|
- Blast Radius: Simbol bersama wajib impact + safety fact + buktikan dengan tes.
|
|
6465
6470
|
- Anti-Looping: 2x gagal perbaiki bug pada tes yang sama \u2192 dilarang coba cara ke-3 dengan asumsi serupa; serang premis dasar secara independen.
|
|
6466
6471
|
- Prove It Works: Selalu buktikan perbaikan/fitur dengan tes nyata sebelum menyatakan selesai.
|
|
6472
|
+
- Transparansi Status: Awali respon dengan 1 baris penanda scope, misal: \`> \u{1F9ED} [ScopeCairn: ...]\`.
|
|
6467
6473
|
|
|
6468
6474
|
Langkah Alur Kerja:
|
|
6469
6475
|
1. Jika prompt user panjang/kompleks, ambil 2\u20134 kata kunci teknis utama sebagai argumen context.
|
|
@@ -6486,13 +6492,14 @@ description: ScopeCairn codebase context + scope + engineering rigor for a task
|
|
|
6486
6492
|
|
|
6487
6493
|
Run \`${prefix} context "$ARGUMENTS"\` with the bash tool (extract 2-4 technical keywords if query is complex), then:
|
|
6488
6494
|
|
|
6489
|
-
1.
|
|
6490
|
-
2.
|
|
6491
|
-
3.
|
|
6492
|
-
4. If
|
|
6493
|
-
5.
|
|
6494
|
-
6.
|
|
6495
|
-
7.
|
|
6495
|
+
1. Always show a 1-line status cue at the start of your response, e.g. \`> \u{1F9ED} [ScopeCairn: context "$ARGUMENTS" \u2192 N files]\` (or explain if skipped).
|
|
6496
|
+
2. Use Relevant Files as the starting point \u2014 do not explore from zero.
|
|
6497
|
+
3. Change only Required and Optional files; Protected needs user approval.
|
|
6498
|
+
4. If shared symbols change, run \`${prefix} impact <path>\`, formulate one safety fact, and verify with tests.
|
|
6499
|
+
5. If bug fix fails 2x on the same test, stop and attack the premise independently before attempting a 3rd time.
|
|
6500
|
+
6. Need a function body? Use \`${prefix} read symbol <nama>\`, not full reads.
|
|
6501
|
+
7. Before finishing: perform adversarial self-review, ensure real tests pass, run \`${prefix} scan\`, then run \`${prefix} verify --task "$ARGUMENTS" --strict\` to catch out-of-scope files.
|
|
6502
|
+
8. Settled an architectural decision? Record it once: \`${prefix} decide "<choice> because <why>"\`.
|
|
6496
6503
|
<!-- scopecairn:managed -->
|
|
6497
6504
|
`;
|
|
6498
6505
|
}
|
|
@@ -9876,7 +9883,7 @@ import { execFileSync as execFileSync6, execSync } from "child_process";
|
|
|
9876
9883
|
// package.json
|
|
9877
9884
|
var package_default = {
|
|
9878
9885
|
name: "scopecairn",
|
|
9879
|
-
version: "0.
|
|
9886
|
+
version: "0.15.0",
|
|
9880
9887
|
description: "ScopeCairn \u2014 Codebase Intelligence & Agent Optimization Layer (local-first)",
|
|
9881
9888
|
license: "MIT",
|
|
9882
9889
|
type: "module",
|