Skip to content
Apothem
पाइपलाइन कमांड

पाइपलाइन कमांड

Apothem पाइपलाइन कमांड संदर्भ — /plan प्रवाह और ऑडिट कमांड कैटलॉग।

Apothem एक आर्किटेक्चर-जागरूक /plan पाइपलाइन, एक तेरह-चरणीय /research पाइपलाइन, और साथ में एक ग्यारह-कमांड ऑडिट अनुक्रम शिप करता है — जो हर परियोजना को कच्चे गद्य से प्रोडक्शन-स्तरीय, बहु-अक्षीय रूप से समीक्षित कोड तक, और एक कच्चे विचार से एक प्रसारित, सहकर्मी-समीक्षित शोध-पत्र तक एक संरचित मार्ग देता है।

पाइपलाइन अवलोकन

flowchart LR
    accTitle: Plan pipeline command flow
    accDescr: Left-to-right flowchart of the apothem plan pipeline from the spec stage through the generate and review stages, then through a conditional architecture-bearing decision that either runs the design stage or skips directly to the execute stage. The orthogonal audit stage wraps the spec-through-review span as a closed remediation loop, and the re-entrant amend stage revises an existing suite and returns it to review.
    A[/plan-spec] --> B[/plan-generate]
    B --> C[/plan-review]
    AUD[/plan-audit<br/>orthogonal: wraps spec → review] -.->|closed-loop remediation| A
    AM[/plan-amend<br/>re-entrant: revises an existing suite] -.->|re-review| C
    C --> Q{Architecture-bearing suite?}
    Q -->|yes| F[/plan-design<br/>emit _inputs/design.md]
    Q -->|no| D[/plan-execute]
    F --> D
    D --> E[/plan-status]
    D --> G[Audit review sequence]
    G --> H[Completion milestone]

योजना चरण

पाइपलाइन आठ प्रथम-श्रेणी स्लैश कमांड के रूप में शिप होती है, प्रति चरण एक — प्रत्येक को /plan-<stage> के रूप में स्वतंत्र रूप से आह्वान किया जा सकता है। /plan ऑर्केस्ट्रेटर इन्हें एक मिशन से एक निष्पादित सूट तक संचालित करता है।

चरणभूमिकास्थिति
/plan-specफ़ोर्ज — गद्य से स्पेक तकआरंभ
/plan-generateजनरेटर — स्पेक से प्लान सूट तकमध्य-श्रृंखला
/plan-reviewऑडिटर — फ़ॉरेंसिक प्लान ऑडिटमध्य-श्रृंखला
/plan-designआर्किटेक्ट — आर्किटेक्चर-प्रभावी सूट के लिए _inputs/design.mdसशर्त गेट
/plan-executeनिष्पादक — चरण निष्पादनअंतिम
/plan-statusरिपोर्टर — केवल-पठन स्थितिकेवल-पठन
/plan-auditसंरक्षक — spec → generate → review का बंद-लूप आवरणऑर्थोगोनल (निष्पादन-पूर्व)
/plan-amendप्रबंधक — किसी मौजूदा सूट का पुनः-प्रवेशी संशोधनपुनः-प्रवेशी

/plan-audit रैखिक प्रवाह के प्रति ऑर्थोगोनल है, उसके भीतर का कोई चरण नहीं। यह /plan-spec → /plan-generate → /plan-review को एक ही बंद लूप के रूप में आवृत करता है, केवल लुप्त अपस्ट्रीम चरण चलाता है, निष्कर्षों का सक्रिय रूप से निवारण करता है, और सूट को /plan-execute के लिए तैयार छोड़ता है। यह नीचे दिए गए ऑडिट समीक्षा अनुक्रम से भिन्न है, जो किसी प्लान सूट के बजाय एक निष्पादित कोडबेस का ऑडिट करता है।

/plan-design कोई सार्वभौमिक औपचारिकता नहीं है। /plan-review यह वर्गीकृत करता है कि सूट आर्किटेक्चर-प्रभावी सतहों को बदलता है या नहीं। यदि हाँ, तो /plan-design वह डिज़ाइन ट्रेस उत्सर्जित करता है जिसका उपयोग /plan-execute और /architecture-review करते हैं। यदि नहीं, तो समीक्षित सूट सीधे निष्पादन में चला जाता है।

शोध पाइपलाइन

शोध पाइपलाइन तेरह प्रथम-श्रेणी स्लैश कमांड के रूप में शिप होती है, प्रति चरण एक — प्रत्येक को /research-<stage> के रूप में स्वतंत्र रूप से आह्वान किया जा सकता है, और ये एक अनुक्रम गेट और एक हैंडऑफ़ मैनिफ़ेस्ट से जुड़े होते हैं, दस कठोरता मैंडेट के अंतर्गत (आधिकारिक स्रोत, पुनरुत्पादनीयता, खंडनीयता, उद्धरण अखंडता, पूर्व-पंजीकरण, नैतिकता / हितों का टकराव, सांख्यिकीय कठोरता, ओपन-साइंस / FAIR, रिपोर्टिंग-दिशानिर्देश अनुरूपता, सैद्धांतिक आधार / प्रभाव)।

flowchart LR
    accTitle: Research pipeline command flow
    accDescr: Left-to-right flowchart of the apothem research pipeline from the ideate stage through spec, theory, sources, synthesis, proposal, study design, experiment, analysis, paper, and peer review to publish and disseminate, with a revision loop from review back to paper.
    RI[/research-ideate] --> RS[/research-spec]
    RS --> RT[/research-theory]
    RT --> RSO[/research-sources]
    RSO --> RSY[/research-synthesis]
    RSY --> RPR[/research-proposal]
    RPR --> RD[/research-design]
    RD --> RE[/research-experiment]
    RE --> RA[/research-analysis]
    RA --> RP[/research-paper]
    RP --> RR[/research-review]
    RR --> RPU[/research-publish]
    RPU --> RDI[/research-disseminate]
    RR -.->|revision loop| RP
चरणभूमिकास्थिति
/research-ideateसमस्या का निरूपण — किसी डोमेन बीज से उम्मीदवार प्रश्नआरंभ
/research-specप्रश्न का निर्धारण — खंडनीय परिकल्पनाएँ + दायरामध्य-श्रृंखला
/research-theoryवैचारिक ढाँचा + परिवर्तन-सिद्धांतमध्य-श्रृंखला
/research-sourcesपुनः-चलाने-योग्य खोज रिकॉर्ड सहित व्यवस्थित स्रोत संग्रहमध्य-श्रृंखला
/research-synthesisSOTA मानचित्र + अंतराल विश्लेषणमध्य-श्रृंखला
/research-proposalउद्देश्य + व्यवहार्यता + आकस्मिक योजनाएँ + प्रभाव + डेटा योजना + पूर्व-पंजीकरण योजना; वित्तपोषक-कॉल मैट्रिक्स या पुनर्प्रस्तुति उत्तरमध्य-श्रृंखला
/research-designअध्ययन डिज़ाइन + पूर्व-पंजीकरणमध्य-श्रृंखला
/research-experimentचलाना + दर्ज करना, पुनरुत्पादनीयमध्य-श्रृंखला
/research-analysisपरिणाम + सांख्यिकीमध्य-श्रृंखला
/research-paperशीर्ष-स्तरीय शोध-पत्र मसौदामध्य-श्रृंखला
/research-reviewसहकर्मी-समीक्षा-स्तरीय आलोचनामध्य-श्रृंखला
/research-publishप्रकाशन-स्थल पैकेज + प्रस्तुतिमध्य-श्रृंखला
/research-disseminateप्रसार + प्रभाव + FAIR संग्रहणअंतिम

/research रैप्ड-वर्कफ़्लो ऑर्केस्ट्रेटर इन चरणों को कच्चे प्रश्न से प्रकाशित शोध-पत्र तक संचालित करता है (यह स्वयं कोई चरण नहीं है), और अगला चरण किसी चरण के आउटपुट पर निर्माण करे, उससे पहले उस आउटपुट की स्वतंत्र रूप से जाँच करता है; --quick एकल-शॉट उद्धृत रिपोर्ट के लिए केवल /research-sources + /research-synthesis चलाता है।

अनुभवजन्य चरण (स्रोत, डिज़ाइन, प्रयोग, विश्लेषण) और लेखन चरण (शोध-पत्र, समीक्षा, प्रकाशन, प्रसार) इसके अतिरिक्त कठोरता को व्यवहार में उतारने वाली सतहों का भी सहारा लेते हैं — निष्पक्ष बहु-विधि तुलना, तुलना-आधार की उत्पत्ति, एक प्रयोग-कार्यक्रम ढाँचा, एक कंप्यूट-उपयोग योजना, एक ऑप्ट-इन स्वायत्त प्रयोग लूप, एक पूर्णता-परिभाषा आधारित प्रगति गेट, चरणबद्ध प्रकटीकरण के साथ ब्लाइंडिंग, एक खोज रिकॉर्ड, अध्ययन आवंटन और सामर्थ्य योजना, विश्लेषण अनुशासन, योजना की आकस्मिक व्यवस्थाएँ, आकृति अखंडता, और व्याख्यान तथा पोस्टर योजना — जो दस मैंडेट का विस्तार किए बिना उनमें परिचालन विवरण जोड़ती हैं।

ऑडिट समीक्षा अनुक्रम

/audit रैप्ड-वर्कफ़्लो ऑर्केस्ट्रेटर नीचे दिए सभी ग्यारह आयामों को एक ही समानांतर पास में स्वीप करता है — यह /plan और /research का ऑडिट-फ़ोर्ट्रेस समकक्ष है — और एक ही डुप्लिकेट-रहित, गंभीरता के अनुसार वर्गीकृत निष्कर्ष रिपोर्ट संश्लेषित करता है (केवल रिपोर्ट; निवारण /elevate को भेजा जाता है)। प्रत्येक आयाम को अलग से भी आह्वान किया जा सकता है।

/fortress रैप्ड-वर्कफ़्लो ऑर्केस्ट्रेटर उस लूप को बंद करता है जिसकी /audit रिपोर्ट करता है: यह /audit के माध्यम से पता लगाता है, हर निष्कर्ष को सत्यापित करता है, हर बचे हुए निष्कर्ष का निवारण उसकी स्वामी सतह पर करता है, एक सीमित लूप में फिर से ऑडिट करता है, और परिणाम को /release-readiness से गेट करता है — यह /plan और /research का प्रोडक्शन-हार्डनिंग समकक्ष है।

कमांडगुणवत्ता क्षेत्र
/code-reviewकोड गुणवत्ता
/code-auditकोड कॉर्पस
/security-auditOWASP / ASVS
/perf-auditप्रदर्शन
/architecture-reviewआर्किटेक्चर
/ux-reviewडेवलपर अनुभव
/a11y-auditसुगम्यता
/docs-reviewदस्तावेज़
/dependency-auditनिर्भरताएँ
/supply-chain-auditआपूर्ति श्रृंखला
/threat-model-auditख़तरा मॉडल

सभी कमांड

हर शिप किया गया कमांड, src/apothem/commands/ के अंतर्गत उसकी परिभाषा से उत्पन्न। जिन कमांड का हाथ से लिखा पृष्ठ नहीं है, उन्हें उसी परिभाषा से उत्पन्न एक पृष्ठ मिलता है।

CommandSummary
/planRuns the planning pipeline (spec, generate, review, design) with independent verification, confirming at each hand-off; execute stays a manual step the …
/plan-specTurns free-form prose, notes or rough requirements into a spec-grade _spec/spec.md that keeps the author's wording and settles open questions by inquiry.
/plan-generateGenerates a full plan suite (master plan, progress log, decision notes, per-phase files) from a written spec or raw prose.
/plan-reviewReads an existing plan suite line by line for fidelity, consistency, completeness and risk, then applies only the revisions the user approves.
/plan-designWrites the architectural design for a reviewed plan suite at _inputs/design.md: components, interfaces, decisions and diagrams.
/plan-executeUse to implement one phase of a reviewed plan suite: reads the phase file and progress notes, verifies prerequisites and review scorecards, implements each …
/plan-amendChanges an existing plan suite without losing resolved decisions, re-deriving only the affected spec, phases and notes.
/plan-auditAudits a plan suite across spec, generate and review, then fixes findings in a loop without per-revision approval until none remain or the cap is hit.
/plan-statusReports plan-suite progress from its tracking files across tasks, phases and artifacts, read-only.
/researchRuns the research pipeline from idea to peer-reviewed paper, verifying each stage hand-off and halting before data collection or publication.
/research-ideateFinds a research question from zero by scanning opportunities, gaps, and invalidated hypotheses, then ranking candidates.
/research-specFrames a research question or notes into a testable spec: falsifiable hypotheses, inclusion and exclusion scope, success metrics.
/research-theoryBuilds the conceptual framework for a framed research question: theory of change, constructs with operational definitions and a conceptual-model diagram.
/research-sourcesCollects and screens the literature for a ratified research spec: deduplication, ranking and extraction with provenance.
/research-synthesisReconciles collected sources into a state-of-the-art map, a literature matrix and a research-gap statement.
/research-proposalTurns a research gap and theoretical framework into a fundable proposal: SMART aims, feasibility, risk register with contingencies, impact pathway, data …
/research-designTurns a synthesized research gap into testable predictions, a study design and a frozen preregistration.
/research-experimentRuns the preregistered study protocol and records raw data with provenance: experiment log, data, and reproducibility manifest (environment, seed, version …
/research-analysisRuns the preregistered statistical analysis on collected data: effect sizes with confidence intervals, multiple-comparison correction, robustness checks, …
/research-paperAssembles a paper draft from the synthesis, study design, and analysis, with every citation checked to resolve.
/research-reviewHostile peer review of a paper, from a research suite or a supplied PDF or text: scores novelty, rigor, reproducibility, ethics; ranks revisions.
/research-publishBuilds the venue submission package for a reviewed paper: template formatting, cover letter, data and code availability statement, ethics and conflict …
/research-disseminatePlans post-acceptance dissemination and impact: preprint announcement, FAIR data and code archive, altmetrics tracking, rebuttal loop.
/auditSweeps a repository across all eleven review dimensions in one multi-agent run and returns one verified, severity-ranked report; it never fixes anything.
/a11y-auditAudits rendered pages of a web surface against WCAG 2.2 AA and reports severity-ranked findings per page, without fixing anything.
/architecture-reviewReviews a repository against its design document and layer rules, reporting boundary violations, coupling and wiring gaps as ranked findings.
/code-auditCross-file forensic audit: hidden coupling, type-hint gaps, coverage holes, dead and duplicate code.
/code-reviewReviews source files one at a time for readability, naming, complexity, idiom fit and comment quality, and reports severity-ranked findings without editing.
/dependency-auditAudits direct and transitive dependencies for known vulnerabilities, license conflicts, deprecation and loose pins, ranking findings per dependency.
/docs-reviewReviews documentation pages for prose clarity, broken links, code-block tags, citations and public-API coverage, reporting severity-ranked findings per page.
/perf-auditAudits an Apothem installation's per-class budgets (hooks, ecosystem verification, conformity gate, tests, agents, shell, lint) with its benchmark drivers, …
/security-auditAudits a repository's security posture: secrets, injection, unsafe deserialization, path traversal, vulnerable dependencies.
/supply-chain-auditAudits a repository's release pipeline: build provenance, artifact signing, SBOM completeness, pinned CI actions and minimum permissions.
/threat-model-auditThreat-models a repository with STRIDE per element and trust boundaries, classifying actors and rating residual risk.
/ux-reviewReviews a repository's developer experience from a first-time user's view: CLI ergonomics, error messages, install flow and docs discoverability.
/fortressHardens a repository end to end: runs the audit sweep, verifies each finding, remediates survivors through the surgical-guard, secret-rotation and vuln-triage …
/elevateWhole-repository elevation: runs the audit sweep, then critiques naming, structure, storytelling and extensibility, remediates what it finds (deletions are …
/evalRuns one evaluation campaign for a language model or prompt: scores each output over a dataset and reports metrics by category plus regressions against a …
/freshifyUse when a repository must be made fresh and release-clean: purges caches and stale artifacts, removes legacy narrative and back-references, normalizes file …
/github-deploy-freshUse when a GitHub repository needs one clean first release on origin/main: a single v0.1.0 release commit, green workflow cards, a first-version changelog, and …
/github-deploy-nextUse to run the next release cycle on a GitHub repository: merge ready pull requests, resolve the issues the release addresses, derive the SemVer bump from …
/projectifyBuilds the Description, Instruction and knowledge files for a chat-app Project or custom assistant through guided questions, within the platform's context …
/release-readinessPre-release gate sweep: use before shipping a repository to check lint, format, types, tests, dependency and supply-chain risk, visibility surfaces, changelog …
/test-suiteAuthors and runs behavior-first tests for a repository, triages failures and reports coverage gaps on critical paths.
/workflowUse to run a non-trivial mission as an independent multi-agent workflow: parallel subagents under named return contracts, refute-by-default verification of …

On this page