asking-sync

command
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command asking-sync writes the asking rules into the two pages that state them: the block of commands/intent.md between the asking-rules markers is rendered from question.AskingRules(question.Default) and the knowledge-floor pointer, and the block of agents/question-drafter.md between the question-drafter markers is rendered from the same rules and the row count the check makes, every figure read from question.Default. So the pages, the GRILL rule domain and the question check in `abcd guard hook` state every limit from the one value (spc-2610030944505997, "The interview pages and the glossary floor"; itd-2610030810350727 criterion A7). The rules are edited in internal/core/question/asking.go and the limits in limits.go, never in the page.

It mirrors scaffold-sync, run by hand via `make asking-sync` (open question 3, decided (a)). Nothing in CI invokes it: the drift is gated by TestIntentPageAskingBlockIsGenerated and TestDrafterBlockIsGenerated under preflight, which fail when a committed block differs from the rendering.

Exit codes: 0 nothing to do (or, with no -check, the blocks were written); 1 a fault; 3 with -check, a block is out of date and nothing was written.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL