원클릭으로
swarm-observability
Tracing, metrics, derive macros, and error context. Use when adding observability or improving developer experience.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Tracing, metrics, derive macros, and error context. Use when adding observability or improving developer experience.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | swarm-observability |
| description | Tracing, metrics, derive macros, and error context. Use when adding observability or improving developer experience. |
Cargo.toml#[instrument]#[source] and contexttracing-subscriber fmt or json outputuse tracing::{instrument, info, debug};
#[instrument(skip(self))]
pub async fn inject_concept(&self, id: String, vector: HVec10240) -> Result<()> {
debug!(concept_id = %id, "injecting concept");
// ... operation
info!(concept_id = %id, "concept injected");
Ok(())
}
use metrics::{counter, histogram, gauge};
pub async fn probe(&self, query: HVec10240, top_k: usize) -> Result<Vec<(String, f32)>> {
let start = Instant::now();
counter!("probe_requests_total").increment(1);
let results = // ... search
histogram!("probe_latency_ms").record(start.elapsed().as_millis() as f64);
gauge!("concept_count").set(self.singularity.len() as f64);
Ok(results)
}
Derive macros were removed after discovery of zero usage. Use ConceptBuilder directly:
// Instead of #[derive(Concept)]:
let concept = ConceptBuilder::new("id")
.with_vector(HVec10240::random())
.build()?;
#[derive(Error, Debug)]
pub enum MemoryError {
#[error("Concept '{concept_id}' not found")]
ConceptNotFound { concept_id: String },
#[error("Database error: {message}")]
Database {
message: String,
#[source]
source: Option<Box<dyn Error>>,
},
}
All files must remain ≤ 500 lines. Proc-macro crate counts separately.
GOAP-based orchestrator for managing GitHub issues, creating action plans, and executing workspace operations with branch/PR workflow.
Configure and troubleshoot npm OIDC Trusted Publishing for GitHub Actions. Use when npm publish fails with E404, OIDC errors, or provenance issues.
GitHub release management, crates.io trusted publishing, npm provenance, and GitHub Pages documentation. Use when creating releases, publishing packages, or deploying docs.
Git commit conventions, validation gates, and CI/CD workflows. Use when committing changes, verifying gates, or working with GitHub Actions.
Validate merge readiness with atomic commits and GitHub Actions checks using gh CLI; use for pre-merge verification and CI truth validation.
Apply TRIZ inventive principles to solve problems that seem to have no good solution. Use after triz-analysis has identified contradictions.